Restful webservice call hangs during service call

I have requirement where i need to call webservice from my code which is external service opened up.
I am using Spring RestTemplate for calling external service.
ResponseEntity<ResponseObject> responseEntity = rest
.exchange(URI, HttpMethod.POST, entityObj,
ResponseObject.class);
entityObj carries my request Object which is been marshalled.
when i have my request object(XML) limited to 2o elements my external service receives the request object then processs it and send out the response, if number of request elements exceeds 20 then external service is not receiving any request. mean while my server hangs out and seems to be waiting for response. I dont know where i am going wrong. I am using weblogic server for posting http request.
Note :-
I tested using my Junit where i posted 40 elements and it was successful.. the problem happen when i deploy into weblogic server. server might be blocking the data for some reason ..
I really appreciate response.

Issue was due to Https post and weblogic was getting timeout for some reason if data exceeds certain limit. so i decided to go with Http which solve the issue. looking into why weblogic getting timeout when using https; will udpate if i fix with https.
I was using default key store when using https post, does it cause issue?

Similar Messages

  • Error while calling SPML web service call in OIM 11g

    Hi,
    While testing the SPML web service call, I am getting the "failure in security check" errors.
    And I have attached the request and responce .
    Request:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header xmlns:ns1="urn:names:spml:ws:header">
    <ns1:ServiceHeader>
    <ns1:serviceId/>
    </ns1:ServiceHeader>
    <wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken>
    <wsse:Username>xelsysadm</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXXXXX</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soap:Header>
    <soap:Body xmlns:ns2="http://xmlns.oracle.com/idm/identity/spmlv2custom/Username">
    <ns2:validateUsernameRequest xmlns:ns3="urn:oasis:names:tc:SPML:2:0" requestID="12345" executionMode="synchronous" locale="en" policyURI="http://www.sample.com/string/string">
    <ns2:capabilityData mustUnderstand="true" capabilityURI="urn:oasis:names:tc:SPML:2:0:reference"/>
    <ns2:username>TCS1000</ns2:username>
    </ns2:validateUsernameRequest>
    </soap:Body>
    </soap:Envelope
    Response:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault xmlns:ns0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <faultcode>ns0:FailedCheck</faultcode>
    <faultstring>FailedCheck : failure in security check</faultstring>
    <faultactor/>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    I have attached the log file from OIM
    ####<Apr 26, 2012 10:27:13 AM EDT> <Error> <oracle.wsm.resources.enforcement> <corwloimhd01> <dev-oim_oim_server01> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <214014dca901f288:-460ab67b:136eeab0662:-7ffd-0000000000000838> <1335450433058> <WSM-07501> <Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.service, application=spml-xsd, composite=null, modelObj=SPMLService, policy=oracle/wss11_saml_or_username_token_with_message_protection_service_policy, policyVersion=1, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-username-with-certificates.>
    ####<Apr 26, 2012 10:27:13 AM EDT> <Notice> <Stdout> <corwloimhd01> <dev-oim_oim_server01> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <214014dca901f288:-460ab67b:136eeab0662:-7ffd-000000000000083d> <1335450433058> <BEA-000000> <<Apr 26, 2012 10:27:13 AM EDT> <Error> <oracle.wsm.resources.enforcement> <WSM-07501> <Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.service, application=spml-xsd, composite=null, modelObj=SPMLService, policy=oracle/wss11_saml_or_username_token_with_message_protection_service_policy, policyVersion=1, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-username-with-certificates.>>
    Please help me how to solve this issue.
    Thanks in advance
    Siva

    Your business logic has to be implemented by using OIM APIS. oimclient.jar..
    you can then expose these business functions accordingly using a webservice or rest ...
    for business logic refer:-
    http://docs.oracle.com/cd/E27559_01/dev.1112/e27150/apis.htm#OMDEV734
    You will basicsally have to deal with UserManager class for managing users.
    java API:
    http://docs.oracle.com/cd/E27559_01/apirefs.1112/e28159/toc.htm

  • Viewing call list during a call

    Currently i'm using iphone4s with latest ios. It seems ios doesn't support viewing of the dial list during a call. More specifically, if you earlier dialed a number which is not saved in phone book, you can't see that number during next call. This seems bad. I had to tell the last dialed no to the person whom i was talking in the ne t call. I really had to disconnect, check/memorise the number and call again. I checked with latest windows, its missikg there as well. Any clue?

    I just tested this out on my phone and your correct you can't view the call history while on a call.

  • Unable to Specify credentials during service call

    Hi
    I want to call CHECKIN_UNIVERSAL service from a JSPX page. I have added the following tag in my jspx...
    <wcm:idcService service="CHECKIN_UNIVERSAL" var="callStatus">
    <wcm:idcParameter name="doFileCopy" value="1"/>
    <wcm:idcParameter name="dUser" value="sysadmin"/>
    <wcm:idcParameter name="dDocName" value="idc"/>
    <wcm:idcParameter name="dDocTitle" value="Test1111"/>
    <wcm:idcParameter name="dDocType" value="Document"/>
    <wcm:idcParameter name="dSecurityGroup" value="Public"/>
    <wcm:idcParameter name="dDocAuthor" value="weblogic"/>
    <wcm:idcParameter name="primaryFile" value="C:/test.txt"/>
    </wcm:idcService>
    I am getting the following error.. System needs login authentication credentials.
    Again, I tried calling checkIN_SIMILAR_FORM also but i got the same error.
    <wcm:idcService service="CHECKIN_SIMILAR_FORM" var="docinfo">
    <wcm:idcParameter name="dID" value="DEV000242"/>
    </wcm:idcService>
    Error:
    "Caused By: oracle.stellent.ridc.protocol.ServiceException: Unable to build check-in form. System needs login authentication credentials."
    How can I specify credentials in the wcm:idcservice tag please help.. Any input is appreciated.
    Thanks,
    Aakash

    Please,  run the DirectX diagnostics tool (32-bit version).
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

  • Keep GUI, change from database-call to web-services-call. Possible??

    Hi.
    I have an APEX-application with several pages. Every page have code for getting/inserting data from/to an Oracle database, using PL/SQL.
    We now want to look at the possibilities of keeping the userinterface (GUI) of the pages, but change the underlaying code to call web-services to retrieve data/insert data, instead of calling the database directly (so the users won't see any changes).
    So here is my questions:
    - Is this possible?
    - Is this quite "straight forward" ?
    Hope anyone can help me out on this issue :-)
    P.S. The APEX-version is 3.0 or 3.1 (not the newest one)
    Best regards
    Sverre, Norway

    Hi Sverre,
    I have the same task. What did you finally decide, to keep the Apex UI and migrate from database to web-services or to develop a new UI?
    If you chose to keep Apex, do you have any progress in migration?
    Thanks,
    Anton.

  • Calling CoCreateInstance during OS and service startup

    I have created 2 COM  services ServiceA and SerivceB. ( OS Windows 7)
    ServiceA: Automatic startup
    ServiceB: Manual Startup
    During OS start-up, Calling CoCreateInstance of ServiceB from ServiceA->Run() is delayed almost 100 seconds.
    This issue only occurs during OS startup. below link says similar issue. But not applicable to Windows 7.
     http://support.microsoft.com/kb/258943
    Similar to http://stackoverflow.com/questions/3398105/calling-cocreateinstance-during-service-startup
    Thanks, Renjith V R

    It seems there is a solution in the second thread on stackoverflow.
    I need reason. Not solution. I already have a solution of adding dependency. Also below link says service db is locked during service startup. Then the startup of second service should be failed. But  my service is started successfully
    but it takes more than 1.5 mins.
    https://technet.microsoft.com/en-us/library/aa998749(v=exchg.65).aspx
    Thanks, Renjith V R

  • Webdynpro ---- BAPI/FM used in service call to get sales order

    Hi
    I need to have a main view which contain an inputfield to insert a sales order, then check whether the sales order is existed in database, at last, pop up a message box to show the feedback.
    So which FM or BAPI shall I have to use during service call?
    Best Regards!
    Stephanie

    Hi,
    Use the BAPIs
    To create -
    BAPI_SALESORDER_CREATEFROMDAT2
    To change -
    BAPI_SALESORDER_CHANGE
    I assume that you are trying to create a sales order or You want to change the salesorder.
    For the sales order we need to write a selelct query on the check table for the existence of the sales order.
    Please try to use the SE37 Tcode to view all the BAPIs related to salesorder.
    Are you using WD for Java Or ABAP or BSP.
    Please a\let me know in case of  any issues.
    Regards
    Lekha

  • BAPI/FM used in service call to get sales order

    Hi
    I need to have a main view which contain an inputfield to insert a sales order, then check whether the sales order is existed in database, at last, pop up a message box to show the feedback.
    So which FM or BAPI shall I have to use during service call?
    Best Regards!
    Stephanie

    Hi Stephanie,
    Both the replies given above are correct. Service call is nothing but a method in the Component Controller/Custom Controller of WD Component. It internally calls a function module and does all the required binding to the Context nodes.
    In your scenario, even if you use a service call, finally you will have to check the output and invoke a method of the message manager.
    Writing a simple query onEnter of the input field should be the best for you.
    select single vbeln
    from vbak
    into lv_vbeln
    where vbeln = <value of input field> .
    if sy-subrc = 0.
    * show message using message manager
    else.
    endif.

  • Dialpad not showing numbers pressed during a call

    During a call ( eg: automate service call, the one which require you to press certain number during a call ),
    when I press the numbers on the dialpad,  the numbers won't display on screen.
    The numbers I press actually goes thru the line, because the other side of the phone line does responds correctly to the number I pressed.
    Also, I can hear the dial pad touch tones.
    I also have a Xperia Z, and the numbers show up fine.
    It's not the proximity sensor problem. The sensor works fine.
    I've tried Force Stop the dialer app, restart the phone ( normal power off and turn off by the little button next to the sim card),
    all doesn't work.
    I don't want to Factory reset yet, because I don't want to lose all setting and data.

    If clearing the app data does not work then please do try a software repair:
    1. Download the PC Companion software from http://www.sonymobile.com/gb/tools/pc-companion/
    and install it on your PC.
    2. Install and open PC Companion then select Support Zone.
    3. Phone Software Update.
    4. Start.
    5. Repair Phone
    6. Continue
    7. Accept data removal
    8. Next
    9. Wait for prepare
    10. Select Phone
    11. Follow the connection steps
    Don't forget to mark posts that answers the topic as Accepted Solution. 
    If you find any post helpful, press Kudos.
    What are your thoughts about this forum? Let us know by doing this short survey.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • E90 Reboots during internet call

    hi,
    i am facing a new problem wid my e90. it reboots itself when i make an internet call(mostly DURING the call and sometimes AFTER the call). i have been using internet call for a about a month now without any probs. just started facing it today. can anyone help please.
    the changes i did in the last 24 hrs were:
    1. edited my sip profile (only changed username)
    i had no problems when i used the same profile wid the previous username all dis month. so kindly advise what could have triggered this poblem.
    Solved!
    Go to Solution.

    found the problem,
    i noticed the rebooting sequence getting worse as it happened every 2 - 3 mins. so this is what i did,
    1. removed my memory card and run the phone. it seemed to work normally. no hang and no reboots.
    2. removed the battery for a while, then started the phone again ( without memory card )
    3. now inserted the memory card... and the phone seems to have worked fine ever since.
    anyone has a logic to wats the reason behind this sequence?

  • URGENT: Service Call Activity Issue

    Hi guys, I have a seriously irritating issue concerning the linking of an activity to service call.
    As of Service Pack 01, Patch 36 (at least as far as I know) I get the following error when attempting to create and link an activity to a service call:
    Error Code: -5002
    Error Description: A service call activity does not exist
    I use the folliwing code;
    If oServ.GetByKey(MRI) Then
                    If DocType = "QT" Then
                        oAct = oComp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oContacts)
                        oAct.Activity = SAPbobsCOM.BoActivities.cn_Task
                        oAct.CardCode = oServ.CustomerCode
                        oAct.DocEntry = DocID
                        oAct.DocType = 23
                        oDoc = oComp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oQuotations)
                        If oDoc.GetByKey(DocID) Then
                            oAct.Notes = "Sales Quote: " & oDoc.Comments
                        End If
                        oAct.Details = "Sales Quote " & DocID & " auto created by MRI " & MRI & ""
                        If oAct.Add <> 0 Then
                            oApp.SetStatusBarMessage("Error adding Linked Document Activity for Sales Quote " & DocID & " : " & oComp.GetLastErrorDescription)
                            oLog.WriteLog("Error adding Linked Document Activity for Sales Quote " & DocID & " : " & oComp.GetLastErrorCode & oComp.GetLastErrorDescription, EventLogEntryType.Error)
                        Else
                            oServ.Activities.Add()
                            oServ.Activities.ActivityCode = oComp.GetNewObjectKey
                            oServ.Activities.SetCurrentLine(oServ.Activities.Count() - 1)
                        End If
    If oServ.Update <> 0 Then
                        oApp.SetStatusBarMessage("Error linking Expense Document " & DocID & ":" & oComp.GetLastErrorDescription)
                        oLog.WriteLog("Error linking Expense Document " & DocID & ":" & oComp.GetLastErrorCode & "-" & oComp.GetLastErrorDescription, EventLogEntryType.Error)
                    End If
    the Activity is added without any problem, but the error comes when linking it to the Service Call (oServ.Update)
    Can you please help, I'm going insane with this problem.

    this is how i got it to work:
    ServiceCalls sc = null;
    sc = (ServiceCalls)company.GetBusinessObject(BoObjectTypes.oServiceCalls);
    if (!sc.GetByKey(callId))
          throw new Exception("Failed to add service call activity! Service call does not exist!");
    if (sc.Activities.Count == 1)
             sc.Activities.SetCurrentLine(sc.Activities.Count - 1);
             string temp = sc.Activities.ActivityCode.ToString();
             if (!string.IsNullOrEmpty(temp) && !temp.Equals("0"))
                     sc.Activities.Add();
    else
             sc.Activities.Add();
    sc.Activities.SetCurrentLine(sc.Activities.Count - 1);
    sc.Activities.ActivityCode = int.Parse(lastAcctivity);
    if (sc.Update() != 0)
             company.GetLastError(out errorCode, out errorMsg);
              if (null != sc)
                      System.Runtime.InteropServices.Marshal.ReleaseComObject(sc);
                      sc = null;
    throw new Exception(errorCode + " -> " + errorMsg);
    You could either use that piece of code or make an insert in SCL5.

  • Related to Service Call

    In Service Call window in Add Mode the Call ID : 6 (Successive no.)
    Once after entering a customer code and name in Service Call Window, If I cancel the transaction without pressing ADD button, the Call ID of the no. 6 is getting Blocked
    and again if i am going to add a new service call it is starting with Call ID :7
    I am working on Patch Level 25
    Please solve the Issue

    Ranjith,
    It seems like a Bug.  Please refer Note 1074225 - Missing Call ID in Service Call
    <a href="https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1074225&nlang=EN&smpsrv=https%3a%2f%2fwebsmp205%2esap-ag%2ede">Missing Call ID Note</a>
    Suda

  • Series Primary overlaps object Service Call

    hI SAP gurus,
    i am trying to create new series in Document Numbering for  'Service Call' , it doesn't allow me to create Series Numbering and following Error is showing ...
    Series Primary overlaps object Service Call
    Does any one know how should i create a new Series for Service Call..?
    i appreciate your help.
    Thanks and Regards,
    kaviprashu

    hi,
    ok i will quote this for you
    Symptom
    It is a legal requirement in Brazil that service calls are numbered.
    Solution
    To facilitate the legal requirement that users can trace and manage service calls efficiently, it is now possible to assign service calls to sequential series numbering. All marketing document numbering rules (search, overlapping numbers, manual series, and etc.) are also applied on service calls. The following fields and objects are added:
    In the Document Numbering - Setup window, the service calls object is added.
    To access the Document Numbering - Setup window, choose Administration -> System Initialization -> Document Numbering.
    In the Series - Service Calls - Setup window, the 'Primary' series is added.
    For new and upgraded companies, the application automatically creates the 'Primary' series for service calls.
    In the Numbering Series - Setup window, the 'Primary' series is added.
    In the Service Call window, the No. fields (selection of series and number) are added.
    To access the Service Call window, choose Service -> Service Call.
    In the Relate Series to Document - Setup window, the service calls object is added.
    For the service reports (Service Calls, Service Calls by Queue, Response Time by Assigned to, Average Closure Time, Service Monitor, My Service Calls, My Open Service Calls and My overdue Service Calls, Service Contract document - subtab Service Calls and Customer Equipment Card - subtab Service Calls):
    Call No. (label text) is changed to Call ID.
    The Document No. field represents the new call no. field.
    Series column is added to service reports.
    The Check Document Numbering - Selection Criteria window also includes checking of the service calls sequence.
    To access the Check Document Numbering - Selection Criteria window, choose Administration -> Utilities -> Check Document Numbering.
    For new created service calls, no record will be written to History Change Log when you add service calls (the same as the system behavior in the marketing documents).
    Only after the actual update on an already added service call, a history record will be added.
    There is no change in the already existing Call ID field, the behavior of this field stays the same.
    Other terms
    service calls, series, numbering, B1, sequential
    Header Data
    Released on     15.08.2011 15:48:33
    Release status     Released for Customer
    Component     SBO-SER-SCL Service Call
    Priority     Recommendations/additional info
    Category     Advance development
    References
    This document is referenced by:
    SAP Business One Notes
    1606253           Overview Note for SAP Business One 8.81 patch 07
    Validity
    Software Component
    Version
    SAP BUSINESS ONE
    8.81
    regards,
    Fidel

  • X6 - during a call / standby / buttons

    Am i the only one who has problems during a call and the other buttons with unintentionally activating hold, mute, or  finish a call ..?
    Often it happens that after some seconds talking that i only see the standby screen (black) could this be a bug (?) or other customers have the same problem?
    Thank you
    Solved!
    Go to Solution.

    It seems that the proximity sensor on your phone is having trouble.
    During a call, that sensor should activate the screen lock when it is covered, so that when you hold the phone to your ear, the screen is deactivated so you cannot accidentally select anything
    Please test this, try to call, then during the call, cover the sensor and see if your screen will black out or not. The normal behavior is that it should black out.
    If you find my post helpful please click the green star on the left under the avatar. Thanks.

  • Comlete cycle fo Service call

    Hai all
      I need to know about the complete cycle of the service call object, upto service call creation to payment generation,
      Please anybody helpme in this regard
    Regards
    somaraju

    Somaraju,
    I am not sure what you are asking specifically, but if you are trying to get an understanding of how to use the Service functionality in SAP Business One, you should look at the eLearning for SAP Business One at the service.sap.com SAP website.
    HTH,
    Eddy

Maybe you are looking for