Title: Session: client does not send senderId

Hi everybody,

I've got a problem with introducing session management into my webservice.
I'm using axis 1.2.1 and I'm developing a webservice using wsdl2java.
I added the following to my wsdl:

      <requestFlow>
        <handler type="java:org.apache.axis.handlers.SimpleSessionHandler"/>
      </requestFlow>

      <responseFlow>
        <handler type="java:org.apache.axis.handlers.SimpleSessionHandler"/>
      </responseFlow>   

      <parameter name="scope" value="Session"/>

I'm using the stub like this:

        MyServiceServiceLocator locator = new MyServiceServiceLocator();
        locator.setMaintainSession(true);
        MyService service = locator.getMyService();
        ...

Furthermore this is how my ant script looks like:
                <wsdl2java output="src" deployscope="Session" ...>
                  ...
                </wsdl2java>

Using the SoapMonitor I can see that every response comes with a different sessionId,
but no request ever contains anyone.

I know that this problem has been mentioned earlier in this list, but I couldn't find any solution.
Does anybody have an idea?

Thanks a lot,
Markus

###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/

Reply via email to