Yeah, I realized that when I saw "did you mean wsdl2java?" on the
results page. Well, of course I did! 

Anyway, Shawn (my co-developer experiencing the problem) says he's run
wdsl2java and doesn't see anything that would cause a problem such as
this.

Would spelling out an ArrayOf_Counties complexType definition help, do
you think?
<complexType name="ArrayOf_Counties">
        <complexContent>
                <restriction base="soapenc:Array">
                        <attribute ref="soapenc:arrayType"
wsdl:arrayType="tnsl:County[]"/>
                </restriction>
        </complexContent>
</complexType>
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Brian Kotek
Sent: Wednesday, March 31, 2004 1:56 PM

You probably won't find much if you google "wdsl2java", you've swapped
the d and the s.  ;-)

Here's some info on wsdl2java:  

 
<http://ws.apache.org/axis/java/apiDocs/org/apache/axis/wsdl/WSDL2Java.h
tml> 


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Davis, Eric
> Sent: Wednesday, March 31, 2004 1:15 PM
> 
> Here it is, a simple cfinvoke:
> 
> <cfinvoke 
>       
> webservice="http://localhost:8080/axis/services/NavService?wsdl"; 
>               method="getCounties" returnvariable="foo" />
> 
> Where do I find wdsl2java? (I'm googling right now)
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sean A Corfield
> Sent: Wednesday, March 31, 2004 12:16 PM
> 
> On Mar 31, 2004, at 6:29 AM, Scott Keene wrote:
> > That's a tough one, since there is certainly nothing at all 
> wrong with
> 
> > the
> > WSDL as you said, and the error message is very misleading.
> 
> Eric didn't show the CF code he's using to try to invoke the web 
> service so it's hard to tell exactly which part of the puzzle is 
> failing. Technically the method returns "array of any", not "array of 
> County" (as far as I can see) so, given the call is to getCounties() 
> which takes no arguments and simply returns an array, I'm not quite 
> sure why it's trying to deserialize County.
> 
> What I'd recommend is running wsdl2java against the web 
> service URL and 
> taking a look at what Java it generates. That's usually the best 
> solution to any web service problem. Then you can figure out 
> what CF is 
> trying to map its data types to.
> 
> 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]

Reply via email to