Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using web service
Message
From
19/11/2020 07:38:41
 
 
To
19/11/2020 05:17:46
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
01676303
Message ID:
01677258
Views:
53
It works :-)! Message is "connectin : true!"

Finally, how to call function GetInsuranceDataF with "lbo" as parameter?
I suppose result is XML file which I can manage with for example
STRTOFILE(lcXML, "aaa.txt")

Thanks in advance.

Zoran,

After the line
SET TEXTMERGE TO "SoapCall.xml"
insert the line
SET TEXTMERGE ON
>Me again :-).
>When I run peace of code you sent to me, error appears
>
>Error:com.ctc.wstx.exc.WstxUnexpectedCharException:Unexpexted
>characters < (code 60) in content after < (malformed star element?).
>at [row, col [unknown-source]]: (6,21]
>
>at line code (messagebox...)
>
>IF m.Nodes.length > 0
> MESSAGEBOX("Error: " + m.Nodes.item(0).selectNodes("faultstring").item(0).text)
> RETURN
>ENDIF
>
>Can you help me? (note: VFP 6)
>Another question is how to (after resolving problem, no doubt of it :-) ) call function GetInsuranceDataF with "lbo" as parameter?
>
>I can't thanks enough to you because this subject is totally new to me.
>
>
>>I finally got username and password. Tried your example and coudn't compile in vfp6. Is there some easiest way to get result from wsdl? Something like
>>
>>o = createobject("MSSoap.SoapClient30")
>>o.mssoapinit("https://webapp2.rzzo.rs/rzzo/RzzoService?wsdl")
>>
>>How to pass username and password to wsdl? When I execute mssoapinit, an error appears about (among other lines :-( ) loading of the wsdl failed.
>>
>>I'm still with zero success in web services area :-).
>
>Zoran,
>
>To port this to VFP6:
>
>a) remove the " AS ..." part of all LOCAL declarations (that is, LOCAL SOAP AS String becomes LOCAL SOAP, and so on)
>
>b) replace the line
>
>
>TEXT TO m.SOAP FLAGS 1 TEXTMERGE
>
>
>with
>
>
>SET TEXTMERGE TO "SoapCall.xml"
>
>TEXT
>
>
>c) replace the line
>
>
>ENDTEXT
>
>
>with
>
>
>ENDTEXT
>
>SET TEXTMERGE TO
>
>m.SOAP = FILETOSTR("SoapCall.xml")
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform