Frank Cornelis created CXF-4258:
-----------------------------------

             Summary: Disabling WS-Policy feature fails
                 Key: CXF-4258
                 URL: https://issues.apache.org/jira/browse/CXF-4258
             Project: CXF
          Issue Type: Bug
          Components: WS-* Components
    Affects Versions: 2.6
            Reporter: Frank Cornelis


When disabling the WS-Policy support by configuring the cxf.xml as follows:
{code:title=cxf.xml|borderStyle=solid}
<?xml version="1.0" encoding="utf-8"?>
<beans xmlns="http://www.springframework.org/schema/beans";
        xmlns:cxf="http://cxf.apache.org/core"; 
xmlns:p="http://cxf.apache.org/policy";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://cxf.apache.org/core 
http://cxf.apache.org/schemas/core.xsd
http://cxf.apache.org/policy http://cxf.apache.org/schemas/policy.xsd
http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd";>
        <cxf:bus>
                <cxf:features>
                        <p:policies enabled="false" />
                </cxf:features>
        </cxf:bus>
</beans>
{code}
I get an exception when invoking my web service
{code}
Caused by: null - java.lang.NullPointerException
org.apache.cxf.jaxws.JaxWsClientProxy.invoke:156
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to