Return-Path: Delivered-To: apmail-axis-c-user-archive@www.apache.org Received: (qmail 31337 invoked from network); 18 Oct 2010 08:01:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Oct 2010 08:01:41 -0000 Received: (qmail 15861 invoked by uid 500); 18 Oct 2010 08:01:41 -0000 Delivered-To: apmail-axis-c-user-archive@axis.apache.org Received: (qmail 15647 invoked by uid 500); 18 Oct 2010 08:01:38 -0000 Mailing-List: contact c-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C User List" Delivered-To: mailing list c-user@axis.apache.org Received: (qmail 15639 invoked by uid 99); 18 Oct 2010 08:01:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Oct 2010 08:01:37 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rickomuer@gmail.com designates 209.85.212.45 as permitted sender) Received: from [209.85.212.45] (HELO mail-vw0-f45.google.com) (209.85.212.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Oct 2010 08:01:32 +0000 Received: by vws11 with SMTP id 11so399913vws.32 for ; Mon, 18 Oct 2010 01:01:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=MIDovfZWXwF78FIiWOXHA9IB2ceRfan7zKVE+nPs0Rc=; b=AgeZXlxl9OAjlWC4H/DeB3kDRhzM+WlJTKOEyev/ZvYiU8ZrXRf8zh4fL5E8cGzYIF 3d6JU0U/E6PzrYvor++3eBBapRcjeb3VgfOl3UxYa9rwh7gNPzewXLpbTrNC2atngopm iLMH+w1SyYyy34J+aMnN7ITnHO3Ix9wqZiPm4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=nZeAGv6aM3gHj6nJ4omYPeQbvpEg32WFdu7BdQz9b/5FOSbioSxGCxB6puiQVthupg JD+uTCGwsLMspYY/k41XM7yYl3WBDQY+AQVP/bHCn8AFmZxZ7+S6lHQZTiB6gZpQikOq pIVMSu58YCw5+NUTW6HAqoiFlyQEKwAVvAdjQ= MIME-Version: 1.0 Received: by 10.220.191.1 with SMTP id dk1mr1066562vcb.215.1287388871164; Mon, 18 Oct 2010 01:01:11 -0700 (PDT) Received: by 10.220.191.130 with HTTP; Mon, 18 Oct 2010 01:01:11 -0700 (PDT) In-Reply-To: References: Date: Mon, 18 Oct 2010 09:01:11 +0100 Message-ID: Subject: Re: SoapAction retrived as NULL From: Rico M To: Apache AXIS C User List Content-Type: multipart/alternative; boundary=90e6ba4fc2f65a85600492df943d --90e6ba4fc2f65a85600492df943d Content-Type: text/plain; charset=ISO-8859-1 Anyone ? :( On Fri, Oct 15, 2010 at 11:47 AM, Rico M wrote: > Further logs ; > > [Fri Oct 15 11:27:32 2010] [debug] apache2_worker.c(241) > http://localhost:8080/axis2/services/ReceiveMessageAsync > [Fri Oct 15 11:27:32 2010] [debug] apache2_worker.c(299) Client HTTP > version HTTP/1.1 > [Fri Oct 15 11:27:32 2010] [debug] soap_builder.c(883) Identified soap > version is soap11 > [Fri Oct 15 11:27:32 2010] [debug] phase.c(201) Invoke the handler > request_uri_based_dispatcher within the phase Transport > [Fri Oct 15 11:27:32 2010] [debug] req_uri_disp.c(97) Checking for service > using target endpoint address : > http://localhost:8080/axis2/services/ReceiveMessageAsync > [Fri Oct 15 11:27:32 2010] [debug] req_uri_disp.c(117) Service found using > target endpoint address > [Fri Oct 15 11:27:32 2010] [error] phase.c(231) INVOKEDONE > [Fri Oct 15 11:27:32 2010] [debug] phase.c(201) Invoke the handler > AddressingInHandler within the phase Transport > [Fri Oct 15 11:27:32 2010] [info] Starting addressing in handler > [Fri Oct 15 11:27:32 2010] [info] addr_in_handler.c > [Fri Oct 15 11:27:32 2010] [debug] phase.c(201) Invoke the handler > addressing_based_dispatcher within the phase Transport > [Fri Oct 15 11:27:32 2010] [debug] phase.c(201) Invoke the handler > rest_dispatcher within the phase Dispatch > [Fri Oct 15 11:27:32 2010] [debug] phase.c(201) Invoke the handler > soap_message_body_based_dispatcher within the phase Dispatch > [Fri Oct 15 11:27:32 2010] [debug] soap_body_disp.c(200) Checking for > operation using SOAP messagebody's first child's local name : Request > [Fri Oct 15 11:27:32 2010] [debug] phase.c(201) Invoke the handler > soap_action_based_dispatcher within the phase Dispatch > [Fri Oct 15 11:27:32 2010] [debug] soap_action_disp.c(108) Checking for > operation using SOAPAction : "http://abc.org#RecAsync > " > [Fri Oct 15 11:27:32 2010] [debug] soap_action_disp.c(139) Operation found > using SOAPAction > [Fri Oct 15 11:27:32 2010] [debug] phase.c(201) Invoke the handler > dispatch_post_conditions_evaluator within the phase PostDispatch > [Fri Oct 15 11:27:32 2010] [debug] phase.c(201) Invoke the handler > context_handler within the phase PostDispatch > [Fri Oct 15 11:27:32 2010] [debug] ReceiveMessageAsync.c(100) NULL VAL ON > SOAPACTION > [Fri Oct 15 11:27:32 2010] [debug] ReceiveMessageAsync.c(103) Value ist > (null) > [Fri Oct 15 11:27:32 2010] [debug] phase.c(201) Invoke the handler > AddressingOutHandler within the phase MessageOut > [Fri Oct 15 11:27:32 2010] [info] Starting addressing out handler > [Fri Oct 15 11:27:32 2010] [debug] addr_out_handler.c(137) No action > present. Stop processing addressing > [Fri Oct 15 11:27:32 2010] [warning] msg_ctx.c(1384) session-table not set > in message context > [Fri Oct 15 11:27:32 2010] [warning] msg_ctx.c(1384) session-table not set > in message context > > > Also tried to retrive the same from options , but still fetching NULL :( > > > On Fri, Oct 15, 2010 at 10:37 AM, Rico M wrote: > >> Hi , >> >> I am facing a strange problem while trying to retrieve the soap Action >> value from the HTTP headers. >> >> *Following is the header : * >> >> POST /axis2/services/ReceiveMessageAsync HTTP/1.1 >> User-Agent: Axis2C/1.7.0 >> SOAPAction: "http://abc.org#RecAsync" >> Content-Length: 693 >> Content-Type: text/xml;charset=UTF-8 >> Host: local host:8080 >> >> This is how I am retrieving the value : >> >> axiom_node_t *AXIS2_CALL ReceiveMessageAsync_invoke( axis2_svc_skeleton_t >> * svc_skeleton, const axutil_env_t * env, axiom_node_t * node, >> axis2_msg_ctx_t * msg_ctx) >> { >> >> if(node) >> { >> const axis2_char_t *action1 = NULL; >> axis2_char_t *action = "kk"; >> const struct axutil_string *itstring = >> axis2_msg_ctx_get_soap_action(msg_ctx, env); >> if(itstring==NULL) >> AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,"NULL VAL ON >> SOAPACTION"); >> >> action1 = >> axutil_string_get_buffer(axis2_msg_ctx_get_soap_action(msg_ctx, env), env); >> AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,"Value ist %s",action1); >> } >> return node; >> } >> >> >> The above is printing NULL in both cases. Any suggestions? >> > > --90e6ba4fc2f65a85600492df943d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Anyone ? :(

