[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Welcome to the "Ftpapi" mailing list (Digest mode)
Hi Scott
WSWS3047E: Error: Cannot deserialize element SString of bean
iseries.wsbeans.teststring.TESTSTRINGInput. To see the message containing
the parsing error in the log, either enable web service engine tracing or
set MessageContext.setHighFidelity(true).
I am using HTTPI trying to call this service from my as/400. The service
runs on another ISeries box and was created using WDSC. Please help. What am
I doing wrong here?
MY RPG app as the following declaration:
soap=
'<?xml version="1.0" encoding="utf-8"?> '
+'<soap:Envelope '
+' xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" '
+' xmlns:q0="http://getstring.wsbeans.iseries" '
+' xmlns:xsd="http://www.w3.org/2001/XMLSchema" '
+' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> '
+'<soap:Body> '
+'<q0:teststring_XML> '
+'<q0:iputData><q0:SSTRING>DD</q0:SSTRING></q0:inputData> '
+'</q0:teststring_XML> '
+' </soap:Body> '
+' </soap:Envelope>' ;
WSDL of the service looks lke this:
soap=<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://teststring.wsbeans.iseries"
xmlns:impl="http://teststring.wsbeans.iseries"
xmlns:intf="http://teststring.wsbeans.iseries"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<schema targetNamespace="http://teststring.wsbeans.iseries"
xmlns="http://www.w3.org/2001/XMLSchema">
<complexType name="teststringInput">
<sequence>
<element name="SSTRING" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
<element name="teststring_XMLResponse">
<complexType>
<sequence>
<element name="teststring_XMLReturn" nillable="true"
type="xsd:string"/>
</sequence>
</complexType>
</element>
<element name="teststring">
<complexType>
<sequence>
<element name="inputData" nillable="true"
type="impl:teststringInput"/>
</sequence>
</complexType>
</element>
<element name="teststringResponse">
<complexType>
<sequence>
<element name="teststringReturn" nillable="true"
type="impl:teststringResult"/>
</sequence>
</complexType>
</element>
<element name="teststring_XML">
<complexType>
<sequence>
<element name="inputData" nillable="true"
type="impl:teststringInput"/>
</sequence>
</complexType>
</element>
<complexType name="teststringResult">
<sequence>
<element name="SSTRING" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="teststringRequest">
<wsdl:part element="impl:teststring" name="parameters"/>
</wsdl:message>
<wsdl:message name="teststring_XMLRequest">
<wsdl:part element="impl:teststring_XML" name="parameters"/>
</wsdl:message>
<wsdl:message name="teststring_XMLResponse">
<wsdl:part element="impl:teststring_XMLResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="teststringResponse">
<wsdl:part element="impl:teststringResponse" name="parameters"/>
</wsdl:message>
<wsdl:portType name="teststringServices">
<wsdl:operation name="teststring_XML">
<wsdl:input message="impl:teststring_XMLRequest"
name="teststring_XMLRequest"/>
<wsdl:output message="impl:teststring_XMLResponse"
name="teststring_XMLResponse"/>
</wsdl:operation>
<wsdl:operation name="teststring">
<wsdl:input message="impl:teststringRequest"
name="teststringRequest"/>
<wsdl:output message="impl:teststringResponse"
name="teststringResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="teststringServicesSoapBinding"
type="impl:teststringServices">
<wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="teststring_XML">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="teststring_XMLRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="teststring_XMLResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="teststring">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="teststringRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="teststringResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="teststringServicesService">
<wsdl:port binding="impl:teststringServicesSoapBinding"
name="teststringServices">
<wsdlsoap:address
location="http://test1.uop.com:9080/t1/services/teststringServices"/>
</wsdl:port>
</wsdl:service>
Regards
Eclipse
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------