We have a web service with Execute ACL set to a particular group. We have created an access-controlled SOAP processor wrapper per Chapter 7 (pg. 80) of the webMethods SOAP Developer’s Guide. We are trying to initialize the service with the following VBscript code:
Dim soapClient as object = createobject(“MSSoap.SoapClient30”)
soapClient.ClientProperty(“ServerHTTPRequest”)=True
soapClient.mssoapinit(“[URL=“http://155.777.88.16:6666/WERCS”][COLOR=#0000ff]http://155.777.88.16:6666/WERCS[/color][/URL]”)
soapClient.ConnectorProperty(“AuthName”) = “user”
soapClient.ConnectorProperty(“AuthPassword”) = “pwd”
soapClient.send(sXML)
where “WERCS” is the processor’s process directive.
I realize that our syntax must be incorrect and that we are missing something. I came across a post on another site where an XML file is being passed in the init line like soapClient.mssoapinit(“[URL=“http://155.777.88.16:6666/WERCS/process.xml”][COLOR=#0000ff]http://155.777.88.16:6666/WERCS/process.xml[/color][/URL]”).
Anyway, at this point we receive the following error:
WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: The download of the specified resource has failed.
HRESULT=0x1: Incorrect function.
- WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057: The parameter is incorrect.
- Client:One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect.
Calling the original web service with Anonymous access set with the following code works as expected:
Dim soapClient as object = createobject(“MSSoap.SoapClient30”)
soapClient.ClientProperty(“ServerHTTPRequest”)=True
soapClient.mssoapinit(“[URL=“http://155.777.88.16/WERCS_Main.wsdl”][COLOR=#0000ff]http://155.777.88.16/WERCS_Main.wsdl[/color][/URL]”)
soapClient.Main(sXML)
Any insight would be greatly appreciated. Thanks!
-Chris-
#soa#webMethods#API-Management