[
http://jira.jboss.com/jira/browse/JBWS-1904?page=all ]
Vesselin Kirov updated JBWS-1904:
---------------------------------
Attachment: JAXWSMetaDataBuilder.java
org.jboss.metadata.builder.jaxws.JAXWSMetaDataBuilder changed so the namespace from
@WebFault is used to generate the xml type in the wsdl schema, pulled from svn at revision
5011, branch jbossws-native-2.0.1.CP
There should be a way to explicitly set the namespace of a WebFault
in the generated WSDL schema
------------------------------------------------------------------------------------------------
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
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