CF structs should be passed as SOAP Maps, which the consuming end
should be able to decode into a native map (or whatever).  I have no
idea how reliable this is, but I had a lot of issues consuming CF
services with .NET when I was trying a [long] while ago.

Some complex data (like queries) don't have a SOAP equivalent, so if
you've got a non-CF consumer, you'll have to pass strings and take
care of serialization/deserialization outside the actual web service
method call.

cheers,
barneyb

On 11/4/05, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
> Hey All,
>
> OK...I'm having a bit of difficulty understanding some web service related 
> XML issues...so perhaps someone can shed some light....
>
> AFAIK all web services communicate via XML (i.e. the request and response are 
> sent via XML).
>
> The response will contain the data returned and that data type and structure 
> is defined  as part of the XML response.
>
> So is it safe to say that a structure returned from a CF web service 
> (returntype="struct") is sent to the consumer of the web service (say .NET) 
> as and XML serialized stucture that is standards compliant XML?  OR (and 
> here's where I get confused) to pass standard XML to the consumer should I 
> searilaize the structure into XML and have a returntype of string or XML?
>
> Did that make sense?
>
> Any insight would be great....and ask away if I'm not making myself clear ;-)
>
> Cheers
>
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> phone: 250.480.0642
> fax: 250.480.1264
> cell: 250.920.8830
> e-mail: [EMAIL PROTECTED]
> web: www.electricedgesystems.com
>

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223294
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to