aspose file tools*
The moose likes Web Services and the fly likes Ant task to create jax-rpc mapping file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Ant task to create jax-rpc mapping file" Watch "Ant task to create jax-rpc mapping file" New topic
Author

Ant task to create jax-rpc mapping file

Thomas Olausson
Greenhorn

Joined: Feb 08, 2003
Posts: 23
I'm trying to script the generation of WSDL files in Websphere studio 5.1.
With a wizard, you can select a wsdl and create skeleton classes.

I know I can do most of that with the Ant task WSDL2java,
but the wizard is also creating the jax-rpc-mapping for each port, how do I create that?
This file is referenced in the WEB-INF/webservices.xml

I could create the mapping it with a xdoclet, but that assumes I created the java classes myself. Since I'm starting with the WSDL to generate classes, I don't have the meta information.

Regards,
/Tom
Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
are you talking about the existing wizards in WSAD or about the prospective wizard that u'll creating for WSAD.

May be you can look at source code of existing free opensource plugin wizards for Eclipse that do make use of AXIS WSDL2Java program.

If I am misunderstanding your original requirement then please correct me...


RR Kumaran
SCJP 1.4
Thomas Olausson
Greenhorn

Joined: Feb 08, 2003
Posts: 23
I'm talking about the existing wizards.
The wizard clearly runs wsdl2java but also something else that creates the jax-rpc and the deployment descriptor 'webservices.xml'

The two latter files I want to script in ant as well.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Ant task to create jax-rpc mapping file