function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Michael SMichael S 

Error from MSSoapInit for either enterprise or partner wsdl.

The following vbscript code fails at the MSSoapInit line with the following error.  any suggestions for using the MSSoap 3.0 library with the 2.5 API?

WSDLOperation: -2147352567
WSDLOperation:The operation login had an invalid parts attribute HRESULT=0x80004005: Unspecified error
 - WSDLOperation:Initializing of the input message failed for operation login HRESULT=0x80004005: Unspecified error
 - WSDLPort:An operation for port Soap could not be initialized HRESULT=0x80004005: Unspecified error
 - WSDLPort:Analyzing the binding information for port Soap failed HRESULT=0x80004005: Unspecified error
 - WSDLService:Initialization of the port for service SforceService failed HRESULT=0x80004005: Unspecified error
 - WSDLReader:Analyzing the WSDL file failed HRESULT=0x80004005: Unspecified error
 - Clientne of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect.

 

Sub Main
 Dim client As New MSSOAPLib30.SoapClient30

 Dim wsdl As String

 wsdl = MacroDir & "\enterprise.wsdl"

 On Error GoTo HandleError

 client.MSSoapInit(wsdl, "SforceService", "Soap")

...

end Sub

needdevhelpneeddevhelp
I am having also having trouble getting the WSDL to initialize with MsSoap 3.0
Has anyone found a solution to this problem?
 
Thanks
SuperfellSuperfell
The MS SOAP Toolkit is dead, i suggest you find an alternative approach (try our Office Toolkit for starters)