]
Thomas Diesler updated JBWS-1530:
---------------------------------
Assignee: (was: Darran Lofthouse)
wstools miss arrays of type long
--------------------------------
Key: JBWS-1530
URL:
http://jira.jboss.com/jira/browse/JBWS-1530
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: tools-jaxrpc
Environment: JBoss 4.0.5 resp. JEMS 1.2.0, JBossWS 1.2.0CR3, JDK 1.5.0_11, WinXP
Reporter: Juergen Zimmermann
Fix For: community contributions
When a web service operation returns a long array then at runtime a WSDL is generated as
follows:
<definitions name='...' ...
xmlns:ns1='http://jaxb.dev.java.net/array'
...
...
<message name='MySEI_myMethodResponse'>
<part name='result' type='ns1:longArray'/>
</message>
However, wstools just omit
xmlns:ns1='http://jaxb.dev.java.net/array' .
Additionaly the type generation differs:
Runtime:
<xs:schema
targetNamespace='http://jaxb.dev.java.net/array'
version='1.0'
xmlns:xs='http://www.w3.org/2001/XMLSchema'>
<xs:complexType final='#all' name='longArray'>
<xs:sequence>
<xs:element maxOccurs='unbounded' minOccurs='0'
name='item' nillable='true' type='xs:long'/>
</xs:sequence>
</xs:complexType>
</xs:schema>
wstools:
<complexType name='Long.Array'>
<sequence>
<element maxOccurs='unbounded' minOccurs='0' name='value'
nillable='true' type='long'/>
</sequence>
</complexType>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: