Just FYI - you can do the "ArrayOf_Counties" thing, just not when your
messages are SOAP encoded. You would need to define the array in XML schema,
and use literal rather than encoded messages. You're still using SOAP as
transport, but passing "literal" XML around rather than encoded messages. Of
course this affects the way the service implementation would behave and the
WSDL as well, so you'd have to re-structure everything to do it in this
case.

Not really any help here, just thought you might like to know...

Sean, I'm glad I'm not the only one puzzled! Even if it tries to deserialize
the returned object array, it does generate a class for County, so it
_seems_ like it should work. Maddening...

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Davis, Eric
> Sent: Wednesday, March 31, 2004 3:58 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [CFCDev] Webservice - Axis deserializer error
> 
> Yeah, I don't know.
> 
> I'm just trying to help my co-worker figure this out; I have 
> very little experience consuming webservices in CF. 
> 
> Apparently, that ArrayOf_Counties idea is a no-go, as it's 
> not a supported type in SOAP. Seems odd to me that you can't 
> define a type to return when you can define so many other 
> custom properties &c. Oh, well, it was just a thought anyway.
> 
> I'll try and get the Java method code from him.
> 
> --
> Eric C. Davis
> Programmer/Analyst II
> Georgia Department of Transportation
> Office of I.T. Applications
> Web Applications Group
> 404.463.2860.199
> [EMAIL PROTECTED]
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Sean A Corfield
> Sent: Wednesday, March 31, 2004 3:48 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [CFCDev] Webservice - Axis deserializer error
> 
> 
> On Mar 31, 2004, at 11:10 AM, Davis, Eric wrote:
> > Would spelling out an ArrayOf_Counties complexType 
> definition help, do
> > you think?
> 
> OK, now I'm puzzled. Your WSDL defines a method getCounties() 
> which, in 
> Java, looks like this:
> 
>      public java.lang.Object[] getCounties() throws 
> java.rmi.RemoteException;
> 
> What does the underlying Java code really look like?
> 
> I guess I'm having a hard time figuring out why CF would be trying to 
> deserialize County given the method signature in the stub...
> 
> Regards,
> Sean
> 
> ----------------------------------------------------------
> 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]
> ----------------------------------------------------------
> 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]
> 

----------------------------------------------------------
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