Hi,

I'm using a document-style web service and the request contains an array
of objects in the form:

<users><user>...</user><user>...</user></users>

defined by (from my WSDL-file):

   <element name="users">
    <complexType>
     <sequence>
      <element maxOccurs="unbounded" minOccurs="0" name="user"
type="impl:User"/>
     </sequence>
    </complexType>
   </element>

Requests sent by the generated junit tests are constructed in the
desired format but looking at
http://localhost:8080/foo/services/FooUsers?WSDL results in:

<element name="users">
    <complexType>
     <sequence>
      <element maxOccurs="unbounded" minOccurs="0" name="item"
type="impl:User"/>
     </sequence>
    </complexType>
   </element>

So, the inner element's name is "item" instead of "user".

This makes no difference (as it seems that you can name this inner
element as you like?!) but I would really appreciate the "correctness"
of the generated WSDL (thinking about validation...)

Any ideas or am I missing something?

Please Cc me since I'm not subscribed to the list.

Regards,
Sebastian

--
Sebastian Beigel // Software Architekt
(F) Die Firma GmbH // Innovative Kommunikation
Schwalbacher Straße 74 // D-65183 Wiesbaden
T +49.6 11.2 38 50.24 // F +49.6 11.2 38 50.11
mailto:[EMAIL PROTECTED] // http://www.diefirma.de

Reply via email to