Harry - if you compile the java code using the -g parameter, the
parameter names stored in the debug information should be referenced by
Java2WSDL and inserted into the generated file.

If -g doesn't work, it may be a bug.  I don't know if we have a unit
test....

/Chris


-----Original Message-----
From: Harry Hartley [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, May 19, 2002 4:15 AM
To: [EMAIL PROTECTED]
Subject: Parameter naming in WSDL

How does one go about giving interface parameters meaningful names in a
WSDL file?

Currently my Java2WSDL generated file has parameter names such as:

<wsdl:message name="fooRequest">

      <wsdl:part name="in0" type="xsd:int"/>

      <wsdl:part name="in1" type="SOAP-ENC:string"/>

      <wsdl:part name="in2" type="SOAP-ENC:string"/>

      <wsdl:part name="in3" type="SOAP-ENC:float"/>

   </wsdl:message>

I would really like to name my parameters with more meaningful names so
that the client user does not need to guess at my intent.

Harry



Reply via email to