Hi
I need to write a make a
SOAP client call from javascript.
Here is the code that I need to write in javascript:
URL url = new URL (stringURL);
SOAPMappingRegistry smr = new SOAPMappingRegistry();
Call call = new Call();
call.setSOAPMappingRegistry(smr);
call.setTargetObjectURI("<>");
call.setMethodName(operacion);
call.setEncodingStyleURI(encodingStyleURI);
SOAPHTTPConnection hc = new SOAPHTTPConnection();
hc.setProxyPort(8080);
hc.setTimeout(Integer.parseInt(timeout));
call.setSOAPTransport(hc);
Vector params = new Vector();
params.addElement(new Parameter("", String.class, peticion, null));
call.setParams(params);
Response resp=null;
resp = call.invoke(url, "");
Can anyone help on this?