Return-Path: X-Original-To: apmail-cxf-users-archive@www.apache.org Delivered-To: apmail-cxf-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EDD0010216 for ; Thu, 6 Mar 2014 13:24:35 +0000 (UTC) Received: (qmail 39985 invoked by uid 500); 6 Mar 2014 13:24:34 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 39897 invoked by uid 500); 6 Mar 2014 13:24:34 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Delivered-To: moderator for users@cxf.apache.org Received: (qmail 73631 invoked by uid 99); 6 Mar 2014 09:28:30 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of jogeshanand@rediffmail.com does not designate 216.139.236.26 as permitted sender) Date: Thu, 6 Mar 2014 01:28:03 -0800 (PST) From: jogesh anand To: users@cxf.apache.org Message-ID: <1394098083292-5740898.post@n5.nabble.com> Subject: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org */I am working towards an upgrade from came-cxf 2.9.2 TO camel-cxf 2.12.0 (wss4j 1.6.9)camel-cxf 2.12.0 in turn uses cxf 2.7.6. The wsdl is as follows./* .................... .................... ----------------------------------------------------------------------------------------------------- */In my camel context i have wss4j interceptors:/* ------------------------------------------------------------------------------------------------------ */But i am getting the following exception from ws-security layer:/* org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied: {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SupportingTokens {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}UsernameToken ------------------------------------------------------------------------------------------------------- My Soap request is as follows: jOHN jOHNPASS