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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ant task to create jax-rpc mapping file
 
Similar Threads
Problems to generate WSDL file
Java2WSDL command inside WebSphere how to use it!
do i need to package webservice xsd and wsdl files in client
How to use wstools in ant
generated WSDL through wsgen and REPLACE_WITH_ACTUAL_URL