You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2013/04/28 10:40:16 UTC

[jira] [Updated] (CXF-4990) When thrown the fault from logical handle, the namespace setting doesn't work

     [ https://issues.apache.org/jira/browse/CXF-4990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang updated CXF-4990:
------------------------------

    Description: 
CXF support to setup the namespaces in the soap envelope by setting the property of soap.env.ns.map like the below setting, but it doesn't take effect when throwing the fault from handler like this.
{code}
<jaxws:endpoint
                id="cxfEndpoint"
                address="http://localhost:5555"
                wsdlURL="wsdl/demo.wsdl"
                serviceClass="example.esb.testing.HelloPortType"
                serviceName="s:HelloService"
                xmlns:s="urn:example:esb:testing">
<jaxws:properties>
        
                        <entry key="soap.env.ns.map">
                                <map>
                                        <entry key="esb" value="http://www.example.com/esb/20080930/header" />
                                </map>
                        </entry>
                        
                </jaxws:properties>
                <jaxws:handlers>
                        <ref bean="faultThrowingHandler" />
                </jaxws:handlers>

</jaxws:endpoint> 

{code}
 

  was:
CXF support to setup the namespaces in the soap envelope by setting the property of soap.env.ns.map like the below setting, but it doesn't take effect when throwing the fault from handler like this.
{code}
<jaxws:endpoint
                id="cxfEndpoint"
                address="http://localhost:5555"
                wsdlURL="wsdl/demo.wsdl"
                serviceClass="lt.seb.esb.testing.HelloPortType"
                serviceName="s:HelloService"
                xmlns:s="urn:lt:seb:esb:testing">
<jaxws:properties>
        
                        <entry key="soap.env.ns.map">
                                <map>
                                        <entry key="esb" value="http://www.example.com/esb/20080930/header" />
                                </map>
                        </entry>
                        
                </jaxws:properties>
                <jaxws:handlers>
                        <ref bean="faultThrowingHandler" />
                </jaxws:handlers>

</jaxws:endpoint> 

{code}
 

    
> When thrown the fault from logical handle, the namespace setting doesn't work 
> ------------------------------------------------------------------------------
>
>                 Key: CXF-4990
>                 URL: https://issues.apache.org/jira/browse/CXF-4990
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.7.4, 2.6.7
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.8.0, 2.6.8, 2.7.5
>
>
> CXF support to setup the namespaces in the soap envelope by setting the property of soap.env.ns.map like the below setting, but it doesn't take effect when throwing the fault from handler like this.
> {code}
> <jaxws:endpoint
>                 id="cxfEndpoint"
>                 address="http://localhost:5555"
>                 wsdlURL="wsdl/demo.wsdl"
>                 serviceClass="example.esb.testing.HelloPortType"
>                 serviceName="s:HelloService"
>                 xmlns:s="urn:example:esb:testing">
> <jaxws:properties>
>         
>                         <entry key="soap.env.ns.map">
>                                 <map>
>                                         <entry key="esb" value="http://www.example.com/esb/20080930/header" />
>                                 </map>
>                         </entry>
>                         
>                 </jaxws:properties>
>                 <jaxws:handlers>
>                         <ref bean="faultThrowingHandler" />
>                 </jaxws:handlers>
> </jaxws:endpoint> 
> {code}
>  

--
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