On Fri, Oct 15, 2010 at 11:47= AM, Rico M <ri= ckomuer@gmail.com> wrote:
Further logs ;

[Fri Oct 15 11:27:32 2010] [debug] apache2_worker.c(2= 41) http://localhost:8080/axis2/services/ReceiveMessageAsync
[Fri Oct 15 11:27:32 2010] [debug] apache2_worker.c(299) Client HTTP versio= n HTTP/1.1
[Fri Oct 15 11:27:32 2010] [debug] soap_builder.c(883) Identified soap vers= ion is soap11
[Fri Oct 15 11:27:32 2010] [debug] phase.c(201) Invoke the= handler request_uri_based_dispatcher within the phase Transport
[Fri Oc= t 15 11:27:32 2010] [debug] req_uri_disp.c(97) Checking for service using t= arget endpoint address :
http://localhost:8080/axis2/services/R= eceiveMessageAsync
[Fri Oct 15 11:27:32 2010] [debug] req_uri_disp.c(117) Service found using = target endpoint address
[Fri Oct 15 11:27:32 2010] [error] phase.c(231) = INVOKEDONE
[Fri Oct 15 11:27:32 2010] [debug] phase.c(201) Invoke the ha= ndler AddressingInHandler within the phase Transport
[Fri Oct 15 11:27:32 2010] [info]=A0 Starting addressing in handler
[Fri= Oct 15 11:27:32 2010] [info]=A0 addr_in_handler.c
[Fri Oct 15 11:27:32 = 2010] [debug] phase.c(201) Invoke the handler addressing_based_dispatcher w= ithin the phase Transport
[Fri Oct 15 11:27:32 2010] [debug] phase.c(201) Invoke the handler rest_dis= patcher within the phase Dispatch
[Fri Oct 15 11:27:32 2010] [debug] pha= se.c(201) Invoke the handler soap_message_body_based_dispatcher within the = phase Dispatch
[Fri Oct 15 11:27:32 2010] [debug] soap_body_disp.c(200) Checking for opera= tion using SOAP messagebody's first child's local name : Request[Fri Oct 15 11:27:32 2010] [debug] phase.c(201) Invoke the handler soap_ac= tion_based_dispatcher within the phase Dispatch
[Fri Oct 15 11:27:32 2010] [debug] soap_action_disp.c(108) Checking for ope= ration using SOAPAction : "http://abc.org#RecAsync"
[Fri Oct 15 11:27:32 2010]= [debug] soap_action_disp.c(139) Operation found using SOAPAction
[Fri Oct 15 11:27:32 2010] [debug] phase.c(201) Invoke the handler dispatch= _post_conditions_evaluator within the phase PostDispatch
[Fri Oct 15 11:= 27:32 2010] [debug] phase.c(201) Invoke the handler context_handler within = the phase PostDispatch
[Fri Oct 15 11:27:32 2010] [debug] ReceiveMessageAsync.c(100) NULL VAL ON S= OAPACTION
[Fri Oct 15 11:27:32 2010] [debug] ReceiveMessageAsync.c(103) = Value ist (null)
[Fri Oct 15 11:27:32 2010] [debug] phase.c(201) Invoke = the handler AddressingOutHandler within the phase MessageOut
[Fri Oct 15 11:27:32 2010] [info]=A0 Starting addressing out handler
[Fr= i Oct 15 11:27:32 2010] [debug] addr_out_handler.c(137) No action present. = Stop processing addressing
[Fri Oct 15 11:27:32 2010] [warning] msg_ctx.= c(1384) session-table not set in message context
[Fri Oct 15 11:27:32 2010] [warning] msg_ctx.c(1384) session-table not set = in message context


Also tried to retrive the same from options ,= but still fetching NULL :(


On Fri, Oct 15, 2010 at 10:37 AM, Rico M <rickomuer@gmail.com> wrote:
Hi ,

I am = facing a strange problem while trying to retrieve the soap Action value fro= m the HTTP headers.

Following is the header :

POST /axis2/services/ReceiveMe= ssageAsync HTTP/1.1
User-Agent: Axis2C/1.7.0
SOAPAction: "htt= p://abc.org#RecAsync"
Content-Length: 693
Content-Type: text= /xml;charset=3DUTF-8
Host: local host:8080

This is how I am retri= eving the value :

axiom_node_t *AXIS2_CALL ReceiveMessageAsync_invoke( axis2_svc_skeleton= _t * svc_skeleton, const axutil_env_t * env, axiom_node_t * node, axis2_msg= _ctx_t * msg_ctx)
{

=A0=A0=A0 if(node)
=A0=A0=A0 {
=A0=A0= =A0=A0=A0=A0=A0 const axis2_char_t *action1 =3D NULL;
=A0=A0=A0=A0=A0=A0=A0 axis2_char_t *action =3D "kk";
=A0=A0=A0= =A0=A0=A0=A0 const struct axutil_string *itstring =3D axis2_msg_ctx_get_soa= p_action(msg_ctx, env);
=A0=A0=A0=A0=A0=A0=A0 if(itstring=3D=3DNULL)
= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 AXIS2_LOG_DEBUG(env->log, = AXIS2_LOG_SI,"NULL VAL ON SOAPACTION");

=A0=A0=A0=A0=A0=A0=A0 action1 =3D axutil_string_get_buffer(axis2_msg_ct= x_get_soap_action(msg_ctx, env), env);
=A0=A0=A0=A0=A0=A0=A0 AXIS2_LOG_D= EBUG(env->log, AXIS2_LOG_SI,"Value ist %s",action1);
=A0=A0= =A0 }
=A0=A0=A0 return node;
}


The above is printing NULL in both cases.=A0 Any suggestions?


--90e6ba4fc2f65a85600492df943d--