Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a web service with username and password
Message
De
19/12/2006 14:03:14
 
 
À
19/12/2006 10:38:38
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
01178809
Message ID:
01178942
Vues:
28
>>>>How can I send username and password to a web service in vfp9?
>>>>Programatically or from task pane- xml web services?
>>>> Web service is : http://test.sgk.gov.tr/saglikws/services/ProvizyonIslemleri/wsdl/ProvizyonIslemleri.wsdl
>>>>
>>>>username:43000210000
>>>>password:43000210000
>>>>
>>>>Thanks
>>>
>>>
>>>oWS = Createobject("MSSOAP.SoapClient30")
>>>oWS.MSSoapInit("http://test.sgk.gov.tr/saglikws/services/ProvizyonIslemleri/wsdl/ProvizyonIslemleri.wsdl","","")
>>>oWs.ConnectorProperty("ProxyUser") = "43000210000"
>>>oWs.ConnectorProperty("ProxyPassword") = "43000210000"
>>>oResult = oWs.TakipOku( parameters )
>>>
Cetin
>>
>>Mr.Cetin
>>Thanks for your replay,
>>But, I got an error in MSSoapInit line. I think, I send somethings before oWS.MsSoapInit line.

Oops. Sorry - meant to send the reply to Ali. I've copied it to the starting post.....
>
>I don't know then. I just tried and got error on last one (oWs.TakipOku(1)). "Parameter is incorrect". If I knew what the correct parameters would be for test I'd try.
>Cetin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform