Maximum HTTP posts to "Plain HTTP" adapter

Hello,
I am working on some load testing on a development box that we have for a simple synchronous HTTP<>XI<>RFC interface.  I have tested up to around 45 simultaneous users and the XI box starts to reply with 500 Internal Server Errors to the HTTP posts.  Up until that point it processes the messages fine and returns the correct response and 200 OK codes.
Could someone direct me to the configuration on the XI box for the maximum number of HTTP requests to process or an explanation of why the server starts to drop POSTs?  Thanks for your help!
Regards,
Anthony Cesaro

Hi,
have a look at those two parameters from the XI profile:
icm/HTTP/max_request_size_KB
Maximum size of HTTP request accepted by ICM
and
connection timeout:
icm/server_port_<xx>
http://help.sap.com/saphelp_erp2004/helpdata/en/25/7e153a1a5b4c2de10000000a114084/content.htm
maybe these will help
Regards,
michal

Similar Messages

  • Configure plain http adapter for receiving message from an external system

    Hi,
    we use Pi/700.
    Now I have an external system and I have to use HTTP (plain) to send messages to XI (via plain http adapter).
    I have no experiences with HTTP!
    In the external system I can only configure "URL, Username, Password" for sending messages - that's all!
    What do I have to configure in XI (communication channel, abap-stack, java-stack,...)?
    I don't know the URL of my XI-system. Is there an transaction code to get this information?
    Why do I need a Username/Pasword?
    For testing I can use a "http-post test tool" I found here in this forum.
    Thank you all for any help!
    Regards
    Wolfgang

    Hi Hummel,
    In Exteranl System u have to use these values
    name="myhost"      value="xiserver"
    name="myport"      value="8000"
    name="mysystem"    value="XY_BSservice"
    name="myinterface" value="Order_out"
    name="mynamespace" value="urn:xi:hcl:powebapp"
    name="myqos"       value="BE"
    name="myclient"    value="300"
    name="myuser"      value="XYZCLNT"
    name="mypass"      value="xiuser"
    Here My system is the Business service created in Integration directory of XI, Interface is the one created in Integration Repository (This is Outbaound from external sys to XI)
    In XI U have to create
    Data Types : 1) Source Structure data type(from extenal sys)
                 2) Target structure (where u want to send from XI)
    Message Types : 2 with above DT's
    Message Interface: 1) Outbound, Async (Order_out)
                       2) Inbound , Async (for the target sys)
    Then Message mapping and Interface mapping as usual..
    And in ID u have to create 2 services one is XY_BSservice for sending system and the other is for receiving system...
    For sending system no communication channel required...
    Hope u will get idea from the above..
    Need any further u r welcome..
    Regards
    Sridhar

  • HTTP Post in HTTP adapter

    Hi,
    We are developing one interface in which sender Torex system sends message in "HTTP Post" format.
    In this sender application wants the url in following format.
    http://server:port/sap/xi/adapter_plain?service=<xxx>&namespace=<xxx>&interface=<xxx>&sap-user=<xxx>&sap-password=<xxx>&qos=BE&ProductID=000000000000000216&uid=500014&deviceID=0725&StoreID=0004
    In above "HTTP Post" format data has been sent in url without body of message.
    I know the option in below blog.
    https://weblogs.sdn.sap.com/pub/wlg/13639
    But is there any other solution for this?
    xml payload for above message is as below.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:interface xmlns:ns0="namespace">
       <ProductID>000000000000000216</ProductID>
       <UID/>
       <DeviceID/>
       <StoreID>0004</StoreID>
    </ns0:ExternalStockLocator_Retail_REQ>
    Thanks
    Edited by: darshana-PI on Feb 10, 2012 9:37 PM

    Hello,
    http://server:port/sap/xi/adapter_plain?service=<xxx>&namespace=<xxx>&interface=<xxx>&sap-user=<xxx>&sap-password=<xxx>&qos=BE&ProductID=000000000000000216&uid=500014&deviceID=0725&StoreID=0004
    In above "HTTP Post" format data has been sent in url without body of message.
    Please remember that when creating a sender/receiver using the Plain HTTP Adapter, the following are automatically filled out
    Transport Protocol: HTTP 1.0, Message Protocol: XI Payload in HTTP Body. The transport protocol means that only HTTP 1.0 is supported and that for it to work, an HTTP Body is required.
    Hope this helps,
    Mark

  • XI http-adapter; http-post test tool?

    Hi All
    We have following scenario: system A sends data to R/3 through XI, XI's inbound adapter is type http (Syst A -> XI 3.0 -> R/3).
    Now we need to test the XI's inbound http-adpater.
    Does anyone have some experience with a tool that can send xml-document to XI using http-post or HTML code for this?
    Many Thanks,
    Sami

    Hi Sami,
    Make sure you have activated the plain http adapter.
    1.Edit the HTML code below to change the Hostnames (Radio buttons)/Port numbers to suit your needs.
    2.On selection of radio button you will get the hostname and portnumber populated automatically.
    3.supply the values for sender business system, sender interface and sender namespace and QoS.
    4.Copy and paste the XML in the text area.(make sure you delete the detault tab spaces in the text area) or you can select the file from the file system.
    5.Click Send XML button
    <html>
    <head>
    <title>Send XML Data to XI System</title>
    <script language="javascript">
    <!--
    function SendData() {
      var mypath = document.myform.filename.value;
         var myescns = escape(document.myform.mynamespace.value);
         var mycall = 'http://'
         + document.myform.myhost.value  + ':'
         + document.myform.myport.value + '/sap/xi/adapter_plain?bs='
         + document.myform.mysystem.value + '&namespace='
         + myescns + '&interface='
         + document.myform.myinterface.value + '&qos='
         + document.myform.myqos.value;
         var xmlstream;
         if (document.myform.selectXML[0].checked == true) {
              xmlstream = new ActiveXObject("ADODB.Stream");
              xmlstream.Mode = 3;                                                                                      // 1=read  3=read/write
              xmlstream.Open();
              xmlstream.Type = 1;                                                                                      // 1=adTypeBinary  2=adTypeText
              xmlstream.LoadFromFile(mypath);
         else {
              xmlstream = document.myform.xmltext.value;
         var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
         xmlhttp.Open("POST",mycall,false);
         xmlhttp.setRequestHeader("Content-Length",xmlstream.Size);
         xmlhttp.setRequestHeader("Content-Type","text/xml");
         if (document.myform.selectXML[0].checked == true) {
           xmlhttp.send(xmlstream.Read(xmlstream.Size));
         else {
           xmlhttp.send(xmlstream);
         XICall.innerText = mycall;
         XIAnswer.innerHTML = xmlhttp.responseText;
    function getFile() {
      var mypath = document.myform.filename.value;
         var ForReading  = 1;
         objFSO          = new ActiveXObject("Scripting.FileSystemObject");
         objTextFile     = objFSO.OpenTextFile(mypath, ForReading);
         var filearray   = "";
         for(var n=0;!objTextFile.AtEndOfStream;n++) {
              sRead = objTextFile.ReadLine();
              filearray += sRead + "n";
         objTextFile.Close();
         document.myform.xmltext.value = filearray;
    function setDefaults(n) {
         switch(n) {
              default:
                   document.myform.filename.value = "";
                   document.myform.myhost.value = "";
                   document.myform.myport.value = "";
                   document.myform.mysystem.value="";
                   document.myform.mynamespace.value="";
                   document.myform.myinterface.value="";
                   document.myform.myqos.value="EO";
                   break;
    function setHost(n) {
         switch(n) {
              case 1:
                   document.myform.myhost.value = "yourhostname1";
                   document.myform.myport.value = "8080";
                   break;
              case 2:
                   document.myform.myhost.value = "yourhostname2";
                   document.myform.myport.value = "8000";
                   break;
              case 3:
                   document.myform.myhost.value = "yourhostname3";
                   document.myform.myport.value = "8000";
                   break;
              default:
                   document.myform.myhost.value = "";
                   document.myform.myport.value = "";
    function setNamespace(n) {
         switch(n) {
              case 1:
                   document.myform.mynamespace.value = "urn:sap-com:document:sap:rfc:functions";
                   break;
              case 2:
                   document.myform.mynamespace.value = "urn:sap-com:document:sap:idoc:messages";
                   break;
              default:
                   document.myform.mynamespace.value = "";
    //-->
    </script>
    </head>
    <body>
    <form name="myform">
    <p>XI adapter parameters: </p>
    <!--
    <input type="radio" name="selectDefaults" value="" onClick="setDefaults(1)">XR3 Test PO
    <input type="radio" name="selectDefaults" value="" onClick="setDefaults(2)">XR3 Test Vendor
    <input type="radio" name="selectDefaults" value="" onClick="setDefaults(9)" checked>None
    -->
    <p>
    <table border=0>
    <tr><td>hostname:</td><td>
    <input type="text" name="myhost" size=50 maxlength=100
    value=""><br/></td></tr>
    <tr><td></td>
    <td>
    <input type="radio" name="selectHost" value="" onClick="setHost(1)">XI1
    <input type="radio" name="selectHost" value="" onClick="setHost(2)">XI2
    <input type="radio" name="selectHost" value="" onClick="setHost(3)">XD3
    <input type="radio" name="selectHost" value="" onClick="setHost(9)" checked>Other
    </td></tr>
    <tr><td>port:</td><td>
    <input type="text" name="myport" size=50 maxlength=100
    value=""><br/></td></tr>
    <tr><td>sender business system:</td><td>
    <input type="text" name="mysystem" size=50 maxlength=100
    value=""><br/></td></tr>
    <tr><td>sender interface:</td><td>
    <input type="text" name="myinterface" size=50 maxlength=100
    value=""><br/></td></tr>
    <tr><td>sender namespace:</td><td>
    <input type="text" name="mynamespace" size=50 maxlength=100
    value=""></td>
    </tr>
    <tr><td></td>
    <td>
    <input type="radio" name="selectNamespace" value="" onClick="setNamespace(1)">RFC
    <input type="radio" name="selectNamespace" value="" onClick="setNamespace(2)">IDoc
    <input type="radio" name="selectNamespace" value="" onClick="setNamespace(3)" checked>Other
    </td></tr>
    <tr><td>quality of service (EO/BE):</td><td>
    <select name="myqos">
    <option value="BE" selected>Best Effort</option>
    <option value="EO" >Exactly Once</option>
    </select>
    <br/></td></tr></table>
    <p></p>
    <input type="button" value="Send XML File" onclick="return SendData()">
    <p>XML Text:
    <table>
         <tr>
              <td><input type="radio" name="selectXML" value="1">from File</td>
              <td><input type="radio" name="selectXML" value="2" checked>from Text</td>
         </tr>
         <tr valign="top">
              <td>
                   Path to XML file: (e.g. C:temptest.xml)
                   <br><input type="file" name="filename" size=30 maxlength=80 value="" onChange="return getFile()">
              </td>
              <td>
                   Text for XML:
                   <br><textarea name="xmltext" cols="50" rows="20" wrap="off">
                   </textarea>
              </td>
         </tr>
    </table>
    <p>XI call:</p>
    <div id=XICall></div>
    <p>Answer:</p>
    <div id=XIAnswer></div>
    </form>
    </body>
    </html>
    Regards,
    Sridhar
    Message was edited by: Sridhar Rajan Natarajan

  • Using extra attributes in plain Http Adapter

    Hi All,
    I am using a Plain HTTP Adapter to send messages to XI. This is working fine but i'm facing a problem with HTTP variables.
    I need to send a flag as an http variable that identifies the message as a new message or not. It's important for me that this variable is reachable in the Receiver Determination so i can create a routing rule based on that. I've read this help from sap (<a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm">Configuring the Sender Plain HTTP Adapter</a>), but i couldn't find a place to set the "Adapter-Specific Message Attributes".
    Thanks a lot for any help.
    Regards,
    Leonardo Tayt-son

    In your Sender HTTP Adapter, check out for "Adapter-Specific Message Attributes" section (usually, it's the last section). Mark the "Use Adapter-Specific Message Attributes" checkbox. Then, mark "Apply URL Parameters" checkbox and enter a name for Parameter 1 (for example, New).
    Then, your incoming http URL shoud be something like http://<application_hostname>?New=true .
    And in your receiver determination, go to condition editor for each Business System, and enter expression editor for left expression. Check "Context Object" and select "URLParamOne" parameter from "http://sap.com/xi/XI/System/HTTP" namespace. For the right expression, use the value you want.
    Them you can use your condition like
    If (URLParamOne = true) send to BS 1
    If (URLParamOne = false) send to BS 2
    Regards,
    Henrique.

  • HTTP adapter post prolog question.

    Hi all,
      I have a scenario where I need to send an XML message through the HTTP adapter (no SOAP) to an external service. THE HTTP Service requires a user password as parameters to be passed in order to process the message. Since HTTP adapters is doing only POST I used the prolog in order to pass these parameters (&user=xxx&password=XXXX) but i get a 401 error. In order to test I created a static HTML form with hidden inputs the user and password variable and did a POST (using iexplorer) and it worked!!! Am I doing something wrong?? Isn't the prolog filed in the adapter suppose to do the same ?? i.e. post two variable user, and password??? How does the prolog field worked? Any help will be appreciated.

    Thanks for the reply,
    actually the problem was on the Content-Type. The default text/xml was the problem since the application was expecting a application/www-form-ulencode (or something like this, i don't remeber). Now it works!!!

  • Problem with plain http adapter on XI 2.0

    Hi all,
    i have a problem setting up proper communication between XI 2.0 and PI 7.0 system using plain http adapter.
    Regardless of what i pass as url argument, i always receive the following error message:
    HTTP-Server Code 500 Reason Internal Server Error Explanation URL-Parameter namespace (Sender Interface-namespace) is missing (see first link)
    SXMB_MONI Trace:
    [http://image-upload.de/image/Rv3NeE/77c11c84fc.jpeg]
    Configuration:
    [http://image-upload.de/image/5Z2Gwr/90c19f2074.jpeg]
    [http://image-upload.de/image/hGrzQL/559bf5e566.jpeg]
    [http://image-upload.de/image/2WqCqz/7513a1a366.jpeg]

    Hi,
    the namespace of the inbound interface in the interface determination was missing. So now it kind of works. But we still have the problem, that we are not able to pass parameters via URL, the XI 2.0 just ignores them.
    Is there a way to enhance the url by using the Header Fields tab. Can you give me an example for the valid params?
    Best Regards
    Sven

  • How to pass the SIN using a plain http adapter in sender side.

    Hi all,
       How to pass the SIN(System Identification Number) using a plain http adapter in sender side.
    Regards,
    Venu.

    You can set it in a specific HTTP header (as explained here : http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm) ...
    Rgds
    Chris

  • Plain HTTP Adapter (XML return without namespace)

    Hello Experts,
    I'm very new at XI.
    I'm using XI 7.0 SP9.
    I wanna make interface with public website using plain HTTP adapter.
    The receiver url is
    http://openapi.naver.com/search?key=cdb64b1f218b55acbb73105b3b6f68a9&query=news&target=rank
    It returns XML like
    <?xml version="1.0" encoding="UTF-8" ?>
    <result>
    <item>
        <R1>
            <K>CHOICE</K>
            <S>new</S>
            <V>0</V>
        </R1>
      </item>
    </result>
    How I can specify namespace and root document type ?
    I learned that I can specify namespace and root document type in JDBC communication channel.
    In plain HTTP, Is there any possibility to specify namespace like JDBC?

    Ji,
    look at this it will help u.
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
    /people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
    /people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom
    Sreeram Reddy

  • Plain HTTP adapter error: Bad Gateway, Proxy Error, please help !

    hello all,
    i have the following scenario:
    filesystem->file adapter->XI->plain http adapter-> receiver system.
    the following error occurred while calling plain http adapter:
    <SAP:Category>XIAdapter</SAP:Category>
    <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_Server</SAP:Code>
    <SAP:P1>502</SAP:P1>
    <SAP:P2>Bad Gateway</SAP:P2>
    <SAP:P3> Proxy Error</SAP:P3>
    <SAP:P4 />
    <SAP:AdditionalText />
    <SAP:ApplicationFaultMessage namespace="" />
    <SAP:Stack>HTTP-Server Code 502 Reason Bad Gateway Explanation Proxy Error</SAP:Stack>
    A RFC-Destination with SSL is used in this scenario. Connection test to the destination machine is also succeeded. some files have been transported to the receiver system, yet without payload. data is lost.
    anyone has encountered such problem or anybody can tell me please how to solve this problem.
    thanks for your help
    regards

    Hi,
    I´ve found a SAP-Note concerning this error-message 692057
    There is the note 450226 gives an overview over error codes
    Probably below solution may help you.........
    As an administrator on your portal go to:
    System Configuration > Service Configuration >applications
    Under: com.sap.portal.ivs.httpservice > Services > Proxy
    If any proxy settings are configured you may end up with the problem, so you need to set the "nonProxyHosts" to include the trex host.
    After a restart the search was working normally again.
    Thanks
    Swarup

  • Plain Http adapter Monitoring with CCMS / Alerting framework

    Hello all,
    Can you explain me the optimal way to monitor process using plain http adapter (Sender AND Receiver).
    My goal is to push issue information as soon as possible to monitoring team (via CCMS) when the process is in error.
    During my tests, I ve had a lot of messages with ICM HTTP error 110 but Integration engine did not trigger any alert.
    Thanks for your help.

    Hi,
    Check this link for ICF trace.
    http://help.sap.com/saphelp_webas620/helpdata/en/2d/64d041e74911d6b2e400508b6b8a93/content.htm
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
    regards
    Aashish Sinha
    PS : reward points if helpful

  • Plain HTTP adapter fort HTTPs

    Hi guys,
    I use receiver plain HTTP adapter for sending SOAP request. Followinf parameters have tu be entred:
    Addressing Type: URL Address
    Target Host: <host>
    Service Number: <port>
    Path Prefix: <path>
    Then final address is generated:
    http://<host>:<port>/<path>
    It's working fine if I use http protocol.
    Now I need to send SOAP request to address https://<host>/<path>. I don't know number of port where SSL communication's running.
    Is it possible to enforce using of https protocol instead of http? Is it possible to enter empty port number? Or do you have any other idea how to pass around this problem?
    Thank you in advance for every advice!
    Regards
    Zbynek

    >>Is it possible to enforce using of https protocol instead of http?
    Instead of using URL Addressing option, you need to start using HTTP Destination option. An RFC destination type G should then be created where the similar details of hostname and path should be provided.
    >Is it possible to enter empty port number?
    Yes it could be empty, but you need to confirm it from the receiver party that would they be able to receive https request or not if no port is provided. This would depend upon the type of implementation they have at their end.
    Regards,
    Prateek

  • ERD not determined while using plain http adapter as Sender

    Hi All,
    ERD is not determined while using Plain Http Adpter as Sender.Is there any way to determine ERD table by using Http adapteras Sender?
    Regards,
    Rajesh

    Are you doing synchronous scenario???
    if yes should have leaving the value for the Software Component Version empty for Receiver determination .
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    /people/jin.shin/blog/2007/12/11/sap-netweaver-process-integration-enhanced-receiver-determination-for-synchronous-scenarios

  • Using plain http adapter using (SIN)---Most urgent please help me

    Hi Experts,
    all we need to do is call the pipeline directly using plain http adapter using (SIN) and get the output from the pipeline to the local file folders. This can help developers to verify the interfaces that have been migrated to XI , to compare the out put results generated in XI with the original output captured using existing middle ware solutions.
    Could anyone help me out this Urgent

    Hi Experts,
    all we need to do is call the pipeline directly using plain http adapter using (SIN) and get the output from the pipeline to the local file folders. This can help developers to verify the interfaces that have been migrated to XI , to compare the out put results generated in XI with the original output captured using existing middle ware solutions.
    Could anyone help me out this Urgent

  • Plain HTTP Adapter vs SOAP Adapter with regards to SSL

    Hi,
    I need to setup communication channles within XI to send and receive secure xml. I am confused after reading the XI documentation and the some of the discussion forums on SDN.
    Can anyone clarify the following:
    1) Does the plain HTTP Adapter support SSL? According to the XI documentation is does NOT? Have I miss read it?
    2) This being the case, the only way to send and receive secure XML is to use the XI/SOAP Adapter?
    Thanx for your help.
    Cheers
    Yackeen

    Hi Yackeen,
    no, that's not true. The plain HTTP Adapter supports SSL. No problem.
    Regards,
    Udo

  • Plain HTTP Adapter - How to add CR/LF into Prolog?

    Hi all!
    I have to do a multipart/formdata request to an external HTTP Server. This requires to set boundaries etc. AND
    to add Carriage Returns / Line Feeds into the HTTP-Body.
    I think I could solve the problem using the Prolog / Epilog functionality of the HTTP Plain adapter - the only
    thing that is missing now is <b>how to add Carriage Returns / Line Feeds into the Prolog / Epilog Field</b> within the communication channel configuration. It seems
    that there is no "escaping possibility" - the HTTP Adapter writes the prolog "as it is entered" into the htto-Body of the request.
    Any ideas?
    Many thanks in advance,
    Andy

    I recommend using Java Mapping.
    Stefan

Maybe you are looking for

  • Where did the 'sending mail' bar go?

    I remember at some point, when I sent a msg with an attachment, there used to be a bar which would fill on the bottom lefthand side of the window showing how much of the message had been sent. Once it would fill (indicating that 100% of the msg was s

  • Is anyone else's iPad crashing, constantly, after the last update? iOS 8

    After updating to the new iOS 8, my iPad is running slow and it crashes every time I open more than 2 windows on the safari, what's the deal?

  • Headphone port not working

    today i was using my headphones and they were working, i can back half an hour later to use my headphones again and the  port stopped working. ive tried other headphones and it still doenst work. my sound plays out lound.

  • Verify Oracle RAC installation tips

    Our hardware team has done setup of oracle 10g RAC for 2 node on linux RHEL 4 OS.For clusterware they have used OCFS release 2 and for RAC database storage they have used ASM .Can you please guide me how to verify that Installation of RAC has done su

  • How long does the download take

    i have been waiting for 2 hours and the download bar has not moved at all. why?