Could i pester you to add this into the FAQ? :)

thanks,
dims

On 11/11/05, Ravi Krishnamurthy <[EMAIL PROTECTED]> wrote:
>  Hello all;
>  well figured out a solution and this works for me. Came up with a solution
> aftre looking into the axis code.
>
>  Posting the snippet below:
>
>  ------------------------------------------
>  String cookieValue = "someusercookie";
>  Service service = new Service();
>  service.setMaintainSession(true); // need to be set before creating the
> call..
>
>  Call call = service.createCall();
>  ....
>
>  call.setProperty(HTTPConstants.HEADER_COOKIE,cookieValue);
>  call.setProperty(HTTPConstants.HEADER_COOKIE2,cookieValue);
>
>  ....
>
>
>  call.invoke(...);
>
>  -----------------------------------------
>
>  regards,
>  Ravi
>
>  Ravi Krishnamurthy wrote:
>  Hello:
>  Let me know if this is possible with Apache Axis.
>
>  All the webservies are secured with SiteMinder. During the webservice call
> the following needs to be done:
>
>
>
> obtain a sitemaintain token
>
> Take that token and use it to build a cookie associated with the
> webservicerequest.  Its name will be SMSESSION, its value will be what you
> obtain from the SiteMinder service and it will need to be presented to all
> "companyname.com sites.
> Once you've associated the cookie, make the calls as you normally would.
> Suppose the token could be obtained how to set the cookie with Apache Axis
> for a dynamic invocation client. Any pointers will be very helpful.
>
>  Thanks,
>  Ravi
>
>
>


--
Davanum Srinivas : http://wso2.com/blogs/

Reply via email to