You already have it in some form or other. If you are running CFMX standalone, it is here:
cfmxpath\runtime\bin And on JRun: jrunpath\bin If you're on another app server, you'll have to find it. If you've never run it before I'm not sure how much help it may be to you, but it's definitely the first thing to do when faced with these situations (as Sean suggested). I ran it against your WSDL (from standalone and J2EE on JRun) and really didn't see anything to tip me off to the problem, though, other than what I hacked at previously. To run WSDL2Java against your service - open a command prompt or terminal, then CD to the proper directory and call it passing your service URL: WSDL2Java http://mysite.com/service.wsdl It will generate Java files in the same directory that it resides in, or you can pass it an -o switch and specify the output directory: WSDL2Java http://mysite.com/service.wsdl -o C:\mytestdir Axis tools reference: http://cvs.apache.org/viewcvs/~checkout~/ws-axis/java/docs/reference.html Good luck! > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Davis, Eric > Sent: Wednesday, March 31, 2004 1:15 PM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] Webservice - Axis deserializer error > > 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] > ---------------------------------------------------------- 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]
