[
http://jira.jboss.com/jira/browse/JBWS-1904?page=comments#action_12392001 ]
Alessio Soldano commented on JBWS-1904:
---------------------------------------
The proposed patch cannot be accepted because @WebFault's namespace attribute
shouldn't affect the bean type namespace. That namespace should come from the @XmlType
annotation, thus the fix reads its eventual namespace attribute.
This way JBossWS native stack behaves the same way as the Metro RI (of course there's
no need of running APT or something like that before the deploy using jbossws-native).
Explicitly set the namespace of a WebFault
------------------------------------------
Key: JBWS-1904
URL:
http://jira.jboss.com/jira/browse/JBWS-1904
Project: JBoss Web Services
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: jbossws-jaxws
Affects Versions: jbossws-2.0.1.SP2
Reporter: Vesselin Kirov
Assigned To: Alessio Soldano
Fix For: jbossws-2.0.3
Attachments: JAXWSMetaDataBuilder.java
At the moment the code in org.jboss.metadata.builder.jaxws.JAXWSMetaDataBuilder.addFault
does not use the namespace information from @WebFault (if present) for the xml type in the
WSDL schema that is generated. It is easy to change the code to do this, however I'm
not sure if this would break some other use cases.
The other approach would be to use the XmlType annotation (not used at all at the
moment).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira