Hi,

Why do you want them to be uppercase?
Axis makes the first letter lowercase in line with the rules for mapping XML names to Java described in the appendix (chapter 20) of the JAX-RPC 1.1 spec. The generated class is a Javabean, so either way you can use the generated getter/setter methods (that always begin with "get/set" followed by an uppercase letter) to access them.

Regards,
Dies

Recep Ayaz wrote:
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

Reply via email to