[jboss-jira] [JBoss JIRA] (WFLY-1667) SOAPFaultException cannot render SOAP 1.2 Fault Subcode
Emmanuel Hugonnet (JIRA)
jira-events at lists.jboss.org
Wed Jul 10 02:20:20 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Hugonnet moved JBPAPP-10812 to WFLY-1667:
--------------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform 4 and 5)
Key: WFLY-1667 (was: JBPAPP-10812)
Workflow: GIT Pull Request workflow (was: jira)
Support Case Reference: https://bugzilla.redhat.com/show_bug.cgi?id=913411
Component/s: Web Services
(was: Web Services)
Security: (was: Public)
Docs QE Status: (was: ASSIGNED)
> SOAPFaultException cannot render SOAP 1.2 Fault Subcode
> -------------------------------------------------------
>
> Key: WFLY-1667
> URL: https://issues.jboss.org/browse/WFLY-1667
> Project: WildFly
> Issue Type: Bug
> Components: Web Services
> Reporter: Emmanuel Hugonnet
> Assignee: Emmanuel Hugonnet
>
> The code below doesn't render <soapenv:Subcode>:
> import javax.xml.soap.SOAPConstants;
> import javax.xml.soap.SOAPFactory;
> import javax.xml.soap.SOAPFault;
> import javax.xml.ws.soap.SOAPFaultException;
> ...
> SOAPFactory factory = SOAPFactory.newInstance(SOAPConstants.SOAP_1_2_PROTOCOL);
> SOAPFault fault = factory.createFault("Operator not found", new QName(SOAPConstants.URI_NS_SOAP_1_2_ENVELOPE, "Receiver"));
> fault.appendFaultSubcode(new QName("...", "OperatorNotFound"));
> ...
> throw new SOAPFaultException(fault);
--
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
More information about the jboss-jira
mailing list