Title: Naming of parameters in generated WSDL

Hi all

I have a simple document/literal WS. I use java2wsdl Ant task to generate a WSDL from my interface class which represents the service. Previously, the names used for the parameters in the WSDL matched the names of the parameters i use in the java interface. This was nice because it was kind of self documenting. For some unknown reasons this changed and now "in0" - "in4" are generated (with the appropriate types).

Any idea how i can specify that the names of the parameters of my interface are used again?

 <wsdl:types>
  <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.geres.ch/Geres_MeldungAnGemeinde_V1_0" elementFormDefault="qualified">

   <element name="getMeldung">
    <complexType>
     <sequence>
      <element name="in0" type="xsd:int"/>
      <element name="in1" type="xsd:int"/>
      <element name="in2" type="xsd:dateTime"/>
      <element name="in3" type="xsd:string"/>
     </sequence>
    </complexType>
   </element>
   <element name="getMeldungResponse">
    <complexType>
     <sequence>
      <element name="getMeldungReturn" type="xsd:string"/>
     </sequence>
    </complexType>
   </element>
  </schema>
 </wsdl:types>


Thanks,

Thomas


       

Reply via email to