ArrayOf<type> generated in wrong WSDL namespace
-----------------------------------------------
Key: XFIRE-1045
URL: http://jira.codehaus.org/browse/XFIRE-1045
Project: XFire
Issue Type: Bug
Components: Aegis Module, JAXB 2.0
Affects Versions: 1.2.6, 1.2.2
Environment: Windows XP SP2 - JDK 1.5.0_11
Reporter: Daniel Tremblay
Assignee: Dan Diephouse
Attachments: Test-WS.zip
I generate a simple class for my service. One of the methods returns an array
of SimpleObjects. The SimpleObject class resides in a different namespace
(whether I use annotations or place the class in a separate java package yields
the same behavior).
In the WSDL, the ArrayOfSimpleObject complex type ends up in the same namespace
as the SimpleObject type. It should appear in the service namespace (or there
should be a way to annotate or determine where the ArrayOfSimpleObject type is
defined in the namespace).
I've tried @WebResult and @XmlElement annotations. I've also tried to add an
ISampleWS.aegis.xml mapping to no avail.
I've tried JAXB, Aegis and Object service factories and they all do the same.
However, Aegis seems to map enumerated types better than JAXB.
I've joined a simple junit test in the zipped file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email