[
https://issues.apache.org/jira/browse/CXF-5124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp updated CXF-5124:
-----------------------------
Component/s: JAX-WS Runtime
> Combination of @WebFault and @XmlType annotations leads to invalid XSD (WSDL)
> -----------------------------------------------------------------------------
>
> Key: CXF-5124
> URL: https://issues.apache.org/jira/browse/CXF-5124
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Environment: CXF 2.7.2, 2.7.5
> Reporter: Dusan Slivka
> Priority: Minor
>
> Combination of @WebFault and @XmlType in one bean:
> @WebFault(name = "contentException")
> @XmlType // PROBLEM
> public class ContentException extends Exception {
> public ContentException() {
> super();
> }
> ...
> }
> causes following to appear in generated WSDL:
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns0="##default"
> xmlns:tns="http://admin/" attributeFormDefault="unqualified"
> elementFormDefault="unqualified" targetNamespace="http://admin/">
> <xs:import namespace="##default"/>
> <xs:element name="createPoolRequest" type="tns:createPoolRequest"/>
> ...
> </xs:schema>
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:tns="##default" attributeFormDefault="unqualified"
> elementFormDefault="unqualified" targetNamespace="##default">
> <xsd:complexType name="##default">
> ...
> </xs:schema>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)