PDA

View Full Version : SOAP Error


cp76
02-09-08, 11:54
Hi,
I am trying to use the web service API to return details for various products, however i'm getting an error in the SOAP response. I am sending this header:

<headers><ns0:UserAuthentication xmlns:ns0="http://api.productserve.com/"><iId>userid</iId><sPassword>hashpassword</sPassword><sType>affiliate</sType></ns0:UserAuthentication><ns0:getQuota xmlns:ns0="http://api.productserve.com/">true</ns0:getQuota></headers>

and this is the SOAP response:

<SOAP-ENV:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP-ENV:Server</faultcode><faultstring>SOAP-ERROR: Encoding: Violation of encoding rules</faultstring></SOAP-ENV:Fault>

Has anyone got any idea what this error could be its driving me mad!!
Thanks
CP