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...

thanks,

Chang Xing.


Amila Suriarachchi wrote:


On Fri, Nov 14, 2008 at 1:49 PM, changxing <[EMAIL PROTECTED]> 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 '10.18.12.3 <http://10.18.12.3>'(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: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    For additional commands, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>




--
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to