Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 59441 invoked from network); 15 Sep 2010 15:35:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Sep 2010 15:35:26 -0000 Received: (qmail 81145 invoked by uid 500); 15 Sep 2010 15:35:26 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 80921 invoked by uid 500); 15 Sep 2010 15:35:24 -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 Received: (qmail 80913 invoked by uid 99); 15 Sep 2010 15:35:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 15:35:23 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.85.173.253] (HELO server.dankulp.com) (64.85.173.253) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 15:35:17 +0000 Received: by server.dankulp.com (Postfix, from userid 5000) id EBB1B1866DF; Wed, 15 Sep 2010 11:34:56 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter-users@cxf.apache.org.YVvAfRk0Ez Received: from dilbert.dankulp.com (c-24-91-72-253.hsd1.ma.comcast.net [24.91.72.253]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTPSA id 31C391866DC; Wed, 15 Sep 2010 11:34:53 -0400 (EDT) From: Daniel Kulp To: users@cxf.apache.org Subject: Re: Change SOAP Action Date: Wed, 15 Sep 2010 11:33:41 -0400 User-Agent: KMail/1.13.5 (Linux/2.6.35; KDE/4.5.1; x86_64; ; ) Cc: Curtis Jensen References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201009151133.41620.dkulp@apache.org> X-Old-Spam-Status: No, score=-2.8 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.1 I don't reall see an example on that page for setting an action, just querying the action on the incoming chain. For the most part, you probably don't even need an interceptor for this. Just do something like: ((BindingProvider)proxy).getRequestContext().put( BindingProvider.SOAPACTION_URI_PROPERTY, "my.soap.action"); before calling the method. That should do it. Dan On Wednesday 15 September 2010 10:34:11 am Curtis Jensen wrote: > I'm calling an Axis2 SOAP service. However, I receive this error: > The endpoint reference (EPR) for the Operation not found [URL] and the > WSA Action [ACTION] > > I'm using the example found below to change the SOAP action for my > service call. > http://www.opendocs.net/apache/cxf/2.2.4/interceptors.html > > However, when the service is invoked, the SOAP action is not changed. > (I know it's not changed because I receive the same error). > > Should I change the action this way? > Why is the action not being changed? > > Thanks, > Curtis -- Daniel Kulp dkulp@apache.org http://dankulp.com/blog