Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2005

Tip: Looking for answers? Try searching our database.

Apache Axis Timeout setting, wsdd Web service

Thread view: 
danparker276@yahoo.com - 25 Jul 2005 21:14 GMT
I'm getting a timeout error when calling the java web service server
with my client.  It only happens when i have files over 80k.

I tried to put this in the config wsdd file, but it didn't work.

This is my error: (calling with a .net client

<parameter name="Timeout" value="2"/>
error is  :System.Web.Services.Protocols.SoapException:
java.net.SocketTimeoutEx
ception: Read timed out
  at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie
ntMessage message, WebResponse response, Stream responseStream, Boolean
asyncCal
l)
  at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodN
ame, Object[] parameters)
  at AlertServiceService.email(Int32[] in0, Int32 in1, String in2,
String in3,
String in4, String in5, Int32 in6)
  at AlertClient.Client.Main(String[] args) in
c:\umg\win\alertclient\src\clien
t.cs:line 133
iksrazal@terra.com.br - 26 Jul 2005 12:26 GMT
Timeouts are configured on the client side - think about it. With Axis
its like:

 //set timeout - default is 60s
  call.setTimeout(new Integer(timeout));

See your client docs, it'll have a timeout.

HTH,
iksrazal
http://www.braziloutsource.com/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.