Hi,
I am using axis jars to convert my java classes into wsdl for API purpose. I notice that, instead of generating the parameter names same as what my method accepts, I am getting it as param0,param1 etc.. here is an examle
I would like to get my method param names into this wsdl at run time like :
I am only using the axis jars.. So any help in this will be greatly appretiated.
I am using axis jars to convert my java classes into wsdl for API purpose. I notice that, instead of generating the parameter names same as what my method accepts, I am getting it as param0,param1 etc.. here is an examle
Code:
<xs:sequence> <xs:element minOccurs="0" name="param0" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="param1" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="param2" nillable="true" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element>
Code:
<xs:sequence> <xs:element minOccurs="0" name="Father's Name" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="Location" nillable="true" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element> etc..