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 10:38:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
19/12/2006 10:16:03
Ali Ihsan Turkoolu
Galaksi Bilgisayar A.Þ.
Ankara, Turkey
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
01178809
Message ID:
01178865
Views:
30
>>>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform