cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Veronese (JIRA)" <>
Subject [jira] [Commented] (CXF-5878) Disabling policy engine causes NPE
Date Wed, 30 Jul 2014 20:24:39 GMT


Luca Veronese commented on CXF-5878:

Thank you very much. By the way I can't modify the provided WSDL but I can
easily upgrade the CXF version.

> Disabling policy engine causes NPE
> ----------------------------------
>                 Key: CXF-5878
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 2.7.11
>            Reporter: Luca Veronese
>            Assignee: Akitoshi Yoshida
>            Priority: Blocker
>             Fix For: 2.7.13, 3.0.2, 3.1.0
>         Attachments:
> I have a SAP WSDL with proprietary policies. I need to create a client that ignores those
policies. I tried configuring the cxf.xml in order to disable the Policy engine. If I don't
disable it I get "None of the alternatives..." error. If I disable the engine I get NPE at

>             alternative = engine.getAlternativeSelector().selectAlternative(policy, engine,
assertor, null);
> engine.getAlternativeSelector() returns null.
> I tried to create this client with Axis and it works. It also works calling from SoapUI.
It seems an issue with CXF Policy management.
> I need to create this client with CXF so I'm blocked by this.
> I'm attaching an example project that illustrates the issue.
> Simpy execute ECOSEntrySheetProcessingIn_ECOSEntrySheetProcessingIn_Client main method.

This message was sent by Atlassian JIRA

View raw message