Description of problem: Platform BZ for https://issues.jboss.org/browse/JBWS-3601 Backport https://issues.apache.org/jira/browse/CXF-4790, which is the root cause. 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);
Fix Versions for CXF-4790 are 2.8.0, 2.7.4, 2.6.7, 2.5.10 EAP 6.1.0 DR4 is using 2.6.6, version 2.6.7 was not yet released If this should be included in EAP 6.1.0, jboss-eap-6.1.0 flag must be selected to enter 3-ACK process.
Alessio Soldano <asoldano> made a comment on jira JBWS-3601 From a community point of view, the fix for this is coming in next CXF version. Scheduling for jbossws-cxf-4.2
Alessio Soldano <asoldano> updated the status of jira JBWS-3601 to Resolved
Alessio Soldano <asoldano> made a comment on jira JBWS-3601 Solving this upstream jira as a consequence of having moved to cxf 2.7.4
Was proposed or approved for 6.1.0 but did not make it into the payload, so setting jboss-eap-6.1.0- (for history) and jboss-eap-6.1.1? (to try again)
ER3 contains 2.6.8 which has supposedly fixed the issue.
Looks like this is not enough with EJB exposed as webservices.
PR: https://github.com/jbossas/jboss-eap/pull/236
Verified by running test against EAP-6.1.1.ER3 (failed) and EAP-6.1.1.ER4 (passed) References Upstream test in 4.2 https://source.jboss.org/changelog/JBossWS?cs=17768 EAP6.1 test https://github.com/jbossas/jboss-eap/pull/236 Procedure git clone git clone https://github.com/jbossas/jboss-eap.git cd jboss-eap git tags -l git checkout tags/EAP_6.1.1.ER4 start-as #EAP_6.1.1.ER4 mvn -s tools/maven/conf/settings.xml test -Dts.basic -Dtest=org.jboss.as.test.integration.ws.basic.*TestCase -pl :jboss-as-ts-integ-basic #tests passed# stop-as start-as #EAP_6.1.1.ER3 previous version mvn -s tools/maven/conf/settings.xml test -Dts.basic -Dtest=org.jboss.as.test.integration.ws.basic.*TestCase -pl :jboss-as-ts-integ-basic #test failed#
Marking for exclusion from the 6.1.1 Release Notes document as an entry for this bug could not be completed or verified in time.
Alessio Soldano <asoldano> updated the status of jira JBWS-3601 to Closed