Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with an object returned from a web service
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00982423
Message ID:
00982607
Vues:
15
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform