Skip to Content
0
Former Member
May 16, 2008 at 05:01 AM

Error in Web service

221 Views

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 :

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>

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