Where to increase Web Service timeout property

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

Async process can be fire and forget, meaning you don't ever want to response from the client. You can also have a response that will return in any time in the future.
A human task is an example of this. You create a work list for someone. The BPEL process waits for the person to either accept or reject.
The beauty of calling a BPEL process is that this is managed out of the box. If you are doind some bespoke development then you may need to use correlation sets.
cheers
James

Similar Messages

  • Web Service Timeout & connection errors

    Using jwsdp 2, i have developed a client that has a timeout property set. How are timeouts processed? Is an exception thrown by the port? or does the web method just return with a null return value?
    I also have noticed that in simulating a connection error (by stopping my app server) that an exception is thrown by the web method? but the exception is a javax.xml.ws.WebServiceException. How do I distinguish connection errors from other exceptions? what other exceptions are there?
    Basically, where is this info documented?

    Hello Vipul
    Enter the RZ10 and validates the TIMEOUT value of parameter "icm/server_port_<x>" for  PROT=HTTP and PROT=HTTPS.
    For example, the HTTP service is on port 0 and TIMEOUT=600 seconds
    icm/server_port_0 = PROT=HTTP,PORT=80$$,PROCTIMEOUT=600,TIMEOUT=600
    in your case, increasing the TIMEOUT and validates the WS again
    regards
    Juan

  • Web service timeout

    When i communicate with external system using web service call, i can transafer 3500 record. if i run it for more than 3500 records it gives error "SOAP:1,023 SRT: Processing error in Internet Communication".
    i tried to use SM59, HTTP connection to external server. current set up is ICM Default timeout..
    I want to change but rfc destination is generated and i dont have option to change it to "no timeout" or specify timeout.
    you help is appreciated. .

    Hello Vipul
    Enter the RZ10 and validates the TIMEOUT value of parameter "icm/server_port_<x>" for  PROT=HTTP and PROT=HTTPS.
    For example, the HTTP service is on port 0 and TIMEOUT=600 seconds
    icm/server_port_0 = PROT=HTTP,PORT=80$$,PROCTIMEOUT=600,TIMEOUT=600
    in your case, increasing the TIMEOUT and validates the WS again
    regards
    Juan

  • EDQ Web Service Timeout setting

    Hi,
    We have integrated OEDQ with Siebel. Requests are flowing as expected. Just want to know, how long the connector will be waiting for web service response from OEDQ.
    Is there place where timeout is set by default?
    Best Regards
    Moorthy

    Hi,
    We have integrated OEDQ with Siebel. Requests are flowing as expected. Just want to know, how long the connector will be waiting for web service response from OEDQ.
    Is there place where timeout is set by default?
    Best Regards
    Moorthy

  • "JSR 172 Web Service Timeout"

    I have successfully used JSR172 and Sun's stub generator to access my web services and it works very nicely. The only hitch I see is that if for some reason ( not very likely but I'd like to handle it anyway ) the Blackberry client connects to the service by never receives a response, it appears to hang indefinitely.
    Is there a way to set a time out, since it doesn't seem to fall through normal error trapping
    I suppose I could kill the thread after a certain amount of time but that seems rude and would likely cause other problems
    This is at the point where the JSR172 Invoke api is called.
    thnx in advance...

    Hi,
    Check parameters *icm/server_port_<xx> *
    In my CRM system, I have setup :
    icm/server_port_0 = PROT=HTTP,PORT=80,TIMEOUT=90,PROCTIMEOUT=600
    The PROCTIMEOUT is the one interesting for you.
    I have set up it to 600 seconds to get the same timeout as with the sapgui.
    Check also rdisp/plugin_auto_logout but it is more useful for the webui than for web services.
    Regards,
    Olivier

  • Web service Timeouts

    Version                   :     Informatica 9.6.1 Hot Fix 1Installation Server    :   AIX server Informatica workflow reads records from an Oracle table and makes a web service calls. I am seeing the below error message in the session log. Time out defined in the connection object is 450s (7.5 min).  Need you inputs in understanding the timeouts i am seeing in the session log. The job runs in 4 partitions and i see few transactions getting dropped as well during this web service calls. Open Issues1. Where does this timeout enforced? In the application level the request completes before 7 mins.2. Why does Informatica drops requests while making web service calls (partition is pass through). Session Log ErrorTRANSF_1_2_4> PMWS_33016 [ERROR] Web Service invoker encountered an error while invoking the Web Service. Reason: Operation timed out after 60014 milliseconds with 0 out of -1 bytes receivedTRANSF_1_2_4> CMN_1761 Timestamp Event: [Wed Jul 15 04:05:19 2015]TRANSF_1_2_4> PMWS_33016 [ERROR] Web Service invoker encountered an error while invoking the Web Service. Reason:TRANSF_1_2_4> CMN_1761 Timestamp Event: [Wed Jul 15 04:06:19 2015]TRANSF_1_2_4> PMWS_33016 [ERROR] Web Service invoker encountered an error while invoking the Web Service. Reason: Operation timed out after 60069 milliseconds with 0 out of -1 bytes received

    Hi all, Please help me with metadata query to extract each session RUN_DURTION, Start Time, end time for last 10 runs of each session at a workflow level. I know we can get information from REP_WFLOW_RUN table but i dont know table strucure and I dont have access to Repository database and we need an exact query to raise it to admin team. so please provide me an exact query.   Thanks

  • (261936172) Q general Where are the Web Service source files?

    Q <general> Where are the source files for a Web Service created
    with WebLogic Workshop stored? How do I deploy the Web Service
    on a different WebLogic Server? Is there a way to bundle the
    Web Service project files manually to distribute them?
    Is there a way to configure the directory where Workshop stores
    the files?
    ANSWER: (by Adam Fitzgerald, [email protected]) The .jws files are stored
    in the project folder. This can be located on a local system, although by default
    they are in c:\bea\wlserver700b\sample\workshop\applications. The Web Service
    structure is understood by WLS 7.0 so by archiving the appropriate folder you
    can transfer the Web Service in its entirety from one deployment to another.

    Hi Dean,
    In SharePoint 2013 Designer, the help files are online. They provide tons of general information regarding SharePoint Designer 2013.  You can also find help files at:
    http://technet.microsoft.com/en-us/library/jj219638%28office.15%29.aspx .
    And find a great set of information on SPD 2013 and the new Workflow architecture here:
    http://msdn.microsoft.com/library/office/jj163986(v=office.15)
    More information, please refer to the link:
    http://blogs.msdn.com/b/sharepointdesigner/archive/2012/08/07/welcome-to-sharepoint-designer-2013-customer-preview.aspx
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Where are teh Web Services Samples?

    I have downloaded the latest PDK and the web services samples are not included. They also were not included in the Relase 2 Install of the Portal as far as I can tell. Can someone tell me where to find them.
    Thanks

    Please find Web Services samples article sources at http://portalcenter.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/HOW.TO.BUILD.WEB.SERVICES.PORTLETS.HTML
    one can many articles related to PDK under articles folder inside pdk.zip.

  • Where does these web services reside???

    Hi all !!!
    I am damn new to ESOA and Web services concepts....
    I am working in PI 7.1. I would like to use the existing web services that are reposited by SAP Labs..But I am unable to find them in My PI 7.1 pack....Actually where do they exists??
    How can we use them?? I would like to develop a composite web service with the existing ones.
    So experts please help me out !!!
    Thnak you in advance
    Regards
    Pavani

    Hi Pavani,
    You need to have Enhancement Packages installed on your ERP.
    Then you can enable the Enterprise Services from it. You can consume it using any UI tool like WebDynPro etc.
    These Web Services reside on SAP ERP.
    No ESR of PI 7.1 is required.
    Regards,
    Piyush

  • Where to deploy Web Service Proxy

    I have built a web service proxy, now I need to decide where to deploy it. It will be invoked by an inegration process.
    My choices are:
    (1) Our main PI integration server. This is HA and UNIX based, and is the "big, robust" box with lots of resources.
    (2) Our PI remote adapter engine. This is a lightweight Windows-based box that is not HA, used mainly for PI to access windows file shares.
    I am assuming I should deploy to (1). But since this is where the integration process is running (which is the client to the web service proxy), is there any reason they should not be on the same box? I thought a read a help doc that said to not install a (web service? java?) proxy on the main integration server, but I can't find the reference now. Wasn't sure if a deadlock scenario was possible, like when one web service calls another web service on the same web server, and there is heavy load.
    Thanks in advance for any recommendations.
    RBL

    Hi Robert,
       Although i do not have an exact answer, i'm just thinking out loud.
    Since the integration processes run on the ABAP stack of the XI system and you would be deploying your webservice on the Java stack of the system, i do not foresee any dead lock situation as such.
    ANyways, i will wait with you for the experts to comment.
    Thanks and Regards,
    Ravi

  • Where is the Web Service fault in the WSDL definition?

    Hi all,
    I have created a Web Service out of function module, using the SAP standard wizard. The creation went fine, I can receive the WSDL file via the SOAMANAGER application. But: In this WSDL file it seems that the Web Service faults (i.e. the exceptions of the underlying function module) are not part of the "wsdl:operation" definition (even if they and their format are defined in that file).
    Is that a bug or do I miss something here?
    How are the faults integrated in the response definition of the service?
    Thanks in advance for your help!
    Kind regards, Matthias

    solved, see SAP note 1270688

  • Web Services Timeout

    I have a problem to specify the timeout of a service web. I have a client who accedes with Axis to a service web. I have the following code but it does not work:
    locator= new Locator();
    servicio= locator.getPort();
    ((org.apache.axis.client.Stub)(servicio)).setTimeout(Constantes.TIME_OUT);
    servicio.saluda("Juan");
    As I have the timeout of the Axis understood it is not of connection, but itcontrols the timeout when already these connected to the service web. There exists some way of specifying timeout of connection (socket)? Some suggestion?
    The problem that I have is that the application continues waiting for the connection for the service web until he(she) returns the following mistake:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.net.ConnectException: Connection timed out
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace: java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:452)
    at java.net.Socket.connect(Socket.java:402)
    at java.net.Socket.<init>(Socket.java:309)
    at java.net.Socket.<init>(Socket.java:124)
    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:129)
    at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
    at org.apache.axis.client.Call.invoke(Call.java:2553)
    at org.apache.axis.client.Call.invoke(Call.java:2248)
    at org.apache.axis.client.Call.invoke(Call.java:2171)
    at org.apache.axis.client.Call.invoke(Call.java:1691)
    java.net.ConnectException: Connection timed out
    at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
    at org.apache.axis.client.Call.invoke(Call.java:2553)
    at org.apache.axis.client.Call.invoke(Call.java:2248)
    at org.apache.axis.client.Call.invoke(Call.java:2171)
    at org.apache.axis.client.Call.invoke(Call.java:1691)
    Caused by: java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:452)
    at java.net.Socket.connect(Socket.java:402)
    at java.net.Socket.<init>(Socket.java:309)
    at java.net.Socket.<init>(Socket.java:124)
    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:129)
    at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)
    ... 13 more

    Hi
    I used axis to generate the stubs..
    In the stub "MySericeSoapStub extends org.apache.axis.client.Stub"
    i added the following line in the createCall() Routine
    protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
    try {
    org.apache.axis.client.Call call = super.createCall();
    System.out.println( "Calling :"+ super.cachedEndpoint) ;
    _call.setTimeout( new Integer(10000) ) ;
    System.out.println( "Setting the timeout 10 seconds ..." ) ;
    if (super.maintainSessionSet) {
    _call.setMaintainSession(super.maintainSession);
    .......................

  • Prime Collaboration 9.5 (Increase web Session Timeout)??

    Hi,
    Need some advise here...Can we increase the timeout web session of the PC (9.5)?
    We are running an NOC and were trying to project the front page of PC to the front of the room....But every 25mins, it just timeout and return to the login screen.
    Is there any workaround for this problem?
    Thanks
    Choy

    Hi,
    try logging through putty using port 26 and enter username as admin
    look for the command forceout if it helps.
    admin/admin#forceout ?
    regds,
    aman

  • Prob in Testing the sample Applicaion "Online Store with Oracle9i Web Services"

    Hi,
    I am testing this "ONLINE STORE" webservice application.I have deployed the web services and the application in Standalone OC4J V 903
    I get the following error when JSP try to access the Web service.
    whereas i can access the bean successfully from a client.
    First I got the error "Authenticate against the proxy server".Since both my apps are in the same machine,it should not have asked for that.
    When i put the authentication code,it gave the folowing "timeout error".
    Error
    Unsupported response content type "text/html", must be: "text/xml". Response was: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Microsoft FrontPage 3.0"> <title>10060 -- Connection Timed Out</title> </head> <body bgcolor="#BEBEBE"> <h2>Proxy Reports:</h2> <div align="center"><center> <table border="1" width="90%"> <tr> <td width="100" bgcolor="#FFFFFF"><font color="#FF0000"><strong>10060</strong></font></td> <td bgcolor="#FFFFFF"><font color="#FF0000"><strong>Connection timed out</strong></font></td> </tr> </table> </center></div> <hr size="6" width="90%"> <div align="center"><center> <table border="0" width="90%"> <tr> <td><em>The web server specified in your URL could not be contacted.  Please check your URL or try your request again.</em><p><em>This error could have been caused by:</em><ul> <li><em>Bad / misspelled URL</em></li> <li><em>Following an invalid link</em></li> <li><em>Your network connection and/or transient conditions on the Internet</em></li> <li><em>Load conditions on the web server.</em></li> </ul> </td> </tr> </table> </center></div> <hr size="6" width="90%"> <p><em>Microsoft Proxy Server v2.0</em></p> <p><strong>Proxy Server : proxysvr.mumbai.tcs.co.in</strong></p> <p><strong>Via : </strong></p> </body> </html>
    Can anyone help me in this ?
    I tried deploying a single web service one at a time.The first webservice worked but when i deployed the next one again i get the same error !
    Thanx for ur prompt reply in advance!
    Chhimi

    Hi,
    I hav specified the correct conection parameter values in ConnectionParam.java.
    When i try to run the currency converter Web service thhrough a simple client i get the following error :
    F:\JDeveloper903\jdk\bin\javaw.exe -ojvm -classpath G:\CY\WebServ-Code\WS_Currency\ProjectCurr\classes;F:\JDeveloper903\jdev\lib\jdev-rt.jar;F:\JDeveloper903\jdev\lib\jdev-rt.jar;F:\JDeveloper903\soap\lib\soap.jar;F:\JDeveloper903\lib\xmlparserv2.jar;F:\JDeveloper903\jlib\javax-ssl-1_2.jar;F:\JDeveloper903\jlib\jssl-1_2.jar;F:\JDeveloper903\j2ee\home\lib\activation.jar;F:\JDeveloper903\j2ee\home\lib\mail.jar;F:\JDeveloper903\j2ee\home\lib\http_client.jar Curr_Pkg.CurrrencyMain
    [SOAPException: faultCode=SOAP-ENV:IOException; msg=services.xmethods.net; targetException=java.net.UnknownHostException: services.xmethods.net]
         void org.apache.soap.SOAPException.<init>(java.lang.String, java.lang.String, java.lang.Throwable)
              SOAPException.java:77
         void oracle.soap.transport.http.OracleSOAPHTTPConnection.send(java.net.URL, java.lang.String, java.util.Hashtable, org.apache.soap.Envelope, org.apache.soap.encoding.SOAPMappingRegistry, org.apache.soap.rpc.SOAPContext)
              OracleSOAPHTTPConnection.java:765
         org.apache.soap.rpc.Response org.apache.soap.rpc.Call.invoke(java.net.URL, java.lang.String)
              Call.java:253
         java.lang.Float mypackage1.CurrencyExchangeServiceStub.getRate(java.lang.String, java.lang.String)
              CurrencyExchangeServiceStub.java:56
         void Curr_Pkg.CurrrencyMain.main(java.lang.String[])
              CurrrencyMain.java:13
    Exception in thread main
    Process exited with exit code 1.
    I hav bypassed this web service by hardcoding in the code where it has been called.
    Today again I try to run the application, The Shipping Web service worked fine but only once then again the same error got displayed!
    I think it's all due to the proxy authentication code that it goes in a loop !
    Mike, I hav cleaned the deployment files before redeploying the application.
    As far as the "WS-demo=...." etc files which u ver referring to.. I think it's due to the profile dependencies in the deployment profile for the WS-demo app where all the web services deployment are checked. I had unchecked that option since i deployed al the web services individually.
    Please anyone has any clue what's wrong.
    I tried deploying a simple web service in Oracle9iAS Rel 2 and try to access that through a JSP deployed in standalone OC4J. Ther also it hanged ? Is it due to proxy authentication. Is there some additional procedure for deploying web service to Oracle9iAS?
    Please reply ASAP !!

  • Java.properties in web services

    Hi,
    I have been having problems deploying web services using .property files to configure them, namely I keep getting file not found exceptions. I have had success using a relative properties file but I would really like a central file to ease maintenance issues, like when I am building stand alone apps I can add the files to the classpath and find them no problem.
    I have tried jar'ing them and adding them to tomcats common/lib directory but it still isnt working.
    Any ideas?
    cheers

    hi jjzou,
    This is what I am currently doing and works perfectly when I am running stand alone apps, as then I can set the classpath to where the properties file is. However when I try it in a web server the classpath isnt so easy to define, to find file I normally just drop the jar in the common/lib dir. But when I drop a jar with the properties file in it it still cant find it....
    I am totally perplexed at the moment, I know I could possiblt use the <env-entry> tags in the deployment descriptor but I am unsure if I can change these entries at run time, which I need to every now and again depending on what the user wants the web service to do.
    thanks for the suggestion anyway :)
    Pasty

Maybe you are looking for

  • Dvd keeps ejecting during multiplexing and burning in idvd

    Ok, I realize a lot of other people have had this problem and somehow managed to resolve it. I have done a lot of reading and experimenting but so far NOTHING has worked. So, to recount everything that I have tried and all the details to this problem

  • Run sql statements in PL/Sql Developer without installing Oracle database?

    Hi all, I wish to ask is there any possibility to run Run sql statements in PL/Sql Developer without installing Oracle database? Regards.

  • Download data to file

    hi, all the data i need to dispaly in the output is in final internal table gt_final. whereas the problem i need to download this data to excelsheet. please let me know what are the varibles i need to pass to the FM GUI_DOWNLOAD where i need to write

  • Free adobe reader or compatible

    I have Bell fibe internet, windows 7, internet explorer 11 and am unable to open pdf files from the website in adobe free reader.  Could anyone explain this.  I was able to view pdf files before i got fibe internet.  Do you know any free readers that

  • Belle FP2 Gallery and camera update

    After the recent update of gallery and camera on 808 and 701, which allows finally the multiple selection, I've found on both devices that if you select 2 or more photos in the gallery and then you send them by email, the email app closes suddenly an