Re: CF page calling a Webservice that returns a complex structure

2007-07-30 Thread Archie Campbell
Dave Watts wrote: While the website looks modern the most recent download is 1999 and the last news item in 2001 talks about the new site openwddx.org opening. So ... is this an old technology that is begin replaced by a more mature XML environment? Yes, it's quite old - it dates

Re: CF page calling a Webservice that returns a complex structure

2007-07-29 Thread James Holmes
We should, these days, add JSON to the mix. While not XML, it's rapidly becoming the format of choice for AJAX. On 7/29/07, Dave Watts wrote: While the website looks modern the most recent download is 1999 and the last news item in 2001 talks about the new site openwddx.org opening. So

Re: CF page calling a Webservice that returns a complex structure

2007-07-28 Thread Archie Campbell
Dave Watts wrote: Does that mean that the guy at the other end must be CF so that it can use the CFWDDX tag to deserialize it, or ... No, WDDX is just an XML language, so it can be deserialized by other programs. There are (or were at least) WDDX libraries for several languages,

RE: CF page calling a Webservice that returns a complex structure

2007-07-28 Thread Dave Watts
While the website looks modern the most recent download is 1999 and the last news item in 2001 talks about the new site openwddx.org opening. So ... is this an old technology that is begin replaced by a more mature XML environment? Yes, it's quite old - it dates from the CF 4 timeframe. I

Re: CF page calling a Webservice that returns a complex structure

2007-07-27 Thread Archie Campbell
Maybe I am posting on the wrong forum. Is that a better one to use? Thanks Archie Archie Campbell wrote: I am finding this task uncharacteristically difficult to do with Cold Fusion. I suspect there is an easier way, I just cant think of it. Here is the situation. There is an external

RE: CF page calling a Webservice that returns a complex structure

2007-07-27 Thread Brad Wood
No, this forum should be find... Hmm, first of all, it appears you are accepting an XML document, which you are painstakingly converting to a struct (not sure how), and then you want to turn it right back into XML again? Are you receiving in a string variable which you run through xmlparse to

RE: CF page calling a Webservice that returns a complex structure

2007-07-27 Thread Chad Gray
You say that the web service returns XML, why don't you work the XML with CF's XML functions? Do a CFDump on what they send and see what it is. If it is XML you will probably need to run XMLParse() on it to turn it into a CF XML object. Then run CFDump on it. The CF documentation has some

RE: CF page calling a Webservice that returns a complex structure

2007-07-27 Thread Dave Watts
Maybe I am posting on the wrong forum. Is that a better one to use? No, it's just that long, complex questions may not be as easily answered as short questions. Fortunately for me, your question isn't actually that complicated, if I understand you correctly. After I had the struct I thought I

Re: CF page calling a Webservice that returns a complex structure

2007-07-27 Thread Archie Campbell
Dave Watts wrote: Maybe I am posting on the wrong forum. Is that a better one to use? No, it's just that long, complex questions may not be as easily answered as short questions. Fortunately for me, your question isn't actually that complicated, if I understand you correctly.

RE: CF page calling a Webservice that returns a complex structure

2007-07-27 Thread Dave Watts
Does that mean that the guy at the other end must be CF so that it can use the CFWDDX tag to deserialize it, or ... No, WDDX is just an XML language, so it can be deserialized by other programs. There are (or were at least) WDDX libraries for several languages, available at openwddx.org, if I