Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a web service with username and password
Message
From
19/12/2006 13:53:02
 
 
To
19/12/2006 10:38:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
01178809
Message ID:
01178937
Views:
26
Hi,

Try:
oWS.MSSoapInit("http://43000210000:43000210000@test.sgk.gov.tr/saglikws/services/ProvizyonIslemleri/wsdl/ProvizyonIslemleri.wsdl")
ows.ConnectorProperty("AuthUser")="43000210000"
ows.ConnectorProperty("AuthPassword")="43000210000"
>>>>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.
>
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform