I’m wrapping an existing class and exposing it as a Document Literal Wrapped webservice.  When I generate the WSDL with Java2WSDL, the generated WSDL contains ‘created’ class definitions for the new object that ‘wraps’ my input attributes.  Is there a way to force ‘nillable=true’ to be added to these definitions?

 

i.e., I get this –

 

   <element name="replaceCPE">

    <complexType>

     <sequence>

      <element name="in0" type="impl:CpeIdentifier"/>

      <element name="in1" type="impl:CpeProperties"/>

      <element name="in2" type="impl:EventSink"/>

     </sequence>

    </complexType>

   </element>

 

But I want this –

 

   <element name="replaceCPE">

    <complexType>

     <sequence>

      <element name="in0" nillable=”true” type="impl:CpeIdentifier"/>

      <element name="in1" nillable=”true” type="impl:CpeProperties"/>

      <element name="in2" nillable=”true” type="impl:EventSink"/>

     </sequence>

    </complexType>

   </element>

 

Thanks!

 

Jerry Jalenak

Software Engineer

Netopia, Inc.

 

Reply via email to