Skip to content

Instantly share code, notes, and snippets.

//Ivan's StringProcessor web service.
package stringProcessor;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Marshaller;
import javax.xml.bind.Unmarshaller;
import javax.xml.bind.util.JAXBSource;
<?xml version="1.0" encoding="UTF-8"?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.6 in JDK 6. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.6 in JDK 6. --><definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://hello/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://hello/" name="HelloService">
<types>
<xsd:schema>
<xsd:import namespace="http://hello/" schemaLocation="http://localhost:8080/expImp?xsd=1"></xsd:import>
</xsd:schema>
</types>
<message name="increase">
<part name="parameters" element="tns:increaseReq"></part>
</message>
<message name="increaseResponse">