cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6319) Regression: failing namespace resolution after CXF-5891
Date Mon, 11 May 2015 11:28:59 GMT

    [ https://issues.apache.org/jira/browse/CXF-6319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14537830#comment-14537830
] 

ASF GitHub Bot commented on CXF-6319:
-------------------------------------

GitHub user TomasHofman opened a pull request:

    https://github.com/apache/cxf/pull/70

    Revert "[CXF-6319] Fix regression by storing namespace declarations f…

    …rom Body and Envelope element and later updating the SAAJ model with them"
    
    - added integration test for this issue

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/TomasHofman/cxf cxf-6319

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf/pull/70.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #70
    
----
commit 8557c16f4508421c62b6884490ca362779918fec
Author: Tomas Hofman <thofman@redhat.com>
Date:   2015-05-11T11:24:45Z

    Revert "[CXF-6319] Fix regression by storing namespace declarations from Body and Envelope
element and later updating the SAAJ model with them"
    
    - added integration test for this issue

----


> Regression: failing namespace resolution after CXF-5891
> -------------------------------------------------------
>
>                 Key: CXF-6319
>                 URL: https://issues.apache.org/jira/browse/CXF-6319
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.7.14, 2.7.15
>            Reporter: mustafa
>            Assignee: Alessio Soldano
>             Fix For: 3.1.0, 2.7.16, 3.0.5
>
>
> When using CXF 2.7.14 or later this request fails 
> {code:xml}
> <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>
> {code}
> with the error
> {code:xml}
> <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>
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message