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

Set soap time-out  RSS feed

 
Anand Loni
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

My Application structure is like this :

Back End: I am using Axis web service. I am writing wsdl and using WSDL2Java tool to generate Stub and Skeleton classes.

UI: It is in PHP and its calling web service methods using Soap.

Problem is I am getting some soap exception and I think this is because of timeout. My backend is unable to set response in 60 seconds so UI is giving resonse as blank.

I want to set timeout for the soap. (override the default timeout i.e. 60 sec). I have searched on net but I didnt get proper answers to this.

can anybody tell me how can I set timeout in backend code i.e through web service or wsdl2java etc

thanks,
anand
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's timing out is not SOAP (which does not have such a concept), it's the underlying HTTP connection. Consult the documentation of the PHP API you're using to make this call; it may have options to set a longer timeout window.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!