angular-soap
angular-soap copied to clipboard
Sending Wrong xml Request Namespace Format
Angularjs SOAP is supppose to send the request xml in this format
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://services.webclient.transflow.dialect.com.gh"> <soapenv:Header/> <soapenv:Body> <ser:getTrans> <ser:dlimit>10</ser:dlimit> <ser:username>xxxx</ser:username> <ser:password>xxxx</ser:password> </ser:getTrans> </soapenv:Body>
But it is rather sending it in this format
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<getTrans xmlns="http://services.webclient.transflow.dialect.com.gh">
<username>xxxx</username>
<password>xxxx</password>
<dlimit>10</dlimit>
</getTrans>
</soap:Body>
</soap:Envelope>
I wil be glad if anyone can help me resolve this thank you..
I forked one of the other forks and added just that feature. You might want to take a look at it: https://github.com/JanPretzel/angular-soap
Hope this helps!