Jim wrote:
Hello,
I have a Web Service that was written in Java. This service returns a
POJO (a plain old java object) with three Strings and associated get and
set methods.
I've been able to register this service with no problems using the
intellisense manager in VFP 7, but when I try to set a variable equal to
the return value of the Web Service I get nothing back that I can
see/use in the debugger.
This is what I have so far:
LOCAL oWS AS Biorhythm
LOCAL loWS
loWS = NEWOBJECT("Wsclient",HOME()+"ffc\_webservices.vcx")
loWS.cWSName = "Biorhythm"
oWS =
loWS.SetupClient("http://www.hurricanetechnology.net/services/BiorhythmService?wsdl",;
"BiorhythmService", "BiorhythmServiceHttpPort")
results = oWS.getBiorhythms ("1978-12-18") && returns nothing.
Hi Jim,
I was able to get results using the soap client in VFP6
soap = CREATEOBJECT("mssoap.soapclient30")
soap.MSSoapInit("http://www.hurricanetechnology.net/services/BiorhythmService?wsdl")
results = soap.getBiorhythms("1978-12-18")
? results.item[0].ownerDocument.xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><getBiorhythmsResponse
xmlns="http://Biorhythm.hurricanetechnology.net"><out
xmlns="http://Biorhythm.hurricanetechnology.net"><emoitionalCriticalDay>false</emoitionalCriticalDay>
<emotional>-41</emotional><intellectual>-64</intellectual><intellectualCriticalDay>false</intellectualCriticalDay>
<physical>50</physical><physicalCriticalDay>false</physicalCriticalDay></out></getBiorhythmsResponse></soap:Body>
</soap:Envelope>
Casey
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.