File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes How do I build a WSDL with meaningful names instead of in0? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "How do I build a WSDL with meaningful names instead of in0?" Watch "How do I build a WSDL with meaningful names instead of in0?" New topic
Author

How do I build a WSDL with meaningful names instead of in0?

simon sew
Greenhorn

Joined: Aug 08, 2005
Posts: 2
Hi all,
I'm having trouble defining the parameter name that i want. Instead, the axis automatically convert it to in0,in1,in2 for each subsequent parameter..

For example... in the wsdl file

wsdl:message name="deliverDNMessageRequest">
<wsdl art name="in0" type="xsd:short"/>

i wanted to change the "in0" to a more meaning name like "appId".

Thanks
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 949
There was a simular questions posted a while ago. The answer to that one was
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


Please ignore post, I have no idea what I am talking about.
 
 
subject: How do I build a WSDL with meaningful names instead of in0?
 
Threads others viewed
How to create axis wsdl with user friendly names
AXIS - wsdl with meaningful parameter names instead of in0,in1...?
Java2wsdl and parameter names
This is not cool... Anyone know why?
WSDD - Apache axis
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture