1 Reply Latest reply on Apr 22, 2008 3:19 AM by Richard Opalka

    Complex type names in wsdl starts with lowercase?

    Fredrik S Newbie

      I'm trying to set up web services in jboss 4.2.2 using jax-ws, but the complex type name in the generated wsdl always starts with lowercase even if the class name starts with uppercase.

      Example class:

      public class Price {
       private double amount;
       private String currency;

      Generated wsdl:
      <xs:complexType name="price">
       <xs:element name="amount" type="xs:double"/>
       <xs:element minOccurs="0" name="currency" type="xs:string"/>

      Is it possible to get the complex type name equal the class name (i.e. starting with uppercase)?

      Thanks in advance