>>>>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