Hi,
Am 03.12.2013 14:22, schrieb Georg Walther:
Hello,
I am writing in javascript and want to exchange data with the OXID ERP
module.
In the first step I want to get a session ID:
[...]
var url =
'http://_mydomain_/modules/erp/oxerpservice.php?wsdl&version=2.11.0'
<http://_mydomain_/modules/erp/oxerpservice.php?wsdl&version=2.11.0%27>;
[...]
then
[...]
header['Content-Type'] = 'text/xml; charset=utf-8';
header['sUserName'] = '_username_;
header['sPassword'] = '_passwort';
header['iShopID'] = '1';
header['iLanguage'] = '1';
[...]
Response is:
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>Bad
Request</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
does anyone know how to set the parameters for logging in correctly?
You can analysis the request with nc.
http://linux.die.net/man/1/nc
Regards, Robin
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general