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)
--
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 12:16 PM
To: [EMAIL PROTECTED]
Subject: Re: [CFCDev] Webservice - Axis deserializer error
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]
----------------------------------------------------------
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]