Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1207119

Summary: [GSS] (6.4.z) CXF-6319 - Regression: failing namespace resolution after CXF-5891
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Mustafa Musaji <mmusaji>
Component: Web ServicesAssignee: Tomas Hofman <thofman>
Status: CLOSED CURRENTRELEASE QA Contact: Rostislav Svoboda <rsvoboda>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4.1CC: bbaranow, bmaxwell, cdewolf, jawilson, jbliznak, thofman
Target Milestone: CR1Keywords: Regression
Target Release: EAP 6.4.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1177705, 1219165, 1221835, 1229159, 1231867    

Description Mustafa Musaji 2015-03-30 09:28:45 UTC
Description of problem:

When using CXF 2.7.14 (EAP 6.3.3+) or later this request fails

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <SOAP-ENV:Body xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <ns0:echo xmlns:ns0="http://example.com">
         <ns0:s xsi:type="xs:string">hello</ns0:s>
      </ns0:echo>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

with the error

<Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/>
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>prefix xs is not bound to a namespace</faultstring>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>

Prior to the changes for CXF-5891 this worked without any problems. Analysis from Red Hat engineering seems to say that it looks that all attributes and namespace settings in soap:envelop or soap:body elements are all ignored in ReadHeaderInterceptor and SAAJInInterceptor.

Version-Release number of selected component (if applicable):


How reproducible:
Every time

Steps to Reproduce:
1. Send request using EAP 6.3.3/6.4.0
2. 
3.

Actual results:
Error is received saying prefix xs is not bound to a namespace

Expected results:
Sucessful response

Additional info:

Comment 1 Mustafa Musaji 2015-03-30 09:40:03 UTC
Upstream fix was committed by Alessio

https://github.com/apache/cxf/commit/65654316c43ba94b97e9ad164224191561652f81

Comment 5 Tomas Hofman 2015-04-22 08:17:28 UTC
Changing to MODIFIED since it was already merged.

https://github.com/apache/cxf/commit/80a884c5c9c2adb048d792936512dd1f58e0bec1

Comment 6 Rostislav Svoboda 2015-04-27 11:26:00 UTC
SET/GSS - please provide automated test (as discussed on triage) to increase CP throughput.
I will qa_ack afterwards or when the scope of CP01 is clear and we have enough seats.

Comment 7 Tomas Hofman 2015-04-27 13:29:32 UTC
I will provide a test case, hopefully during tomorrow.

Comment 8 Rostislav Svoboda 2015-04-28 11:05:52 UTC
https://issues.apache.org/jira/browse/CXF-6319 will be fixed in CXF 2.7.16, not 2.7.15. Should be probably removed from BZ 1177705.

Comment 9 Rostislav Svoboda 2015-04-28 11:09:07 UTC
@Tomas - test case is welcome, please proceed even if this fix should be included into CP02.

Comment 15 Tomas Hofman 2015-05-11 11:31:15 UTC
Test case implemented in CXF test suite: https://github.com/apache/cxf/pull/70

Setting to modified, since the fix is already in and we aren't dependent on the test case being merged.

Comment 17 Rostislav Svoboda 2015-05-27 07:18:18 UTC
qa_acking for 6.4.2 scope

Comment 19 Jan Blizňák 2015-06-23 08:30:57 UTC
Verified with 6.4.2.CP.CR1

Comment 20 Petr Penicka 2017-01-17 10:17:41 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.

Comment 21 Petr Penicka 2017-01-17 10:17:41 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.

Comment 22 Petr Penicka 2017-01-17 10:18:15 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.