I have to correct myself.  Of course, Mik, I can convert the structure to XML, 
which is then passed as a string to the remote server.  That string would then 
have to be re-serialized to an XML doc before they can do anything with it.  
I'm investigating whether this makes sense.

> Thanks for the reply.
> 
> I don't know anything about that UDF, but I don't think I want to go 
> that route, simply because XML processing can be slow, and if I have 
> to convert every struct to an XML format prior to handing it off to 
> the web service engine, that's probably more of a performance hit than 
> I'd like to take.
> 
> But aside from that, I'm betting that wouldn't work anyway.  The web 
> service engine *does* convert the structure into XML before shipping 
> it to the remote server, but the problem is that the XML format is not 
> one that is part of the standard web service formats (as I understand 
> it).  I'm betting structToXml() converts the structure into a format 
> that also isn't part of the standard web service formats.
> 
> I just tried your suggestion, and it does seem to work, but I think 
> I'll probably still avoid it.  Good to know the option exists, though.  
> Thanks, Mik.
> 
> 
> >Couldn't you just do something like this:
> >
> >        <cfreturn StructToXML(myStruct)>
> >
> >Mik
> >
> >
> >At 02:06 PM 3/2/2007, you wrote:
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271365
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to