Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with an object returned from a web service
Message
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00982423
Message ID:
00982607
Views:
16
Hi,
dDate = date()
oFIPS = oSSTP.GetFIPSBy5ZipOnly(66612,dDate)

FOR i = 0 TO oFIPS.length-1
	WITH oFIPS.item(i)
		? .nodeName, ":", .text
	ENDWITH
ENDFOR
Try using .XML instead of .text - it will be easier to see what you're getting. According to the WSDL the 7th item is an array of 'TFIPSRecord' so you need to iterate through its childnodes e.g:
FOR x = 0 TO oFips.Item(6).Childnodes.length-1
  ? oFips.Item(6).Childnodes(x).xml
ENDFOR
But the content doesn't seem to match the specs?
HTH,
Viv
Previous
Reply
Map
View

Click here to load this message in the networking platform