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

Solved errors with JAVA Web Service

Open zlinker89 opened this issue 7 years ago • 1 comments

1:This code fixes the problem of null parameters

var sr = 
				"<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
				"<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>" +
				"<ns2:" + method + " xmlns:ns2=\"" + ns + "\">" +
				parameters.toXml() +
				"</ns2:" + method + "></soap:Body></soap:Envelope>";

2:received ws-i bp non-conformant unquoted soapaction http

xmlHttp.setRequestHeader("SOAPAction", "\"" + soapaction + "\"");

zlinker89 avatar Mar 02 '17 05:03 zlinker89

It works! thanks a lot

chavaleon avatar Dec 10 '19 17:12 chavaleon