• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant task to create jax-rpc mapping file

 
Thomas Olausson
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Thomas Olausson
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic