I'm trying to create a web service that uses document/literal. I
think the WSDL (attached) is correct, but when test the service I keep
getting an AxisFault containing nothing but
"java.lang.reflect.InvocationTargetException" (a stack trace here
would be nice, but somebody decided to throw it away, I guess).
WSDL attached. I've poked around in the samples and googled for
examples, to no avail - everything I come up with is rpc/encoded.
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ClientIdCrossReference"
targetNamespace="http://www.shps.com/hc/cwn/da/services/clientidcrossreference"
xmlns:tns="http://www.shps.com/hc/cwn/da/services/clientidcrossreference"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd1="http://www.shps.com/xsd">
<!-- types -->
<types>
<xsd:schema targetNamespace="http://www.shps.com/xsd" elementFormDefault="qualified">
<xsd:complexType name="sourceInfoType">
<xsd:sequence>
<xsd:element name="sourceGroupId" type="xsd:string"/>
<xsd:element name="sourceSystemId" type="xsd:int"/>
<xsd:element name="sourceSystemField" type="xsd:string"/>
<xsd:element name="targetSystemId" type="xsd:int"/>
<xsd:element name="targetSystemField" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="sourceInfo" type="xsd1:sourceInfoType"/>
<xsd:element name="targetInfo" type="xsd:string"/>
</xsd:schema>
</types>
<!-- messages -->
<message name="getClientIdCrossReferenceRequest">
<part name="sourceInfo" element="xsd1:sourceInfo" />
</message>
<message name="getClientIdCrossReferenceResponse">
<part name="result" element="xsd1:targetInfo"/>
</message>
<!-- ports -->
<portType name="ClientIdCrossReferencePortType">
<operation name="getClientIdCrossReference">
<input message="tns:getClientIdCrossReferenceRequest"/>
<output message="tns:getClientIdCrossReferenceResponse"/>
</operation>
</portType>
<!-- bindings -->
<binding name="ClientIdCrossReferencePortBinding" type="tns:ClientIdCrossReferencePortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="getClientIdCrossReference">
<soap:operation soapAction="getClientIdCrossReference" style="document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<!-- services -->
<service name="ClientIdCrossReferenceService">
<port binding="tns:ClientIdCrossReferencePortBinding" name="ClientIdCrossReferencePort">
<soap:address
location="http://localhost:8080/axis/services/ClientIdCrossReferencePort"/>
</port>
</service>
</definitions>