Title: SEC:U How do I stop WSDL2Java from unwrapping my arrays?

Hi,

I have a couple of Wrapped style services.
When defining these services in WSDL, I wrapped all the arrays I defined.

However, it appears that WSDL2Java is unwrapping these arrays. The published WSDL files (name?WSDL) differ from the originals.

I don't understand why the original definition

<element name="setUserRequest"/>
  <complexType>
    <sequence>
      ....
      <element name="groups" type="impl:Arrayofstring"/>
      ....
    <sequence>
  </complexType>
</element>


becomes

<element name="setUserRequest"/>
  <complexType>
    <sequence>
      ....
      <element name="groups" maxOccurs="unbounded" type="xsd:string"/>
      ....
    <sequence>
  </complexType>
</element>

In the published definition.


How do I prevent this?


Thanks
Russell Thamm

Reply via email to