on 05-16-2008 6:01 AM
Hi Experts,
I created a webservice using SAP and imported the wsdl into XMLSpy to run the webservice, upon executing the client code I am getting the following error :
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Body>
<soap-env:Fault>
<faultcode>soap-env:Client</faultcode>
<faultstring xml:lang="en">Deserialisation failed</faultstring>
<detail>
<n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates">
<MainName>/1BCDWB/WSS0080516040549033932</MainName>
<ProgName>/1BCDWB/WSS0080516040549033932</ProgName>
<Line>27 </Line>
<Valid>X</Valid>
<MatchFault>
<DescriptionText>Element 'HpCourseId' expected</DescriptionText>
<TokenType>E</TokenType>
<TokenName>CustomerNumber</TokenName>
<TokenNameSpace/>
<TokenValue/>
</MatchFault>
<Caller>
<Class>CL_SRG_RFC_PROXY_CONTEXT</Class>
<Method>IF_SXML_PART~DECODE</Method>
<Positions>1 </Positions>
</Caller>
</n0:SimpleTransformationFault>
</detail>
</soap-env:Fault>
</soap-env:Body>
</soap-env:Envelope>
Is there anything I can do about this?
Cheers, all help would be greatly appreciated .
Kelvin
Hi,
You are getting a deserialisation error which may be due to some mandataory parameters in response are not filled back to the webservice.
please check your response from RFC back to webservice.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Can you cross-check the WebService Creation starting from the datatype ..Also check the schema validity of the WSDL created.
I think the problem is with some structures.
Also check out all the node and fields of mapping. Probably some of the fields/nodes are not mapped correctly.
Regards, Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have a quick question, if you are using RFC data types, hope you exposed this as an WebService from SAP backend. And imported wsdl ? is it right ? or you have created/imported the RFC into Repository and generated the service ?
Following docs help to cross check the steps you did : https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f...
To find the details of TCP Gateway or to debug the Webservice call: SAP Note: 856597
/people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway
Regards, Moorthy
Hi Kelvin,
The error it will shows, Mapping transformation fault,
check ur data end , is the right data to push it? and take some payload and test the mapping in Repoistery end.
hope u find out the error.
Regards,
Sateesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.