Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SOAP Headers
Message
De
03/08/2005 02:53:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01037437
Message ID:
01038049
Vues:
28
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform