Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > client state with AXIS WebService

Thread Tools

client state with AXIS WebService

Reinhold Mannsberger
Posts: n/a

I'm trying to access an AXIS WebService from .NET.
After a lot of WSDL hacking I was able to create a proxy,
furthermore it was necessary to implement a SoapExtension
to get it working.
However there remains a problem: The session state.
I know about the CookieContainer property. But the
CookieContainer never gets filled right
(CookieCollection.Count is always 0).
It is for sure, that there are cookies:
HTTP/1.1 200 200 OK
Date: Tue, 24 Feb 2004 11:39:46 GMT
Server: Netscape-Enterprise/6.0
Content-type: text/xml; charset=utf-8
Set-Cookie: GX_jst=90c7c67c662d6165;Path=/NASApp/axis;
Set-Cookie: GX_jst=90c7c67c662d6165;Path=/NASApp/axis
Set-Cookie: JSESSIONID=-
X-Cache: MISS from
Keep-Alive: timeout=180
Connection: Keep-Alive
Transfer-Encoding: chunked

<?xml version="1.0" encoding="UTF-8"?>
<response method="ksvLogin">

As a consequence of the missing cookies subsequent calls
to WebService methods always return an "User not logged
in" error.

I have an fully functional Java client for the same
------------------- (code snippet) portAddress = new
KSVInfoServiceLocator locator = new KSVInfoServiceLocator
KSVInfoBindingStub stub = (KSVInfoBindingStub)
// calling login method
// calling other methods
The Java client works fine.
When I set
then I the "User not logged in" error occurs on subsequent
WebService method calls. So it crucial that this value is
set to true.
But how can the same be done in .NET?

Any help on this topic would be appreciated.



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem to call a WEBSERVICE in another WEBSERVICE (AXIS/ TOMCAT) Cyril Java 2 06-01-2006 06:07 PM
Webservice-Client (Axis) with HTTP-Authentication: how to do? Reinhard Java 0 03-29-2006 09:23 PM
AXIS jars org.apache.axis.wsi.* and org.apache.axis.transport.jms.* Java 0 02-23-2005 04:02 PM
Calling Axis WebService out of .net Client Christian Wilhelm Java 0 12-16-2004 03:28 PM
axis.jar does not contain org.apache.axis.client.ServiceClient? Joey Vendetta Java 0 04-01-2004 05:51 PM