If you are using Axis2 you can update axis2.xml property
class="org.apache.axis2.transport.http.
CommonsHTTPTransportSender"> HTTP/1.1
locked="false">chunked
5000 This is one way to accomplish the
objective-Martin --
This email message and any files transmitted with it contain
confidentialinformation intended only for the person(s) to whom this email
message isaddressed. If you have received this email message in error,
please notifythe sender immediately by telephone or email and destroy the
originalmessage without making a copy. Thank you.
- Original Message -
From:
nancy
To: axis-user@ws.apache.org
Sent: Saturday, June 03, 2006 3:52
AM
Subject: org.apache.axis2.AxisFault:
Module not found
Hi,
I have found
following to set read time out:
options.setProperty(HTTPConstants.SO_TIMEOUT,timeOut);
options.setProperty(HTTPConstants.CONNECTION_TIMEOUT,timeOut);
But As I have studied
the there is one nonBlockingDualClient option in axis2, but I am facing one
problem is that I need to engage the module as follows:
serviceClient = new
ServiceClient();
serviceClient.setOptions(options);
serviceClient.engageModule(new
QName(Constants.MODULE_ADDRESSING));
error occurring
is:
org.apache.axis2.AxisFault:
Module not found
at
org.apache.axis2.description.AxisService.engageModule(AxisService.java:277)
at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:284)
I am not
using axis2 to implement my web services. I cant understand which module I
need to engage.
Please help
me to remove all these complications and
problems.
From: nancy
[mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 1:28
PMTo:
axis-user@ws.apache.orgSubject: Read time
out?
Hi,
I am using axis 2 for
implementing my web service client.whenever I invoke the webservice,I get
error:
Read
Time Out
I have
set options.setTimeOutInMilliSeconds(1000*60*60*60); in client but then also
error is occurring.
Caused
by: java.net.SocketTimeoutException:
Read timed out
at java.net.SocketInputStream.socketRead0(Native
Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at
org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:100)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:293)
... 6 more
I am not
using Tomcat but using simple web server and my webservice is implemented
using Jsoap-spheon
I have also
set servers timeout as infinite.But nothing
helps.
Please
advice.
With
Warm Regards,
Nancy
Aggarwal