Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 43686 invoked from network); 5 Dec 2007 04:47:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2007 04:47:00 -0000 Received: (qmail 75223 invoked by uid 500); 5 Dec 2007 04:46:48 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 75212 invoked by uid 500); 5 Dec 2007 04:46:48 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 75201 invoked by uid 99); 5 Dec 2007 04:46:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2007 20:46:48 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.68.5.17] (HELO relay03.pair.com) (209.68.5.17) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 05 Dec 2007 04:46:26 +0000 Received: (qmail 92005 invoked from network); 5 Dec 2007 04:46:26 -0000 Received: from unknown (HELO ?10.100.1.163?) (unknown) by unknown with SMTP; 5 Dec 2007 04:46:26 -0000 X-pair-Authenticated: 123.231.21.16 Message-ID: <47562D9F.8070606@wso2.com> Date: Wed, 05 Dec 2007 10:18:31 +0530 From: Kaushalye Kapuruge User-Agent: Thunderbird 1.5.0.4 (X11/20060713) MIME-Version: 1.0 To: Apache AXIS C User List Subject: Re: AW: AXIS2/C and scope="soapsession" References: <55369AF6DCB7F84E82B389410504C3F104AFF8B2@WIC-CHMN-02.chres1.doleni.net> <475623EB.1090104@wso2.com> In-Reply-To: <475623EB.1090104@wso2.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Samisa Abeysinghe wrote: > Stadelmann Josef wrote: >> Hi Subra, >> >> The problem you see tells me that it is more wors with Axis2/C in >> regard to sessions >> as I expected. >> >> When looking at what I said below, regarding the defines made in >> axis_config.h >> one can get the impression that sessions are somewhat handled, >> but when I read >> your e-mail the I get a different feeling and the idea that some >> work is pending on Axis2/C > > SOAP session is not tested, even though the code may be there. All > that is supported is demonstrated in the sg_math sample. >> >> Meanwhil I am switching over from Axis2/C the simple_httop_server >> to Axis2 Java and call >> from a service object per session, an real instance of the class, >> one per soap session, via a >> WSIT toolkit through JVM my legacy services written in C, >> >> and there, in this legacy C code, I use my axiom and axutil libs >> ported to OpenVMS, from >> my wrapper of the legacy service. >> >> That way I can at least say: I have scope=soapsession supported >> by Axis2 Java and get to a >> OpenVMS process after all, one for each client calling in, >> through my webservice in Java. >> >> my issue is: one session to one OpenVMS process for >> authentication purpose. >> > > If it is about authentication, why not use WS-Security UsernameToken? > You can use this with the Rampart/C module and is the right way to do > auth in Web services. If this is a requirement... You may find the information on how to add Username Tokens to SOAP messages here[1]. A complete sample can be found here[2]. Cheers, Kau [1]http://wso2.org/library/2702#ut [2]http://svn.apache.org/repos/asf/webservices/rampart/trunk/c/samples/secpolicy/scenario2 > > > Samisa... > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-c-user-help@ws.apache.org > > -- http://blog.kaushalye.org/ http://wso2.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org