Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SOAP Headers
Message
From
03/08/2005 02:53:32
 
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:
01038049
Views:
27
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