Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 68144 invoked from network); 15 Sep 2010 16:00:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Sep 2010 16:00:57 -0000 Received: (qmail 20707 invoked by uid 500); 15 Sep 2010 16:00:56 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 20308 invoked by uid 500); 15 Sep 2010 16:00:54 -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 20295 invoked by uid 99); 15 Sep 2010 16:00:53 -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 16:00:53 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of curtis.jensen@gmail.com designates 74.125.82.169 as permitted sender) Received: from [74.125.82.169] (HELO mail-wy0-f169.google.com) (74.125.82.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 16:00:48 +0000 Received: by wyb36 with SMTP id 36so465451wyb.0 for ; Wed, 15 Sep 2010 09:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=zcQ0J47Zr1KSJeyVEMsne6exABcK3dVR2PD3CBiDe20=; b=gdd/+Eh4ZjNmtKa/NAriwIwLZi/7EN+qtWwB3tlXyIqCS6OgXJf+v13vNvxevMAxgZ zs0oY+Vcgy1ovxogjYVpbgojAAJueQ+0lRNfSafzxmj8hAo7h//1HyHDUpx976m8oK3O ObSk8TZRs4OPTk1TouQF7RKHP9p2tu1AWvWtg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; b=JGLPfWImg5HIZIAqFA4DGHA+oxirY5CZPNYSggrEn6TnwPm24PYwxYQaPaDPaVht9e RYqSPQWkIO4Iz8Hb2HI5sx64sbS2UIJm6A67zn+BRSI86wpxxMF4G3PKQBZHAA/8ePC1 MgCItXypntuxVQ7sUoYHte29p5jJtJMT5yUVk= MIME-Version: 1.0 Received: by 10.227.145.20 with SMTP id b20mr1572418wbv.28.1284566426719; Wed, 15 Sep 2010 09:00:26 -0700 (PDT) Received: by 10.227.156.71 with HTTP; Wed, 15 Sep 2010 09:00:26 -0700 (PDT) Reply-To: curtis@the-jensens.org In-Reply-To: <201009151133.41620.dkulp@apache.org> References: <201009151133.41620.dkulp@apache.org> Date: Wed, 15 Sep 2010 09:00:26 -0700 Message-ID: Subject: Re: Change SOAP Action From: Curtis Jensen To: users Cc: dkulp Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The example on the page has how to access the SOAP action (in the getAndSetOperation function in one of the examples). It was the only example I could find that was close to what I was trying to do. I had attempted to change the example by setting the SOAP action there. Obviously this doesn't work. Fortunately, you suggesting works. Thanks, Curtis On Wed, Sep 15, 2010 at 8:33 AM, Daniel Kulp wrote: > > > I don't reall see an example on that page for setting an action, just que= rying > the action on the incoming chain. > > For the most part, you probably don't even need an interceptor for this. = =C2=A0Just > do something like: > > ((BindingProvider)proxy).getRequestContext().put( > =C2=A0 =C2=A0 BindingProvider.SOAPACTION_URI_PROPERTY, > =C2=A0 =C2=A0 "my.soap.action"); > > before calling the method. =C2=A0 That should do it. > > > > Dan > > > > > On Wednesday 15 September 2010 10:34:11 am Curtis Jensen wrote: >> I'm calling an Axis2 SOAP service. =C2=A0However, 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 >