Hi

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?

Example

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:sequence>
        <xs:element minOccurs="0" name="firstName" nillable="true"
type="xs:string"/>
        <xs:element minOccurs="0" name="lastName" nillable="true"
type="xs:string"/>
    </xs:sequence>
</xs:complexType>

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
"clean"?

/Gabriel Falkenberg

Reply via email to