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

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

dkulp closed pull request #401: [CXF-7704] False positive warning log
URL: https://github.com/apache/cxf/pull/401
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/policy/AddressingAssertionBuilder.java
 
b/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/policy/AddressingAssertionBuilder.java
index d0ce322a064..6cf867c32c4 100644
--- 
a/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/policy/AddressingAssertionBuilder.java
+++ 
b/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/policy/AddressingAssertionBuilder.java
@@ -85,7 +85,8 @@ public Assertion newPolicyContainingAssertion(Element element,
                                                   policy);
                 }
             }.build(elem, factory);
-            if (!(nap instanceof PolicyContainingPrimitiveAssertion || nap 
instanceof PrimitiveAssertion)) {
+            if (!(nap instanceof PolicyContainingPrimitiveAssertion
+                    || nap instanceof 
org.apache.neethi.builders.PrimitiveAssertion)) {
                 // this happens when neethi fails to recognize the specified 
addressing policy element
                 LOG.warning("Unable to recognize the addressing policy");
             }


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> False positive warning log: "Unable to recognize the addressing policy"
> -----------------------------------------------------------------------
>
>                 Key: CXF-7704
>                 URL: https://issues.apache.org/jira/browse/CXF-7704
>             Project: CXF
>          Issue Type: Improvement
>    Affects Versions: 3.2.4
>            Reporter: Reguel Wermelinger
>            Priority: Minor
>         Attachments: greet-policy-wsaddressing.wsdl
>
>
> CXF Client Calls to a service with a WS-Addressing policy fails with "Unable 
> to recognize the addressing policy". Even tough the policy works and the 
> required interceptors are correctly instantiated.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to