Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

where to increase Web Service timeout property

Krr1shAug 3 2009 — edited Aug 3 2009
Hello All,

I have developed a stateless java web service that executes a sql query.
Query exectung for more than 5 minutes by the time the web service is throughing an exception:

****************Exception Message**********************

WARNING: Unable to connect to URL: http://testhost.appsassociates.com:7781/TimeOutTest/TimeOutTestSoapHttpPort due to java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; charset=iso-8859-1
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; charset=iso-8859-1
at proxycallertimeout.proxy.runtime.TimeOutTestSoapHttp_Stub.testMethod(TimeOutTestSoapHttp_Stub.java:84)
at proxycallertimeout.proxy.TimeOutTestSoapHttpPortClient.testMethod(TimeOutTestSoapHttpPortClient.java:43)
at proxycallertimeout.proxy.TimeOutTestSoapHttpPortClient.main(TimeOutTestSoapHttpPortClient.java:30)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; charset=iso-8859-1
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:174)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:150)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:176)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
at proxycallertimeout.proxy.runtime.TimeOutTestSoapHttp_Stub.testMethod(TimeOutTestSoapHttp_Stub.java:77)

**************************************************

If query tekes less time to finish everything is working fine.

How to make the webservice wait for more time.

Thanks
Saikrishna
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 31 2009
Added on Aug 3 2009
5 comments
2,043 views