> I understand this is not a Java forum but since some of the people
> here have a good grasp on Java, I thought may be I should ask this
> question. I am trying to develop my first Java web service for which
> all the java classes has been created. Now I am wondering is there a
> tool available e.g. an Eclipse Plugin, which can help me generating
> wsdd, wsdl etc files In other words, I am looking for a tool with
> which I can run Java2WSDL. I understand that, axis has to be used for
> this purpose, but setting all those classpath etc is driving me nuts.
> So any help is greatly appreciated.
>
Hi Qasim,
You might want to take a look at JWS files, they are basically just a Java source file named .jws instead of .java, when a J2EE server has jws files mapped to the correct servlet, things work just like a CFC, you just access http://server/MyService.jws?wsdl to get the wsdl: see my blog post on this: http://www.petefreitag.com/item/104.cfm (you can also do this on CFMX)
There is also sample JWS files that comes in the Axis SDK.
If you want to use the Java2WSDL tool, I recommend using the Ant tasks that come with Axis, then you just need to throw all the axis jar's in Ant's lib directory. There is an example of using Axis' wsdl2java tool with Ant in the web services chapter of my book as well.
______________________________________
Pete Freitag
http://www.cfdev.com/
Author of the CFMX Developers Cookbook
http://www.petefreitag.com/bookshelf/
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

