Thanks u guys, very helpful.

Stace

-----Original Message-----
From: Samuel R. Neff [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 8:35 PM
To: [EMAIL PROTECTED]
Subject: RE: [CFCDev] Achieving max compatibility for Web Service


A ColdFusion array is not very compatible.  The problem is CF provides
no
mechanism to type arrays so it will always be an array of anything.  To
interoperate with other languages you usually need to specify what it's
an
array of.  I've had no problems with arrays of scalars but never with
array
of struct or array of components.

We need typed arrays as web service returnTypes:
http://www.macromedia.com/go/wish

As far as complex type, Matt is completely correct about using CFC value
objects instead of structs.  They provide for real typed WSDLs instead
of
just key/value pairs where the values are anything.

HTH,

Sam


-----------------------------------------------
Blog: http://www.rewindlife.com
Charts: http://www.blinex.com/products/charting
-----------------------------------------------



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Stacy Young
> Sent: Thursday, February 05, 2004 8:01 PM
> To: [EMAIL PROTECTED]
> Subject: [CFCDev] Achieving max compatibility for Web Service
>
>
> Hi folks,
>
> I'm putting together a web service that will pipe out reporting data.
> For compatibility reasons I'm converting the query to an
> Array of structs...but I've been wondering if it'd be worth
> it to convert the data to an Array of objects. (so I can use
> cfproperty to enhance the descriptiveness of the WSDL)
>
> Some of these recordsets may be large. Upwards of 5,000 -
> 10,000 records. Curious to hear what folks think...would it
> make more sense to just hack the WSDL itself?...and can that
> be done reliably without busting the service?
>
> -Stace


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]



AVIS IMPORTANT:
-------------------------------
Les informations contenues dans le present document et ses pieces jointes sont 
strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il 
est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, 
distribution, copie, ou autre utilisation de ces informations est strictement 
prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait 
communiquer immediatement avec l'expediteur et detruire ce document sans en faire de 
copie sous quelque forme.

WARNING:
-------------------------------
The information contained in this document and attachments is confidential and 
intended only for the person(s) named above. If you are not the intended recipient you 
are hereby notified that any disclosure, copying, distribution, or any other use of 
the information is strictly prohibited. If you have received this document by mistake, 
please notify the sender immediately and destroy this document and attachments without 
making any copy of any kind.

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to