Todd,

It really depends. Because of varying implementation w/the SOAP protocol
between vendors, there are often issues when trying to share complex
data structures (queries, structures, etc) between platforms. Because of
this, using an XML packet passed as a string is usually the easiest way
around these issues.

If your solution is in a controlled environment, then transferring the
data object as an XML packet may not be necessary. You could also offer
both methods of retrieval, once as a native SOAP data types, the other
as a string w/all the data in an XML packet.

-Dan 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 02, 2002 8:02 AM
> To: CF-Talk
> Subject: Clarification needed -- WebServices (Part II)
> 
> A forum user needed help and I hadn't messed with web services til
this
> past friday.  I think she's squared away, but now I'm curious as I've
had
> another person email me and tell me that I'll run the risk of having
to
> parse the xml twice.
> 
> So, here's the scenario...  the forum user was wanting to use <cfxml>
> inside a CFC (which, she accomplished with no problems) -- however,
she
> wanted the WSDL to return the XML Packet she just created.  From what
I'm
> understanding, that XML packet is now contained within yet another XML
> Packet (SOAP's?) and she shouldn't build it like that.
> 
> Is this the correct assumption?  Would she even bother to make it a
> webservice at this point?  Or, should she really be returning a
structure
> / array / query, etc..?
> 
> Thanks,
> ~Todd
> 
> --
> ============================================================
> Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ |
>         Team Macromedia Volunteer for ColdFusion           |
> http://www.macromedia.com/support/forums/team_macromedia/  |
> http://www.flashCFM.com/   - webRat (Moderator)            |
> http://www.ultrashock.com/ - webRat (Back-end Moderator)   |
> ============================================================
> 
> 
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to