angular-soap icon indicating copy to clipboard operation
angular-soap copied to clipboard

Sending Wrong xml Request Namespace Format

Open philecom opened this issue 8 years ago • 1 comments

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..

philecom avatar Nov 25 '16 16:11 philecom

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!

JanPretzel avatar Dec 12 '16 16:12 JanPretzel