My wsdl is created from java definition (java2wsdl), I think changing wsdl definition (for each array result) everytime wsdl is generated is bit time consuming...

Is it possible to enforce java2wsdl to generate proper WSDL ?
or to make Axis to handle array results properly?

Thank You Anne, :-)
Dominik

----- Original Message ----- From: "Anne Thomas Manes" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, April 27, 2005 8:03 PM
Subject: Re: WRAPPED, arrays and null



The WSDL looks good. I think this is caused by Axis's preference to return nulls rather than empty elements. You might try modifying your array definition to this:

 <element name="getArrayResponse">
  <complexType>
   <sequence>
    <element name="getArrayReturn" type="xsd:string"
       minOccurs="0" maxOccurs="unbounded" nillable="false"/>
   </sequence>
  </complexType>
 </element>

Anne



Reply via email to