Yea, I know all that already.  What I don't get is why should I use cfinvoke
on a webservice which returns the object and I have to go through extra
steps to get at the inside xml when I can do a cfhttp post and get the xml
back right away?


Russ
> -----Original Message-----
> From: Michael Traher [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 24, 2006 12:47 PM
> To: CF-Talk
> Subject: Re: getting response back from a webservice
> 
> I agree with Jacob try something like
> 
> <cfset myxmldoc = xmlparse(returnedXML)>
> then you can access the bits you need refereing to it as a structure
> 
> e.g.
> myxmldoc.grandpa.dad.child
> 
> if there are repeating sets of 'child' this will be an array
> 
> so you can loop thru that
> myxmldoc.grandpa.dad.child[i]["childname"].xmltext
> 
> I expect you know all that but when I first did this it took me a while to
> figure it out! :-)
> 
> On 2/24/06, Munson, Jacob <[EMAIL PROTECTED]> wrote:
> >
> >
> > Parsing the XML isn't that bad.  I'd go that route before spending too
> > much time getting the object to work.
> >
> >
> --
> Mike T
> Blog http://www.socialpoints.com/
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233398
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to