• 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
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

AXIS - wsdl with meaningful parameter names instead of in0,in1...?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
In Axis, I have just realized that the wsdl files (found using Tomcat Web Application Manager) automatically generated by my application contained:
====================
....
<wsdl:messagename="NEMOmodifica_nemonicoRequest"> <wsdl art name="in0" type="xsd:string" />
<wsdl art name="in1" type="xsd:string" />
</wsdl:message>
...
===========================

Now, I would like to have the parameter names instead of in0 and in1 like I have defined it in the routine: public ObjResultadoBasico NEMOmodifica_nemonico(String p_nemonico_old, String p_nemonico_new)

Is there a way I could do it automatically?
I mean, how can I generate wsdl with meaningful parameter names instead of in0,in1...?

I think there might be a way of doing it. I think that the people working previously on this project managed to do it.... but there were using specific tools/builder. I am not using anything. I compile using a self-written script.. it might be the problem, I don't know!

Could you help!
Thank you
Elise
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Celia, welcome to JavaRanch,

We have a simple policy here that all posters should comply with regarding their name. Would you please take a minute and read the JavaRanch naming policy and correct your name accordingly. You can change it by following this link.

Thank you.
Balaji
 
Balaji Loganathan
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by celia:

I think there might be a way of doing it. I compile using a self-written script.. it might be the problem, I don't know!



Elise,
Yes.its possible. add javac -g option to your script.

like javac -g HelloWorld.java will help you preserve the input names for axis generated wsdl.

Welcome again.
Regards
Balaji
 
Elise Pivin
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you so much!!! It works!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic