Timeouts during http requests

Hi,
We have noticed that long HTTP requests from the IP phones to a web server are terminated with a timeout (timeout varies according to the phone model).
Where is these timeout being set? and is it editable?

this confusion occurrs commonly. Frankly, the StringTokenizer class is not documented well: the delimited Stirng is not treated as a single delimiter. Instead, it is treated as a list of character delimiters. Thus, when you create your StringTokenizer, you are actually defining '%', '2', and '0' as your delimiters. Any of those characters would be treated as a delimiter.

Similar Messages

  • Unexpected error during HTTP request to voucher server The operation timed out

    I read books from my library through a system called READS. I have successfully used DE 1.0 without any problems, however, when I tried to use it recently it required me to upgrade to 1.5. Well I did so and now the books won't authorize. Here is the error message I am getting:
    Adobe DRM Error System: 5 State: 4 Class: 600 Code: 106 Message: Error on request or response from server. Please check your network connection and try again. Scroll below or view error.log for more details.
    Adobe DRM client Error: 706 Unexpected error during HTTP request to voucher server The operation timed out
    Requested URL: http://207.54.136.76/fulfill/ebx.etd?action=lend&orderid=939605378082105&bookid=ContentRe serveID:B91CC494-23AF-4C6A-9B0C-7DA050C05722-50
    Requested URL: http://207.54.136.76/fulfill/ebx.etd ?action=lend &orderid=939605378082105 &bookid=ContentReserveID:B91CC494-23AF-4C6A-9B0C-7DA050C05722-50
    --- end ---
    I have tried this multiple times with more than one book. Again, they worked just fine before I did the upgrade. I am running Vista SP1.

    Never mind, they obviously post the message on the ticket, but it doesn't send an e-mail. I will try what they indicated. Here is their response...
    Thank you for contacting Adobe Technical Support.
    I understand that you are getting "Adobe DRM Error" in Digital Editions.
    We have documented the steps to resolve this error message. Please do
    refer to this TechNote:
    Error: "Adobe DRM Error" when you activate Digital Editions or access an
    eBook
    http://www.adobe.com/go/kb402747

  • Incorrect URI is shown in packet capture of phone during http request

    Good morning from Germany,
    i read in the CSCuo15738, that the Bug with the incorrect HTTP Get Request is fixed.
    But I found no new FW Files for these 79xx Phones
    best Regards

    Correct.  When a connection (TCP SYN) arrives, the CSS checks all of the rules it has that match the IP and port on the traffic. If any rule with that ip/port combination requires we need more data (i.e. a url, a cookie, an http header.) - The CSS must terminate the connection before choosing a rule.  The termination looks like this:
    Client->CSS *SYN* 
    CSS->client *SYN,ACK*
    Client->CSS *ACK*
    Client->CSS *GET*
    CSS->Client  *ACK*
    At this point, the CSS checks for whatever the L5 rule required and matches based on the most specific rule that the GET pertains to.
    Hope that helps!

  • RSTPTEST , RFC ping failed RFC error text: timeout during allocate / CPIC-C

    Hi all,
    I was transporting the request in my landscape last week and all of sudden transports in acceptance system is not working and I am getting a error message as
    Could not start transport control program tp
    Message no. TP608 Diagnosis
    There was an attempt to start the transport control program tp using the local RFC interface. An error occurred here.
    Error code: 4
    RFC error text: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
    Meaning of the error codes:
    03 RFC system failure
    04 RFC communication failure
    System Response
    The function terminates. Details about the error can be found in the trace file of the Gateway Monitor (SMGW).
    SMGW logs are as follows:
    Tue Jun 16 12:04:28 2009
    ERROR => GwISearchPartner: timeout, partner LU: >hostname<, TP: >M:\usr\sap\SID\DVEBMGS00\exe\tp.EXE< [gwr3cpic.c   6135]
    ERROR => GwISearchPartner: HOST: hostname conv ID: 50323660 [gwr3cpic.c   6148]
    , This is the 3 system landscape, common transport directory in development system.
    Actions taken:
    Restarted the systems (PRD queue is working but not acceptance queue)
    DIR_TRANS and Permission were given already and able to ping  from all the sytem
    Host and service entry were maintained already.
    RFC connections were woring fine without errors
    I have seen many threads but none of the thread is solved my problem.
    Please suggest
    Vijay

    Hello,
    Thanks fpr your reply and I tried the steps which you said and the result is same error for both the options.
    1 & 2 Answers :
    Could not start transport control program tp
    Message no. TP608 Diagnosis
    There was an attempt to start the transport control program tp using the local RFC interface. An error occurred here.
    Error code: 4
    RFC error text: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
    Meaning of the error codes:
    03 RFC system failure
    04 RFC communication failure
    System Response
    The function terminates. Details about the error can be found in the trace file of the Gateway Monitor (SMGW).
    SMGW logs are as follows:
    Tue Jun 16 12:04:28 2009
    ERROR => GwISearchPartner: timeout, partner LU: >hostname<, TP: >M:\usr\sap\SID\DVEBMGS00\exe\tp.EXE< http://gwr3cpic.c 6135
    ERROR => GwISearchPartner: HOST: hostname conv ID: 50323660 http://gwr3cpic.c 6148
    I think this is not able to contact the domain controller.
    But I can see the checks are fine from checking the transport directory.
    Vijay

  • Timeout during commit processing

    Hi All,
    I am facing time out exception on test environment. It is clustered environment with 2 nodes. I have set trust domain between the two weblogic domains.
    In one of my EJB method having tranaction attrbiute set as Required. In this method I also make a remote ejb call to different system for which I have set Trust.
    When i execute this method , I see all my debug statement entering the method and exiting the method, after it exits my method , my client still waiting on response from this method and finally he get the java.rmi.RemoteException.
    Detailed exception as below....
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
         com.bea.control.ServiceControlException: <xml-fragment xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> <faultcode> SOAP-ENV:Client </faultcode> <faultstring> Exception while commiting Tx : Name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)],Xid=BEA1-0074571ED882A67DA1E5(11375621),Status=Committing,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=118,seconds left=2,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=NodeOne),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@190af6,re-Registered = false),SCInfo[p2pDomain+NodeOne]=(state=committed),SCInfo[mycompany+NodeOne]=(state=committing),properties=({weblogic.transaction.name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)], weblogic.jdbc=t3://192.168.86.61:7001}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=NodeOne+192.168.86.61:7001+p2pDomain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=NodeOne+192.168.86.61:7001+p2pDomain+t3+); nested exception is:
         javax.transaction.SystemException: Timeout during commit processing </faultstring> <detail>
    Exception while commiting Tx : Name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)],Xid=BEA1-0074571ED882A67DA1E5(11375621),Status=Committing,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=118,seconds left=2,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=NodeOne),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@190af6,re-Registered = false),SCInfo[p2pDomain+NodeOne]=(state=committed),SCInfo[mycompany+NodeOne]=(state=committing),properties=({weblogic.transaction.name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)], weblogic.jdbc=t3://192.168.86.61:7001}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=NodeOne+192.168.86.61:7001+p2pDomain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=NodeOne+192.168.86.61:7001+p2pDomain+t3+); nested exception is:
         javax.transaction.SystemException: Timeout during commit processing </detail></xml-fragment>
         at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:102)
         at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome.java:307)
         at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:263)
         at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:140)
         at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispatcher_k1mrl8_EOImpl.java:56)
         at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:161)
         at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceHandleImpl.java:436)
         at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl._invoke(WlwProxyImpl.java:326)
         at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl.invoke(WlwProxyImpl.java:315)
         at $Proxy17.updatePurchaseOrder(Unknown Source)
         at newpageflow1.Newpageflow1Controller.begin(Newpageflow1Controller.jpf:75)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.bea.wlw.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:1519)
         at com.bea.wlw.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:1445)
         at com.bea.wlw.netui.pageflow.FlowController.internalExecute(FlowController.java:776)
         at com.bea.wlw.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:211)
         at com.bea.wlw.netui.pageflow.FlowController.execute(FlowController.java:606)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:1354)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:650)
         at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:527)
         at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:152)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:326)
         at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1301)
         at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1317)
         at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1199)
         at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:637)
         at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:527)
         at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:152)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: com.bea.control.ServiceControlException: <xml-fragment xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> <faultcode> SOAP-ENV:Client </faultcode> <faultstring> Exception while commiting Tx : Name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)],Xid=BEA1-0074571ED882A67DA1E5(11375621),Status=Committing,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=118,seconds left=2,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=NodeOne),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@190af6,re-Registered = false),SCInfo[p2pDomain+NodeOne]=(state=committed),SCInfo[mycompany+NodeOne]=(state=committing),properties=({weblogic.transaction.name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)], weblogic.jdbc=t3://192.168.86.61:7001}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=NodeOne+192.168.86.61:7001+p2pDomain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=NodeOne+192.168.86.61:7001+p2pDomain+t3+); nested exception is:
         javax.transaction.SystemException: Timeout during commit processing </faultstring> <detail>
    Exception while commiting Tx : Name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)],Xid=BEA1-0074571ED882A67DA1E5(11375621),Status=Committing,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=118,seconds left=2,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=NodeOne),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@190af6,re-Registered = false),SCInfo[p2pDomain+NodeOne]=(state=committed),SCInfo[mycompany+NodeOne]=(state=committing),properties=({weblogic.transaction.name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)], weblogic.jdbc=t3://192.168.86.61:7001}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=NodeOne+192.168.86.61:7001+p2pDomain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=NodeOne+192.168.86.61:7001+p2pDomain+t3+); nested exception is:
         javax.transaction.SystemException: Timeout during commit processing </detail></xml-fragment>
         at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1233)
         at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:423)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:248)
         at com.bea.wlw.runtime.jcs.container.JcsContainer.invoke(JcsContainer.java:85)
         at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(BaseContainerBean.java:224)
         at com.bea.wlw.runtime.core.bean.SLSBContainerBean.invoke(SLSBContainerBean.java:103)
         at com.bea.wlwgen.StatelessContainer_ly05hg_ELOImpl.invoke(StatelessContainer_ly05hg_ELOImpl.java:99)
         at com.bea.wlwgen.GenericStatelessSLSBContAdpt.invokeOnBean(GenericStatelessSLSBContAdpt.java:62)
         at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDispatcherBean.java:153)
         at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatcherBean.java:54)
         at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.java:168)
         at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispatcher_k1mrl8_EOImpl.java:46)
         ... 53 more
    appreciated any help on this .....
    hitesh

    Hi skrai,
              From the moment the begin call is made, the timer starts ticking independently of the flow of your processing. When the timeout expires, the Transaction Manager will roll the transaction back. The first you hear of that happening may be when calls you make in the thread associated with the transaction start to throw exceptions, since it is not possible to propagate a rolled-back transaction (what would be the point, the results of the call will not persist under any circumstances?).
              Therefore suspending a transaction has no impact whatsoever on its timeout; it simply breaks the association between transaction and thread. If your code suspends a transaction and then goes to sleep for a week, it should expect to find that the transaction has timed out while it slept.
              So when U invoke an EJB with "NotSupported" tx attribute, the clock with the tx manager is still ticking.
              Hope my explanation helped to resolve your issue.
              Thanks
              -Rais

  • Error during print request output. l_rc = 1

    Hi ,
    I have a request to create on ouput device which can copy the spool request to desired location in application server. Our server is not connected to any physical server and is windows NT.
    I am tring to create ACCESS TYPE 'L' with host printer name '__default'.
    I am using control set to copy file at desired location on server
    COPY &F <path for file to be copied>&T
    File is being copied to desired location but its returing error message "Error during print request output. l_rc = 1"
    Complete log is below:
          SAP spool error log                                                                   
          =====================                                                                               
    Print request processing log                                                                               
    The host spool is reporting errors                                                                               
    Message from host spool:                                                                               
    1 file(s) copied.                                                                 
    End of message                                                                               
    Command used: COPY E:\usr\sap\D06\DVEBMGS00\data\000002934300001.D06 E:\interface\D06\                                                                               
    Errors occurred processing this print request                                                                               
    Error during print request output. l_rc = 1                                                 
    There may be no printout                                                                               
    Most important attributes of spool request                                                                               
    Request number 29343                                                                               
    Request name SCRIPT ZRAJ BASISADMIN                                                         
    Client 220                                                                               
    Owner BASISADMIN                                                                            
    Request attributes                                                                          
    Time created   2008102906203900                                                             
    Remaining life  +00008000000                                                                
    Dispo 1 (Go/Hold) G                                                                         
    Dispo 2 (Keep/Delete)     K                                                                 
    Dispo 3 (Indirect/Direct) D                                                                 
    Default output device ZRAJ                                                                  
    Default no. copies  1                                                                       
    Format X_PAPER                                                                               
    Main print request characteristics                                                                               
    Spool request number 29343                                                                  
    Print request number 1                                                                      
    Print request attributes                                                                    
    Time created   2008102906203900                                                             
    Output device ZRAJ                                                                          
    Format X_PAPER                                                                               
    Character converter active when first problem occurred                                                                               
    No information available                                                                               
    Pls help.
    Regards
    Raj Kiran

    If you have done a search with your subject line, you would have got the following [results.|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=%22errorduringprintrequestoutput.l_rc%3D1%22&cat=sdn_all]
    so do a search in SCN before posting your question.
    Regards
    Karthik D

  • Creation of shopping cart through HTTP request

    Hello all, I am trying to create a shopping cart through a HTTP request.
    The URL I am managing is the same that the one that the Web Service BBPSC01 uses.
    Using the following code I cannot connect to the server in background, the error "This browser is not supported" is launched.
    In addition to this, I can open the URL successfully via R/3 when executing online.
    Help very appreciated!
    Thanks.
    data declarations
    DATA: client TYPE REF TO if_http_client.
    DATA: host      TYPE string VALUE 'host',
          host2      TYPE string,
          service   TYPE string VALUE '8000',
          path      TYPE string VALUE '/sap/bc/gui/sap/its/bbpsc01/?sap-client=020&sap-language=EN',
          errortext TYPE string. "used for error handling
    DATA: dest(13) TYPE c.
    dest = 'ZPORTAL_CESTA'.
    CALL METHOD cl_http_client=>create_by_destination
      EXPORTING
        destination              = dest
      IMPORTING
        client                   = client
      EXCEPTIONS
        destination_not_found    = 1
        internal_error           = 2
        argument_not_found       = 3
        destination_no_authority = 4
        plugin_not_active        = 5
        OTHERS                   = 6.
    IF sy-subrc NE 0.
      WRITE: / 'Create failed, subrc = ', sy-subrc.
      EXIT.
    ENDIF.
    set http method POST
    CALL METHOD client->request->set_method(
      if_http_request=>co_request_method_post ).
    client->request->set_version(
         if_http_request=>co_protocol_version_1_1 ).
    client->request->set_header_field( name = '~request_method'
    value = 'GET' ).
    set request uri (/<path>[?<querystring>])
    DATA uri TYPE string.
    uri = path.
    cl_http_utility=>set_request_uri( request = client->request
                                      uri     = uri ).
    FIN: conectamos el final de la peticion
    Send
    DATA timeout TYPE i.
    CALL METHOD client->send
      EXPORTING
        timeout                    = timeout
      EXCEPTIONS
        http_communication_failure = 1
        http_invalid_state         = 2
        http_processing_failed     = 3
        OTHERS                     = 4.
    IF sy-subrc NE 0.
      DATA: subrc TYPE sy-subrc.
      CALL METHOD client->get_last_error
        IMPORTING
          code    = subrc
          MESSAGE = errortext.
      WRITE: / 'communication_error( send )',
             / 'code: ', subrc,
             / 'message: ', errortext.
      EXIT.
    ENDIF.
    CALL METHOD client->receive
      EXCEPTIONS
        http_communication_failure = 1
        http_invalid_state         = 2
        http_processing_failed     = 3
        OTHERS                     = 4.
    IF sy-subrc NE 0.
      CALL METHOD client->get_last_error
        IMPORTING
          code    = subrc
          MESSAGE = errortext.
      WRITE: / 'communication_error( receive )',
             / 'code: ', subrc, 'message: '.
      EXIT.
    ENDIF.
    DATA return_str TYPE string.
    return_str = client->response->get_cdata( ).
    close
    CALL METHOD client->close
      EXCEPTIONS
        http_invalid_state = 1
        OTHERS             = 2.
    DATA html_control TYPE REF TO cl_gui_html_viewer.
    DATA container   TYPE REF TO cl_gui_custom_container.
    DATA html_table TYPE TABLE OF char255.
    Create container for HTML viewer
    CREATE OBJECT container
      EXPORTING
        container_name              = 'CONTAINER'
      EXCEPTIONS
        cntl_error                  = 1
        cntl_system_error           = 2
        create_error                = 3
        lifetime_error              = 4
        lifetime_dynpro_dynpro_link = 5.
    IF sy-subrc NE 0.
      MESSAGE e208(00)
         WITH 'The control HTML_CONTAINER could not be created'.
    ENDIF.
    CREATE OBJECT html_control
      EXPORTING
        parent = container.
    CALL FUNCTION 'CONVERT_STRING_TO_TABLE'
      EXPORTING
        i_string         = return_str
        i_tabline_length = 255
      TABLES
        et_table         = html_table.
    DATA: l_doc_url(255) TYPE c.
    CALL METHOD html_control->load_data
      EXPORTING
        type         = 'text'
        subtype      = 'html'
      IMPORTING
        assigned_url = l_doc_url
      CHANGING
        data_table   = html_table.
    CALL METHOD html_control->show_url
      EXPORTING
        url = l_doc_url.

    Dear Poster
    Your thread has had no response since it's creation over
    2 weeks ago, therefore, I recommend that you either:
    - Rephrase the question.
    - Provide additional Information to prompt a response.
    - Close the thread if the answer is already known.
    Thank you for your compliance in this regard.
    Jason Boggans
    SAP SRM SDN Moderator

  • ERROR: timeout during allocate

    Dear All,
    When i am establish RFC from Dev to Pro, i am getting Error in SM59 is "ERROR: timeout during allocate"
    Here i am copying my dev_rd log please help me to solve this problem
    Thu Oct 29 18:33:29 2009
    ***LOG Q0I=> NiPConnect2: connect (78: Connection timed out) [nixxi.cpp 2823]
    ERROR => NiPConnect2: SiPeekPendConn failed for hdl 11 / sock 21
        (SI_ECONN_REFUSE/78; I4; ST; 171.31.111.98:3365) [nixxi.cpp    2823]
    LOCATION    SAP-Gateway on host pspdscmd / sapgw60
    ERROR       partner 'pspdciscp:sapgw65' not reached
    TIME        Thu Oct 29 18:33:29 2009
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -10
    MODULE      nixxi.cpp
    LINE        2823
    DETAIL      NiPConnect2
    SYSTEM CALL connect
    ERRNO       78
    ERRNO TEXT  Connection timed out
    COUNTER     4435

    Please check out the following SAP Note; a collection of all notes for this type of connection error:
    [Note 581509 - Reasons for "timeout during allocate"|https://service.sap.com/sap/support/notes/581509]
    Regards,
    Dipanjan

  • Timeout during allocate error

    Currently our production system SAP R/3 4.6B is having one CI and two application server. When enduser tries to upload a document from desktop to SAP, getting CALL_FUNCTION_RECEIVE_ERROR.
    The CI works fine but when tried the same ftp to upload from app servers it is
    giving error.
    The details of CALL_FUNCTION_RECEIVE_ERROR is as follows:
    Error text........... "timeout during allocate"
    Description.......... "no connect of TP sapftp from host %%SAPGUI%%
    after 22
    sec"
    System call.......... " "
    Module............... "gwr3cpic.c"
    Line................. 5763
    The error occurs in FM FTP_CLIENT_TO_R3
    000160 perform check_destination using rfc_destination.
    000170
    000180 set extended check off.
    000190 call function 'FTP_CLIENT_TO_R3' destination rfc_destination
    000200 exporting fname = fname
    000210 importing error = cerror length = blob_length
    > tables blob = blob.
    000230 set extended check on.
    I have followed the instruction of SAP note 313325 and displayed the
    dev_ftp file.
    trc file: "dev_ftp", trc level: 2, release: "640"
    Thu Jan 04 16:26:31 2007
    [1876] sccsid:@(#) $Id: //bas/640_REL/src/krn/ftp/ftpmain.c#8 $ SAP
    @(#) $Id: //bas/640_REL/src/krn/ftp/ftp.c#5 $ SAP
    @(#) $Id: //bas/640_REL/src/krn/ftp/ftpcmd.c#4 $ SAP
    [1876] FTP Start : argc - 6 a0 - sapftp
    /H/sxxxxap2 sapgw01 67900565 CPIC_TRACE=2 IDX=35
    [1876] RFC DLL loaded
    [1876] Environment SAP_CODEPAGE = 1100
    [1876] RFC Version 640
    [1876] Install server functions
    [1876] Call RfcAccept
    [1876] RfcError - key: RFC_ERROR_COMMUNICATION
    message: CPIC-CALL: 'CMACCP'
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       hostname 'sxxxxap2' unknown
    TIME        Thu Jan 04 16:26:31 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -2
    MODULE      ninti.c
    LINE        336
    DETAIL      NiPGetHostByName2: hostname 'sxxxxap2' not found
    SYSTEM CALL gethostbyname_r
    COUNTER     1
    [1876] FTP Stop
    The error message in their to some extent matches with
    SAP note solution 211365. The root cause described that "hostname is protected by router or firewall" does not coincide since Central DB server is working and not the application server scenario.
    My questions is , will the instance profile parameter change will fix it?
    abap/hostname_for_sapgui= hostname of APP server
    How sapftp works in CI alone and not in application server?
    The SM59, setting for SAPFTP is as follws:
    Connection Type T
    Start On : FrontEnd work station
    Security options inactive.
    Has anyone has experienced this before?

    Please check out the following SAP Note; a collection of all notes for this type of connection error:
    [Note 581509 - Reasons for "timeout during allocate"|https://service.sap.com/sap/support/notes/581509]
    Regards,
    Dipanjan

  • Screen painter error: EU_SCRP_WN32 : timeout during allocate / CPIC-CALL

    Dear all
    When i using SE51 to open any screen , the screen painter can't give me the graphical layout editor and shows the following message:
    EU_SCRP_WN32 : timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
    Message no. 37033
    Anyone knows what is the problem?
    Detail information :
    SAP GUI Version : 710 for window
    Fatch Level : 11
    thanks for your input.

    Dear All... I had same problem for many mounths... My solution has been the "NAME" of my computer. My name contains a special char ( ì ) and the server didn't answer at my "request" to launch the screen painter SAP.
    So try to change your "PC-Name" without special char (ex: "office") and try again to launch the Screen Painter.
    I'm sorry for my bad english and i hope this reply will be usefull for You.
    Paolo
    ITALIAN VERSION:
    Ciao a tutti, io ho avuto questo problema e non sono riuscito a trovare risposta; nelle innumerevoli ricerche in rete, con colleghi e persone più esperte di me sono riuscito a capire che lo Screen Painter di SAP in realtà è una sorta di "richiesta"  che viene fatta al server. Se il Nome del PC contiene caratteri speciali, il server sembra non rispondere e quindi si va in timeout.
    In pratica ho risolto formattando il PC ed in fase di re-installazione de S.O. ho dato come nome solo il mio nome di battesimo ed ho risolto. Ho dovuto effettuare un Format perchè nonostante avessi cambiato il nome del PC da schermata di Windows, la modifica non sembrava essere effettuata correttamente.
    Ho testato questo problema su diversi computer e il problema si è sempre risolto in questa maniera.
    Spero che questo contributo sia utile a tutti Voi.
    Rimango a disposizione per qualsiasi chiarimento.
    Paolo

  • ORA-29273: HTTP request failed ORA-12535: TNS:operation timed out

    SQL*Plus: Release 11.2.0.3.0
    Solaris 10 SPARC
    Hi,
    I get the following error when trying to make an HTTP request. Below is the snippet of code I run. I get the error after exactly 60 seconds(default timeout?). I searched through the forums and found many similar errors but nothing that helped me resolve this issue. The problem does not exist in the rest of our environments, only our test environment.
    Help is greatly appreciated. Thanks.
    DECLARE
       p_mid_tier    VARCHAR2 (500);
       responsestr   VARCHAR2 (500);
    BEGIN
       SELECT *****
         INTO p_mid_tier
         FROM *****
        WHERE profile_type = '*****';
       UTL_HTTP.set_wallet ('file://$ORACLE_HOME/network/admin/wallets');
       UTL_HTTP.set_transfer_timeout (6000);
       UTL_HTTP.set_response_error_check (TRUE);
       responsestr :=
          UTL_HTTP.request (
             UTL_URL.ESCAPE (p_mid_tier || '*****'));
       DBMS_OUTPUT.put_line (responsestr);
    END;
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1722
    ORA-12535: TNS:operation timed out
    ORA-06512: at line 15

    1001371 wrote:
    SQL*Plus: Release 11.2.0.3.0
    Solaris 10 SPARC
    Hi,
    I get the following error when trying to make an HTTP request. Below is the snippet of code I run. I get the error after exactly 60 seconds(default timeout?). I searched through the forums and found many similar errors but nothing that helped me resolve this issue. The problem does not exist in the rest of our environments, only our test environment.
    Help is greatly appreciated. Thanks.
    DECLARE 
       p_mid_tier    VARCHAR2 (500); 
       responsestr   VARCHAR2 (500); 
    BEGIN 
       SELECT ***** 
         INTO p_mid_tier 
         FROM ***** 
        WHERE profile_type = '*****'; 
       UTL_HTTP.set_wallet ('file://$ORACLE_HOME/network/admin/wallets'); 
       UTL_HTTP.set_transfer_timeout (6000); 
       UTL_HTTP.set_response_error_check (TRUE); 
       responsestr := 
          UTL_HTTP.request ( 
             UTL_URL.ESCAPE (p_mid_tier || '*****')); 
       DBMS_OUTPUT.put_line (responsestr); 
    END; 
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1722
    ORA-12535: TNS:operation timed out
    ORA-06512: at line 15
    the most frequent cause for TIMEOUT is a FireWall on or between client & server.
    when was last time this worked without error?
    what changed since then?

  • HTTP Request Error

    Hi Iam using Flex to display pie chart in my application. Im
    getting the pie chart in Mozilla firefox but in IE iam getting Http
    Request Error. Iam giving the code what i wrote. Please find. can
    anybody help me in this? thanks
    mxml file
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" width="300" height="232" backgroundColor="white"
    usePreloader="true">
    <mx:Script>
    <![CDATA[
    import mx.messaging.channels.StreamingAMFChannel;
    import mx.charts.series.LineSeries;
    import mx.rpc.events.ResultEvent;
    import mx.rpc.events.FaultEvent;
    import mx.controls.Alert;
    import mx.controls.*;
    import mx.events.*;
    [Bindable]
    public var orXmlList:XMLList;
    [Bindable]
    public var orXml:XML;
    [Bindable]
    public var orderCount:String = "0";
    private function getOrXML():void{
    orRPC.cancel();
    orRPC.send();
    public function handleXML(event:ResultEvent):void
    orXml = event.result as XML;
    orXmlList = event.result.orderResultsData.order as XMLList;
    var orMetaString:String = "orMeta";
    orderCount = orXml.orderResultsData[0].orMeta[0].orderCount;
    public function handleFault(event:FaultEvent):void
    Alert.show(event.fault.faultString, "Error");
    ]]>
    </mx:Script>
    <mx:HTTPService result="handleXML(event);"
    fault="handleFault(event);" id="orRPC" resultFormat="e4x"
    method="POST" url="/global/corpOrderResults.csc"
    useProxy="true">
    </mx:HTTPService>
    <mx:PieChart x="0" y="46.95" id="orPieChart" width="168"
    height="126" dataProvider="{orXmlList}"
    creationComplete="getOrXML();" showDataTips="true">
    <mx:series>
    <mx:PieSeries nameField="name" field="count" />
    </mx:series>
    </mx:PieChart>
    <mx:Legend dataProvider="{orPieChart}" x="141.25"
    y="56.6" verticalGap="0"/>
    <mx:Label id="orInfoLabel" x="0" y="20.95" text="Orders
    updated in the last 30 days: {orderCount}" width="283.4"
    height="18"/>
    </mx:Application>
    Text
    And my JSp page is:
    <div id="flashcontent">
    </div>
    <script type="text/javascript">
    var so = new SWFObject("/global/flash/litigationByNoc.swf",
    "mymovie", "400", "200", "8", "#336699");
    so.write("flashcontent");
    </script>

    Hi,
    I have checked the logs. I am getting errors like the below:
    1.     com.sap.engine.services.servlets_jsp.server.deploy.impl.exceptions.WCEApplicationNotStartedException: The application [sap.com/com.sap.portal.ivs.iviewservice] is configured to have ALWAYS start up mode. Currently it is in STOPPED status - because of this it will not be started implicitly by the Web Container service and any internal operation that needed this application to be running will fail. There are two possible reasons for STOPPED status: 1) The application failed to start during cluster startup. 2) The application is stopped by system administrator.
    2.     .info.exception.WD4VCRuntimeException: FAILED: process plan id: generatedBindPlan_CWG_UI action: null
    3.     Thread HTTP Worker [2] failed to acquire exclusive lock on client session
    But the data is being processed by the code correctly. I tried printing the final values of the o/p and the values are as expected.

  • Firefox aborts its http request silently within 60 seconds

    duplicate of [/questions/1047223]
    *Summary
    Firefox aborts its http request within almost 60 seconds(period till
    timeout varies) and tells nothing to users. This happened with both of
    Nginx and Apache.
    *Environment
    Client browser: Firefox 35.0.1
    Client OS: Windows 7 Enterprise 32bit SP1
    Web Server: Apache 2.2.3-91 & Nginx 1.6.2-1
    Server OS: CentOS 5.11
    PHP: 5.3.3
    FastCGI: spawn-fcgi-1.6.3-1
    *Description of the issue
    I have noticed that nginx logs http response code 499 so often.
    We use nginx almost only for two web applications, the one based on PHP
    and others on ruby. We experiences this problem in both apps. The server and client PC belong to the same subnet.
    Since last month, nginx logged 624 errors for Firefox and 16 for other
    browsers(almost IE).
    So for test, I wrote the simple PHP (see the bottom of this article) and tried to access it
    through both of Apache & Nginx with Firefox 35.0.1 and IE 11. IE11
    waited 120 seconds and returned html successfully through both of nginx
    and Apache, but Firefox failed either.
    Let me describe Firefox's behaviour.
    1. Enter the test php url at location bar and press enter.
    2. The message 'waiting server response' appears at status bar for a while.
    3. Watching network conversation through Wireshark, 'Keep Alive' signals
    are repeated some times between server and client, and after that,
    4. The message dissappears. 'FIN' signal is sent to the server from the client just after that. Firebug logs 'Aborted' at the almost the same time.
    5. The server responses 'FIN ACK.'
    There is a bit difference with nginx and Apache in behaviour after 'FIN
    ACK'.
    A.Nginx
    Nginx logs '499' error and finish conversation immediately.
    B.Apache doesn't log anthying at this step. After 120 seconds(sleep timer
    in PHP) from request it returns expected html. Of course Firefox don't render it but I could confirm both of request and response from Wireshark's 'Follow TCP Stream' function. Finally it is logged with http status code 200 at httpd log file.
    I repeated this test several times. Actual timeout period varies from 22
    to 70 seconds but results are same.
    With my understanding, the browser is expected to show 'time out error'
    after such situation but it doesn't show anything. So end user can't
    know what happend.
    *What I tried to solve the problem
    *disabled all extentions other than firebug.
    *set 'network.tcp.keepalive.enabled' to false at about:config.
    *set 'network.http.spdy.enabled' to false, too.
    *set 'network.http.response.timeout' to 0.
    *disabled IPV6 and DNS prefetch seeing the following help.
    https://support.mozilla.org/en-US/kb/websites-dont-load-troubleshoot-and-fix-errors
    *changed Timeout to 0 at apche's http.conf.
    My purpose is make our web apps to work properly in our working environment. I've recommended Firefox to our collegues because it was very cool application. Changing the default brawser is nightmare to me. Any suggestions are welcome.
    <test php>
    <?php sleep(120); ?>
    <?php echo time(); ?>

    duplicate of [/questions/1047223]
    *Summary
    Firefox aborts its http request within almost 60 seconds(period till
    timeout varies) and tells nothing to users. This happened with both of
    Nginx and Apache.
    *Environment
    Client browser: Firefox 35.0.1
    Client OS: Windows 7 Enterprise 32bit SP1
    Web Server: Apache 2.2.3-91 & Nginx 1.6.2-1
    Server OS: CentOS 5.11
    PHP: 5.3.3
    FastCGI: spawn-fcgi-1.6.3-1
    *Description of the issue
    I have noticed that nginx logs http response code 499 so often.
    We use nginx almost only for two web applications, the one based on PHP
    and others on ruby. We experiences this problem in both apps. The server and client PC belong to the same subnet.
    Since last month, nginx logged 624 errors for Firefox and 16 for other
    browsers(almost IE).
    So for test, I wrote the simple PHP (see the bottom of this article) and tried to access it
    through both of Apache & Nginx with Firefox 35.0.1 and IE 11. IE11
    waited 120 seconds and returned html successfully through both of nginx
    and Apache, but Firefox failed either.
    Let me describe Firefox's behaviour.
    1. Enter the test php url at location bar and press enter.
    2. The message 'waiting server response' appears at status bar for a while.
    3. Watching network conversation through Wireshark, 'Keep Alive' signals
    are repeated some times between server and client, and after that,
    4. The message dissappears. 'FIN' signal is sent to the server from the client just after that. Firebug logs 'Aborted' at the almost the same time.
    5. The server responses 'FIN ACK.'
    There is a bit difference with nginx and Apache in behaviour after 'FIN
    ACK'.
    A.Nginx
    Nginx logs '499' error and finish conversation immediately.
    B.Apache doesn't log anthying at this step. After 120 seconds(sleep timer
    in PHP) from request it returns expected html. Of course Firefox don't render it but I could confirm both of request and response from Wireshark's 'Follow TCP Stream' function. Finally it is logged with http status code 200 at httpd log file.
    I repeated this test several times. Actual timeout period varies from 22
    to 70 seconds but results are same.
    With my understanding, the browser is expected to show 'time out error'
    after such situation but it doesn't show anything. So end user can't
    know what happend.
    *What I tried to solve the problem
    *disabled all extentions other than firebug.
    *set 'network.tcp.keepalive.enabled' to false at about:config.
    *set 'network.http.spdy.enabled' to false, too.
    *set 'network.http.response.timeout' to 0.
    *disabled IPV6 and DNS prefetch seeing the following help.
    https://support.mozilla.org/en-US/kb/websites-dont-load-troubleshoot-and-fix-errors
    *changed Timeout to 0 at apche's http.conf.
    My purpose is make our web apps to work properly in our working environment. I've recommended Firefox to our collegues because it was very cool application. Changing the default brawser is nightmare to me. Any suggestions are welcome.
    <test php>
    <?php sleep(120); ?>
    <?php echo time(); ?>

  • PL/SQL posting to HTTP request

    Hi
    As part of a web application I am developing, I need to generate an HTTP post from a PL/SQL package. The problem I am having is that the message going out is not properly formatted and is being rejected by the listening application (in this case, WebCT)
    The MIME message should be formatted like this. (this is what I get when I use Perl to generate the call...)
    POST /webct/systemIntegrationApi.dowebct HTTP/1.1
    Host: roach:4041
    Connection: Keep-Alive, TE
    TE: trailers, deflate, gzip, compress
    User-Agent: RPT-HTTPClient/0.3-3E
    Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress
    Content-type: multipart/form-data; boundary=WebCT_Enterprise_API_boundary
    Content-length: 1506
    --WebCT_Enterprise_API_boundary
    Content-Disposition: form-data; name="adapter"
    ims
    --WebCT_Enterprise_API_boundary
    Content-Disposition: form-data; name="ACTION"
    import
    --WebCT_Enterprise_API_boundary
    Content-Disposition: form-data; name="OPTION"
    unrestrict
    --WebCT_Enterprise_API_boundary
    Content-Disposition: form-data; name="SCTMODE"
    OFF
    --WebCT_Enterprise_API_boundary
    Content-Disposition: form-data; name="TIMESTAMP"
    1091141996
    --WebCT_Enterprise_API_boundary
    Content-Disposition: form-data; name="AUTH"
    3D 1F DC E0 F7 15 5A 1F F4 99 CA 70 D4 68 1C 57
    --WebCT_Enterprise_API_boundary
    Content-Disposition: form-data; name="FILENAME"; filename="baseline_import.xml"
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE ENTERPRISE SYSTEM "IMS-EP01.dtd">
    <ENTERPRISE>
    <PROPERTIES>
    <DATASOURCE>McGill University SCT Banner</DATASOURCE>
    <TYPE>Initial Creation</TYPE>
    <DATETIME>2000-00-00T12:00:00</DATETIME>
    </PROPERTIES>
    <GROUP>
    <SOURCEDID>
    <SOURCE>Banner 2000 SCT Banner</SOURCE>
    <ID>6536.200409</ID>
    </SOURCEDID>
    <DESCRIPTION>
    <SHORT>HIST-666-001</SHORT>
    </DESCRIPTION>
    <RELATIONSHIP myrelationship="3">
    <SOURCEDID>
    <SOURCE>Banner 2000 SCT Banner</SOURCE>
    <ID>6537.200409</ID>
    </SOURCEDID>
    </RELATIONSHIP>
    </GROUP>
    </ENTERPRISE>
    WebCT_Enterprise_API_boundary
    HTTP/1.1 200 OK
    Date: Thu, 29 Jul 2004 21:56:27 GMT
    Server: Apache/2.0.49 (Unix) DAV/2 mod_ssl/2.0.49 OpenSSL/0.9.6m mod_jk/1.2.3-dev
    Keep-Alive: timeout=15, max=100
    Connection: Keep-Alive
    Transfer-Encoding: chunked
    Content-Type: text/html
    35
    Success: Import file (baseline_import.xml) complete.
    0
    My PL/SQL code that tries to build the outgoing call is
    req := utl_http.begin_request('http://atlas.cc.mcgill.ca:8900/webct/systemIntegrationApi.dowebct','POST', 'HTTP/1.1');
    utl_http.write_text(req,'Content-type: multipart/form-data; boundary=WebCT_Enterprise_API_Boundary' || CHR(13)|| CHR(10) ||
                   '' || CHR(13)|| CHR(10) ||
                   '--WebCT_Enterprise_API_Boundary' || CHR(13)|| CHR(10) ||
                   'Content-Disposition: form-data; name="adapter"' || CHR(13)|| CHR(10) ||
                   '' || CHR(13)|| CHR(10) ||
                   'ims' || CHR(13)|| CHR(10) ||
                   '--WebCT_Enterprise_API_Boundary' || CHR(13)|| CHR(10) ||
                   'Content-Disposition: form-data; name="ACTION"' || CHR(13)|| CHR(10) ||
                   '' || CHR(13)|| CHR(10) ||
                   'import' || CHR(13)|| CHR(10) ||
                   '--WebCT_Enterprise_API_Boundary' || CHR(13)|| CHR(10) ||
                   'Content-Disposition: form-data; name="OPTION"' || CHR(13)|| CHR(10) ||
                   '' || CHR(13)|| CHR(10) ||
                   'unrestrict' || CHR(13)|| CHR(10) ||
                   '--WebCT_Enterprise_API_Boundary' || CHR(13)|| CHR(10) ||
                   'Content-Disposition: form-data; name="SCTMODE"' || CHR(13)|| CHR(10) ||
                   '' || CHR(13)|| CHR(10) ||
                   'OFF' || CHR(13)|| CHR(10) ||
                   '--WebCT_Enterprise_API_Boundary' || CHR(13)|| CHR(10) ||
                   'Content-Disposition: form-data; name="TIMESTAMP"' || CHR(13)|| CHR(10) ||
                   '' || CHR(13)|| CHR(10) ||
                   timestamp || CHR(13)|| CHR(10) ||
                   '--WebCT_Enterprise_API_Boundary' || CHR(13)|| CHR(10) ||
                   'Content-Disposition: form-data; name="AUTH"' || CHR(13)|| CHR(10) ||
                   '' || CHR(13)|| CHR(10) ||
                   mac || CHR(13)|| CHR(10) ||
                   '--WebCT_Enterprise_API_Boundary' || CHR(13)|| CHR(10) ||
                   'Content-Disposition: form-data; name="FILENAME"; filename="xlist.xml"' || CHR(13)|| CHR(10) ||
                   '' || CHR(13)|| CHR(10) ||
                   total_xml_string || CHR(13)|| CHR(10) ||
                   '--WebCT_Enterprise_API_Boundary--' || CHR(13)|| CHR(10));
    resp := utl_http.get_response(req);
    utl_http.read_text(resp, val);
    utl_http.end_response(resp);
    When I watch the network traffic generated by this PL/SQL I do not have any carriage returns which makes WebCT to believe that the message does not carry the proper data and returns Fatal Failure(99): Invalid URL arguments...
    Is there somewhere where I can see sample code for placing HTTP requests using the utl_http package? Or if I am doing something obviously wrong (I am new at this whole PL/SQL thing...) please let me know.
    Thank you
    Bogdan

    If UTL_HTTP.SET_TRANSFER_TIMEOUT has no effect, probably your hang is due to the fact that the machine is completely down and inaccessible.
    As the name suggests, SET_TRANSFER_TIMEOUT only controls the timeout when UTL_HTTP succeeds in making a connection to the remote Web server and it times out the request when no more response is received by certain time while the connection is not closed by the remote server either.
    In your case, you probably need a connect-timeout which isn't provided by UTL_HTTP (yet).

  • HTTP request failed. Error code: "500". Error message

    Hi ,
    When we are trying to test webservices (exposed webservice in PI)  scenarios in PI box we are getting error related Adapter framework service
    HTTP request failed. Error code: "500". Error message: "Internal Server Error [http://xxxx:xxxx/AdapterFramework/rtc]"
    in the RWB it is showing that
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIAdapterFramework:GENERAL:com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message 01d76ce0-972e-11e0-c652-b25394b91e0c(INBOUND) expired
    Can any body help .
    Edited by: subhaniABAP on Jun 15, 2011 11:30 AM

    Hi,
    If you want to resolve this error when dealing with the messages, please try the cache refresh with the link:
    http://host:j2eeport/CPACache/refresh?mode=full
    And also go thorugh:
    - In Integration Repository/Directory go to menu Environment ->
    Clear SLD Data Cache
    - In R/3 go to transaction SXI_CACHE -> menu XI Runtime Cache -> Start
    Complete Cache Refresh
    MESSAGE EXPIRED:
    Increase the value of the timeout parameter 'xiadapter.inbound.timeout.default' under Services -> 'XPI Adapter:XI'
    to a higher value say '600000'.
    Regards,
    Caio Cagnani

Maybe you are looking for

  • How to generate excel file in oracle forms 10g on client machine

    dear Sir, I am using just file server(installed 10g dev suite) not a oracle application server, I am running my application from another machine ,it running fine i want to generate excel report on client machine presently i m using OLE2 for fetching

  • How can i repair disk permissions i know i altered?

    sigh... this is the second time i've fudged my wife's MacBook. i downloaded some music on my MBP. i then gave her the same files via USB (then again later via Bonjour). the files work on my MBP and on my iPod Touch no problem. her MacBook received th

  • How to merge User Profile Service Applications

    We have a SP 2010 farm with UPSA and some the users have edited their profile properties in that. We have planned to move the web application from SP 2010 farm to SP 2013 farm which already has a user profile service application in it. Both the SP201

  • Sub contract to a  project

    Hii I have a Question, I have an organisation where one project-A is having 100000$ and it gave a sub-contract to project-B for 20000$, I need to track how Project-B performs the work, how do i check the billing for both the projects...??? Shall i ta

  • base target='_top' not working iframe head

    i have dynamic loaded iframe in my application . when i click on the link inside the iframe i want to load the new page in parent window.i have manually added <base target='_top'> in the iframe head section . but link is displaying inside the iframe