Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SOAP Headers
Message
 
To
03/08/2005 02:53:32
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01037437
Message ID:
01038260
Views:
17
thomas,

thank you for the response. I have tried using the connector properties with the web services I am trying to access. It doesn't seem to work. I am currently trying some lower-level stuff using the MSSOAP.SoapClient30. I am using the IHeaderHandler to try and create the required credentials in the SOAP Header. The Web Service is returning a failure and saying that I am submitting blank credentials.

Can I send you the code I am currently using ? (It's a couple of lines, so I didn't want to try and include it here).


(BTW, the EndpointURL property is not valid when I try it. Not sure why not.)


>Hi Rick,
>
>>I am trying to access a Web Service that requires credentials to be supplied in the SOAP header. Question is, now that I know this from reading the SOAP Toolkit help, how to I get VFP to provide the info in a SOAP Header when calling the Web Service method ?
>
>We put basic auth into web services like
loC = Createobject("MSSOAP.SoapClient30")
>loC = MsSoapInit("Wahtever")
>loC.ConnectorProperty ("EndpointURL") = "https:..."
>loC.ConnectorProperty ("AuthUser") = "user"
>loC.ConnectorProperty ("AuthPassword") = "pwd"
>loC.CallMyServerFunc(paramerterlist)
>but I am not sure if this will put it into the SOAP header or be sent another way - one of the bad things in group programming is that you don't research yourself<g>. Try/Read up and post the results
>
>HTH
>
>thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform