Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pooling the Stub for Axis Soap Webservice Call

 
Abhishek Rath
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

   In my application we are creating the stub for each request and then on that Stub we are invoking the Login function to login to external vendor database. For last few weeks we are getting the below exception

Connection reset
org.apache.axis2.AxisFault: Connection reset
        at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
        at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:83)
        at org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84)

On multiple try we are able to get the response. So one of the suggestion the Vendor gave to use the Pooling for Stub with a TTL. SO please let me know how to proceed with this implementation.

 
Vijitha Kumara
Bartender
Pie
Posts: 3930
21
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First you could try caching your client object locally/have it as a global variable and try to use that?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic