Return-Path: Delivered-To: apmail-axis-c-dev-archive@www.apache.org Received: (qmail 38323 invoked from network); 20 Sep 2010 01:25:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Sep 2010 01:25:57 -0000 Received: (qmail 50192 invoked by uid 500); 20 Sep 2010 01:25:57 -0000 Delivered-To: apmail-axis-c-dev-archive@axis.apache.org Received: (qmail 50100 invoked by uid 500); 20 Sep 2010 01:25:56 -0000 Mailing-List: contact c-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list c-dev@axis.apache.org Received: (qmail 50092 invoked by uid 99); 20 Sep 2010 01:25:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 01:25:56 +0000 X-ASF-Spam-Status: No, hits=3.9 required=10.0 tests=HELO_DYNAMIC_IPADDR,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.17.12.50] (HELO mail006.50.12.17.216.mtka.securence.com) (216.17.12.50) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 01:25:49 +0000 Message-ID: <4C96B802.7010005@landoloons.com> Date: Sun, 19 Sep 2010 20:25:22 -0500 From: jim User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Apache AXIS C Developers List Subject: Re: can't get cookies working References: <4C90D779.6010407@landoloons.com> <4C918E6F.5080608@wso2.com> In-Reply-To: <4C918E6F.5080608@wso2.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Securence-ID: 1284945926616-010-02929186 X-Securence-Info: d87;0orl0;99otrp0;100opp10;100osrb2;99ous164;35oavs0;1ovxr0;100oclm100;94ocom0;6obsp0;94ovrc0;0ophc0;99isd0;7dds0;100domsplt0;100vac0;100dogp0;1med0;93fsqd0;12fsdd1;85dod0;0dds0;11domsplt0;89vac0;100dogp0;91med0;9fsqd0;23fsdd1;76dod0;91cld0;9lrd0;11dlv1;dmqq147;s376;t377 X-Securence-Latseq: <10-1284945928415> In the axis2 log I see [Sun Sep 19 20:09:43 2010] [debug] http_transport_sender.c(771) using axis2 libcurl http sender. In http_transport_sender.c I see that libcurl is used if AXIS2_LIBCURL_ENABLED is Edefined. Therefor it seems that libcurl is the default transport, and maybe this is why my attempts to include a cookie header have not succeeded...? However I can't find any place where AXIS2_LIBCURL_ENABLED is #defined. How can I use the default http transport instead of LIBCURL? On 9/15/2010 10:26 PM, Damitha Kumarage wrote: > Hi Jim, > Axis2/C has session support working. But I don't think any released > version has this support. Try 1.7.0 release candidate at [1]. At > client side session support you don't have to do any > configuration/coding. You need to set > axis2_options_set_manage_session() only if you are using libcurl > transport. But this is not the default transport. > > Damitha > > [1] http://people.apache.org/~shankar/axis2c/1.7.0-RC2/ > > jim wrote: >> I need to use Axis2C on OS X. I've gotten things working, sort of, >> but have stumbled on cookie support. The server I'll be accessing >> sets a cookie on an initial call, then expects it on subsequent calls. >> >> As far as I can see, I should be setting the options on the >> stub/service client so that 'manage session' = true. I've tried >> accomplishing this with axis_options_set_manage_session(). But, no >> cookie shows up in my requests >> >> I've tried explicitly adding a cookie HTTP header, by following >> examples I've found for adding headers to the stub/service client >> options. The exact syntax of the examples varies; but I never get a >> header in the HTTP request. >> >> Does cookie/session support work? Is it just a matter of getting the >> right syntax? Or is AxisC not able to handle cookies? >> >> Any responses will earn my undying gratitude... >> >> Jim Hughes >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org >> For additional commands, e-mail: c-dev-help@axis.apache.org >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org For additional commands, e-mail: c-dev-help@axis.apache.org