Hi
I'm struggling to utilise Web Services from VBA. I have a number of starting points, the furthest of which gets to:
The security requirements are not satisfied because the security header is not present in the incoing message
This is acheived with the following extract:
'Define Services
Dim PartService
Set PartService = CreateObject("MSSOAP.SoapClient30")
c_WSDL_URL = RegKeyRead("HKEY_CURRENT_USER\Software\WebServices\WSDL\PartService")
PartService.MSSoapInit c_WSDL_URL
I've also tried MS SOAP Toolkit 3, though this causes a huge number of problems as detailed
here . The function
here seems to have the start of something too.
Nothing I have found seems to be capable of using complex types, or providing authentication credentials. In vb.net you can do the whole thing in a few lines, but I need this in VBA to plug into a CAD application.
All I really want is to be able to say:
WebServiceWSDL = x
WebServiceMethod = y
Input = z<br/>
Output = returnedXML
And Input will eventually need to be able to pass a complex type (a schema), though it'd eb nice to get anything working to start with.
I've
uploaded the WSDL , incase I have missed anything.
Thanks