axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From changxing <>
Subject Soap Request Problem Re: Http Error: could not Post file on server
Date Mon, 17 Nov 2008 04:04:37 GMT
Hi Amila,

Thanks for the reply.

First now I'm sure this has nothing to do with database.
I used a simple webservice(StockQuoteService which comes with axis2) to 
do more testing, which doesn't access database.
In the getPrice(), I delayed 40 seconds. 

If I request the service in IE, I get the result after 40 seconds.
But if I request the service in altova xmlspy(first create a soap 
request then send the soap request), I get the same error message as below:
Http Error: Could not Post file.....

This seems that soap request has a timeout value different from http 
request's.  Does axis2 treat soap request different from http request?
and is there a soap request timeout value in axis2?  confusing...


Chang Xing.

Amila Suriarachchi wrote:
> On Fri, Nov 14, 2008 at 1:49 PM, changxing <> wrote:
>     Hi Axis2 User Group,
>     My Axis2 webservice is deployed in Tomcat, this webservice will
>     access oracle to get information.
>     According to the parameter passed in, the query can be long or
>     short. For shorter one, this webservice
>     works ok, but if it takes long time(more than 30 seconds), then I
>     get this error:
>     Http Error: Could not Post file '/axis2/services/Myservice' on
>     server ' <>'(0)
>     then xmlspy gets a error message: Error sending the soap data.
>     I have set the requesttime out value to 200000 miliseconds in
>     axis2.xml, as well as the connectionTimeout value in tomcat.
> I think here the problem is with the tomcat. Try to write a servlet 
> and delay it more than 30s and see whether the same thing happen or not.
> thanks,
> Amila.
>     But these don't help to solve the problem.
>     Ever time, it will timeout after 30 seconds.
>     Does anybody can help with this problem?
>     Thanks very much!
>     Chang Xing.
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail:
>     <>
>     For additional commands, e-mail:
>     <>
> -- 
> Amila Suriarachchi
> WSO2 Inc.
> blog:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message