Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting SESSION_OUT ERROR while consuming asp.net web services using APACHE AXIS(JAVA)  RSS feed

 
ehtesham mehdi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,
I need to consume ASP.net web services in java through Apache axis api

1)calling Authenticate() web service method and getting the Security Token


2)Calling GetDepositAccountDetails() web service method, and need to pass the Security token generated
from Authenticate() web service method of STEP 1).
i am getting SESSION_OUT ERROR in the soap response like below.


I am getting empty soap response along with this error :

<ErrorCode>10</ErrorCode><ErrorMessage>SESSION_OUT</ErrorMessage><ErrorSource />


The detailed SOAP RESPONSE is as follows :

[size=18]<?xml version='1.0' encoding='utf-8'?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><GetDepositAccountDetailsResponse xmlns="http://www.intervoice.com/"><DepositAccountDetails><TimeStamp>11-03-09 11:42 AM GMT</TimeStamp><ErrorCode>10</ErrorCode><ErrorMessage>SESSION_OUT</ErrorMessage><ErrorSource /><MemberId /><Last4SSN /><AccountNumber /><AccountType>NONE</AccountType><AccountSubType /><AccountDescription /><CurrentBalance /><AvailableBalance /><BounceBalance /><LedgerBalance /><LineOfCreditBalance /><ODPBalance /><InterestRate /><YTDDividend /><PYTDDividend /><YTDInterest /><LYTDInterest /><LastStatetmentDate /><InterestPaidDate /><LastInterestPaid /><OverdraftLimit /><AvailableODPAmount /><ODPInterestRate /><OneDayFloatAmount /><TwoDayFloatAmount /><ThreeDayFloatAmount /><FourDayFloatAmount /><FiveDayFloatAmount /><TotalHolds /><ZeroBalanceAccountFlag>false</ZeroBalanceAccountFlag><CrossAccountTransfer>false</CrossAccountTransfer></DepositAccountDetails></GetDepositAccountDetailsResponse></soap:Body></soap:Envelope>[/size


I would appreciate if any one of you could help me out in resolving the SESSION_OUT ERROR.
I tried setting session time out value like
opts.setManageSession(true);
opts.setTimeOutInMilliSeconds(5000);

Still i am not able to resolve this.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!