Set SoapClient = New SoapClient30
Call
SoapClient.MSSoapInit("http://User:P...@site.com/MyService.asmx?wsdl")
SoapClient.ClientProperty("ServerHTTPRequest") = True
call SoapClient.SubmitJob("My Job Data")
This works fine on localhost and I get expected result. But when I run
it on server I get error when I call a function and not when I execute
MSSoapInit line.
I have installed SOAP toolkit 3.0 on server and on local machine. Both
are W2K machines.
The error is as follows:
Connector error '800a1527'
Connector:Connection time out. HRESULT=0x800A1527 - Client:An
unanticipated error occurred during the processing of this request.
HRESULT=0x800A1527 - Client:Sending the Soap message failed or no
recognizable response was received HRESULT=0x800A1527 -
Client:Unspecified client error. HRESULT=0x800A1527
Can anyone help me please?
Try the code:
If (USEPROXY) Then
oSoapClient.ConnectorProperty("ProxyUser") = ProxyUserName
oSoapClient.ConnectorProperty("ProxyPassword") = ProxyPassword
oSoapClient.ConnectorProperty("ProxyServer") = ProxyHost
Else ' local_machine
oSoapClient.ConnectorProperty("ProxyServer") = "<CURRENT_USER>"
End If
Firstly you may need to run proxycfg.exe -u
See KB 289481 - INFO: You May Need to Run ProxyCfg Utility for
ServerXMLHTTP to Work.