axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaushalye Kapuruge <kausha...@wso2.com>
Subject Re: AW: AXIS2/C and scope="soapsession"
Date Wed, 05 Dec 2007 04:48:31 GMT
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


Mime
View raw message