Hello,
i have problem with WSDL2Java . in my WSDL, first character of xml element's names are title case but generated classes variables are lower cases.
How can handle that problem ?
for example my wsdl file and java class are below:
**********************
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="
http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:xs="
http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" >
<types>
<xs:schema attributeFormDefault="qualified"
targetNamespace="
http://www.hititcs.com/TestRecep"
xmlns:impl="http://www.hititcs.com/TestRecep" >
<xs:complexType name="FlightTypePrefType">
<xs:attribute name="PreferLevel" type="xs:string"/>
<xs:attribute name="FlightType" type="xs:string"/>
</xs:complexType>
</types>
</definitions>
then my java classes are like that
package otapax.requestclasses;
public class FlightTypePrefType implements
java.io.Serializable {
private java.lang.String preferLevel; /
private java.lang.String flightType; // but it must be FlightType !!!!!!!!!!!
....
.....
}
please help me?
thanks for your atteniton
Recep Ayaz
- WSDL2Java variable name syntax error Recep Ayaz
- Re: WSDL2Java variable name syntax error Dies Koper
- Re: WSDL2Java variable name syntax error Recep Ayaz