[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:22:21 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Hugonnet updated WFLY-1667:
------------------------------------
Description:
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);
was:
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);
Assignee: Alessio Soldano (was: Emmanuel Hugonnet)
> 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: Alessio Soldano
>
> 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