Magento Java Soap invalid XML response -
i writing on soap client magento using apache cxf. far works fine creating products changing categories, updating products etc. works here on local machine or magento installation in local network.
so set magento shop on server in net. calls api worked except one, creation of products media.
this response server.
<soap-env:envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"> <soap-env:body> <soap-env:fault> <faultcode>sender</faultcode> <faultstring>invalid xml</faultstring> </soap-env:fault> </soap-env:body> </soap-env:envelope>
maybe can me this.
thanks in advance...
fritz
i had same issue. fixed me making call https have .htaccess rewrite forces traffic on ssl.
if doing rewriting urls https, in code, change url
$proxy = new soapclient('http://example.com/api/v2_soap/?wsdl');
to
$proxy = new soapclient('https://example.com/api/v2_soap/?wsdl');
Comments
Post a Comment