Calling a Webservice from VBA using SOAP

后端 未结 2 1053
臣服心动
臣服心动 2020-12-15 12:16

I\'m trying to call a web service in an Excel Macro:

Set objHTTP = New MSXML.XMLHTTPRequest
objHTTP.Open \"post\", \"https://www.server.com/EIDEServer/EIDESe         


        
相关标签:
2条回答
  • 2020-12-15 12:51

    looks more like you're using xml-rpc instead of soap. interact with the webservice using the soap type library at : http://msdn.microsoft.com/en-us/library/aa192537(office.11).aspx, or the one that corresponds with your ms office version

    0 讨论(0)
  • 2020-12-15 12:57

    You SOAP action should also include namespace of the method e.g.

    "http://tempri.org/PutSchedule"
    

    Find out what the namespace of your Service and add it in front of the method name PutSchedule.

    0 讨论(0)
提交回复
热议问题