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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
http://blog.kaushalye.org/
http://wso2.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]