[jira] [Created] (CXF-5124) Combination of @WebFault and @XmlType annotations leads to invalid XSD (WSDL)

2013-07-13 Thread Dusan Slivka (JIRA)
Dusan Slivka created CXF-5124:
-

 Summary: 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
 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:

http://www.w3.org/2001/XMLSchema"; xmlns:ns0="##default" 
xmlns:tns="http://admin/"; attributeFormDefault="unqualified" 
elementFormDefault="unqualified" targetNamespace="http://admin/";>
  
  
...

http://www.w3.org/2001/XMLSchema"; xmlns:tns="##default" 
attributeFormDefault="unqualified" elementFormDefault="unqualified" 
targetNamespace="##default">
  
...



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CXF-5125) Inconsistent namespace/element name qualification in SoapBody in normal vs. fault return message.

2013-07-13 Thread Dusan Slivka (JIRA)
Dusan Slivka created CXF-5125:
-

 Summary: Inconsistent namespace/element name qualification in 
SoapBody in normal vs. fault return message.
 Key: CXF-5125
 URL: https://issues.apache.org/jira/browse/CXF-5125
 Project: CXF
  Issue Type: Bug
 Environment: CXF 2.7.2
Reporter: Dusan Slivka
Priority: Minor


This is my standard SOAP response message:

http://schemas.xmlsoap.org/soap/envelope/";>
   
  http://admin/";>
 OWNER
 0
  
   


and this is fault message generated with the same system:

http://schemas.xmlsoap.org/soap/envelope/";>
   
  
 soap:Server
 message--
 
http://admin/";>
   http://admin/";>user..
   http://admin/";>role...

 
  
   


Why does the fault define namespace ns2 and why it is assigned to all elements?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira