I’m trying to add products to my CA account through their web service but I’m having difficulties in doing it using clover. I tried adding my products through soapui and it went through. I copied the request from soapui and put it in my web service client compenent but it’s not adding the product. Instead I get an error from the server that “No items were specified”. Is clover somehow changing my request structure? Here’s a sample request that worked in soapui and doesn’t work in clover:
yes, WebServiceClient is enveloping your request. Your request coming by edge should contain just part inside “soapenv:Body”. If you want to send whole request, use HttpConnector.
That’s what I thought at first that the webservice component might be enveloping my request but I’m confused as to why another method works using the same structure. The request is like this:
As you can see it has this <soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:web=“http://api.channeladvisor.com/webservices/”> line and its giving me a valid xml response. I also tried using the http component by using this request and all I get is an empty document. My request method is post and my additional http header properties is application/soap+xml.
I’m really new at this and I’m lost. Is there a way to configure the DeveloperKey and the Password on the webservice component itself and not on the request structure so that all I’ll have to put on the request structure is the body? For example, would it work if I’d place the DeveloperKey on the username field and the pw on the password field on the advanced section?