axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stadelmann Josef" <josef.stadelm...@axa-winterthur.ch>
Subject AW: AW: AXIS2/C and scope="soapsession"
Date Wed, 05 Dec 2007 06:45:49 GMT
Kau,
	Thank you very much, I will have a look at it when we come 
	to snip in this type of support, both for Axis2(Java/C).
	Again, we are not using scope=soapsession for only authentication
	purpose but we use it because our legacy code base is not thread 
	safe due to it's age. And hence we need one legacy process 
	integrated by means of webservices with each user/client session.

Josef.Stadelmann@
axa-winterthur.ch


-----Urspr√ľngliche Nachricht-----
Von: Kaushalye Kapuruge [mailto:kaushalye@wso2.com]
Gesendet: Mittwoch, 5. Dezember 2007 05:49
An: Apache AXIS C User List
Betreff: Re: AW: AXIS2/C and scope="soapsession"


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


---------------------------------------------------------------------
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