• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Ant task to create jax-rpc mapping file

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Hug your destiny! And hug this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic