You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Avinash Joshi eSpace <ja...@espacetech.com> on 2001/02/22 13:10:45 UTC

Session Tracking in SOAP

Hi All,
I'm implementing Apache Soap version 2.0 and facing following problems,
Whenever I send two simultaneous requests to Soap server, the requests are
forwarded to another soap server and in the end when the final result comes
back to the clients, the result is issued to the wrong client.
I want to know Whether one can implement session traking in Soap & How to do
it?

Regards,
==Avinash.

getDocumentElement

Posted by Gus Delgado <gu...@netquotient.com>.
I'm running into a problem when creating a Document and then trying to get
the root element.

XMLParserLiaison xpl = new XercesParserLiaison();
Document doc = xpl.createDocument();

...I do this and then I add Element objects but when I do
doc.getDocumentElement() I get a nullpointerexception.. does anyone know
why??

I thank you in advance.....

gus

getDocumentElement

Posted by Gus Delgado <gu...@netquotient.com>.
I'm running into a problem when creating a Document and then trying to get
the root element.

XMLParserLiaison xpl = new XercesParserLiaison();
Document doc = xpl.createDocument();

...I do this and then I add Element objects but when I do
doc.getDocumentElement() I get a nullpointerexception.. does anyone know
why??

I thank you in advance.....

gus

Re: Session Tracking in SOAP

Posted by Ozzie Orion <oz...@hotmail.com>.
In the SOAP specification it talks about using the header to put in a transaction id. This is how they described you can talk to a StockQuoteService and request for multiple quotes at a time.

<SOAP-ENV:Header>
    <!-- must understand attribute is important -->
    <t:Transaction xmlns:t="??" SOAP-ENV:mustUnderstand="1">
        5
    </t:Transaction>
</SOAP-ENV:Header>

Is that your problem?

Thanks,
Ozzie Gurkan
  ----- Original Message ----- 
  From: Avinash Joshi eSpace 
  To: soap-dev@xml.apache.org ; soap-user@xml.apache.org 
  Sent: Thursday, February 22, 2001 7:10 AM
  Subject: Session Tracking in SOAP


  Hi All,
  I'm implementing Apache Soap version 2.0 and facing following problems,
  Whenever I send two simultaneous requests to Soap server, the requests are forwarded to another soap server and in the end when the final result comes back to the clients, the result is issued to the wrong client.
  I want to know Whether one can implement session traking in Soap & How to do it?

  Regards,
  ==Avinash.

Re: Session Tracking in SOAP

Posted by Ozzie Orion <oz...@hotmail.com>.
In the SOAP specification it talks about using the header to put in a transaction id. This is how they described you can talk to a StockQuoteService and request for multiple quotes at a time.

<SOAP-ENV:Header>
    <!-- must understand attribute is important -->
    <t:Transaction xmlns:t="??" SOAP-ENV:mustUnderstand="1">
        5
    </t:Transaction>
</SOAP-ENV:Header>

Is that your problem?

Thanks,
Ozzie Gurkan
  ----- Original Message ----- 
  From: Avinash Joshi eSpace 
  To: soap-dev@xml.apache.org ; soap-user@xml.apache.org 
  Sent: Thursday, February 22, 2001 7:10 AM
  Subject: Session Tracking in SOAP


  Hi All,
  I'm implementing Apache Soap version 2.0 and facing following problems,
  Whenever I send two simultaneous requests to Soap server, the requests are forwarded to another soap server and in the end when the final result comes back to the clients, the result is issued to the wrong client.
  I want to know Whether one can implement session traking in Soap & How to do it?

  Regards,
  ==Avinash.