Apache Axis Timeout setting, wsdd Web service

D

danparker276

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
 
I

iksrazal

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/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top