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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -