This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 107519 - array items with wrong tags
Summary: array items with wrong tags
Status: RESOLVED WONTFIX
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 6.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@webservices
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-20 21:26 UTC by riktam
Modified: 2007-06-20 21:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description riktam 2007-06-20 21:26:49 UTC
for an array jax-ws2.1 generates a wsdl like:

<xs:complexType name="searchRes">
  <xs:sequence>
    <xs:element name="list" type="tns:testOcc" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>
<xs:complexType name="testOcc">
  <xs:sequence>
    <xs:element name="key" type="xs:string" minOccurs="0"/>
    <xs:element name="value" type="xs:string" minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

so "list" points of an array with the elements "testocc".
But the generated request answers with an iteration of list-elements:
<list>
  <key>1</key><value>start</value>
</list>
<list>
  <key>2</key><value>end</value>
</list>
the right request should look like:
<list>
  <testocc>
    <key>1</key><value>start</value>
  </testocc>
  <testocc>
    <key>2</key><value>end</value>
  </testocc>
</list>

(you can find my testserver on sourceforge.net / Test soaplib 1.0 )
Comment 1 Lukas Jungmann 2007-06-20 21:37:08 UTC
This is JAX-WS RI specific issue - filed there as https://jax-ws.dev.java.net/issues/show_bug.cgi?id=357

=> closing as WONTFIX on the NetBeans side