axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Falkenberg" <>
Subject [axis2] Fine grained control over WSDL generated with java2wsdl
Date Fri, 05 Oct 2007 10:32:57 GMT

Is it possible to somehow fine tune the generation of WSDL files from code
so that some properties of a Java Bean are not exposed in the corresponding
complex type?


A bean called Person has the attributes first name, last name and id. I
would like to omit the id-attribute from the WSDL like this:

<xs:complexType name="Person">
        <xs:element minOccurs="0" name="firstName" nillable="true"
        <xs:element minOccurs="0" name="lastName" nillable="true"

On the way in the id attribute would get the default value null.

Is this at all possible or do I have to keep the beans used in the interface

/Gabriel Falkenberg

View raw message