Testing HTTP to File scenario

Hey guys
i m testing a HTTP to file scenario for one of our clients and the test seems to be working fine when i test it in RWB under Integration Engine,MONI is chequered as well as i m getting the file on receiver side too.
but when i test it by making use of the HTTP client which i got from the followin link
/message/266750#266750 [original link is broken]
it gives and error saying http-status 404 not found.
the URL which is getting created is
http://scosap005.sap.com:50100/sap/xi/adapter_plain?namespace=urn%3ANOVInvoiceToSCO&interface=MI_Invoice_sender&service=BS_test_invo&party=&agency=&scheme=&QOS=EO&queueid=httpclient&sap-user=&sap-password=&sap-client=100&sap-language=EN
is this the same URL our client is gonna use to post the message to our XI server?
also why am i getting error in the second testing?
thanx
ahmad

Hi,
1) Did you maintain Client, userid, password, and lang information in SICF transaction -> sap/xi/engine ? Double click on service and check whether you have entered correct information.
2)Access the trace file and search for traces with severity ERROR, WARNING or stack traces.
If we do not find an error in the log file or the error message does not explain the problem sufficiently, access the default Trace. The default trace file contains detailed messages for developers. Extract the relevant trace information e.g. using the time stamp or the message ID.
If this does not explain the problem in more detail, increase the trace level and reproduce the problem. Then restart message processing using the message display tool. Mark the message and select repeat.
3)Check the Note-803145
4) 404 is an HTTP response code that indicates that the resource in question could not be found. Usually this is due to an incorrect URL check all URLs.
Regards
Agasthuri Doss

Similar Messages

  • HTTP to File Scenario: execute Test Tool (html) but any received message?

    Hi all,
    I have configured the HTTP to File scenario in SAP XI 7.0. When i execute the Test Tool (HTTP_Client_Adapter.html), i don't see any message in the XI Server. I don't know the Test Tool which i used for the test work correctly, because when i clicked on 'Send' button, i don't get any message in the XI Server?
    The Configuration Scenario is OK when executing the Configuration Test in ID.
    Could you please tell me how i can know the Test Tool is execute correctly?
    The Test Tool which i used in the link below:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    Thanks a lot in advance,
    Vinh Vo

    HI,
    In XI You can go to RWB (from XI server homepage)->Comp Monitoring -> Display All ->Int Server-> Int Engine
    In the bottom, you find 3 tabs, select the test message tab to post messages.
    Pls note that, when you need to test, you should have created the scenario in IR/ID (and u can use the details of Receiver Determination ID) to fill in the details.
    You can refer this:
    /message/266750#266750 [original link is broken]

  • Http to File Scenario

    Hi,
    I am doing Http to File Scenario i.e, Receive message via HTTP, Process it and write the file in the target.
    1. As Http is the sender, I need not create Sender Communication Channel and Sender Agreement. But While Creating other objects in the ID, we need to mention Sender service, so what shd i mention there.
    2. Can we do Asynchronous scenarios for Http to file Scenarios, because I have done Http to RFC scenario before.
    3. When I use the HTTP Client tool to test my scenario, I upload a file or paste an xml payload and test, then will the file be created in the target directory, as Receiver is the File Adapter.
    4. Do I need to create any Technical and Business System for HTTP sender in SLD, or should I create a Business Service in ID.
    Regards,
    Varun

    Hi,
    1. As Http is the sender, I need not create Sender Communication Channel and Sender Agreement. But While Creating other objects in the ID, we need to mention Sender service, so what shd i mention there.
    ---> You need to use the Business Service on sender side. Similar to HTTP --RFc scenario, It is required to identify the Sender side service.
    2. Can we do Asynchronous scenarios for Http to file Scenarios, because I have done Http to RFC scenario before.
    --> Yes You can have the asynchronous scenario. with HTTP to file
    3. When I use the HTTP Client tool to test my scenario, I upload a file or paste an xml payload and test, then will the file be created in the target directory, as Receiver is the File Adapter.
    --> Yes it will create the target file. If youhave applied any File Content Conversion then you can align the XML format to flat file format also....
    4. Do I need to create any Technical and Business System for HTTP sender in SLD, or should I create a Business Service in ID.
    ---> Its better if you create the Business Service. Generally for SAP landscape Business system is used..and here in your scenario sender is HTTP and there is no need of Business system...Go for Business Service..
    Thanks
    Swarup
    Edited by: Swarup Sawant on Aug 12, 2008 10:36 AM

  • Error in HTTP to file scenario

    Hey guys
    we have a HTTP to file scenario in which our client has to send the Invoices over HTTP in XML format,when we test the scenario from within our landscape we are getting the output file correctly but when we test from the client site,we get an error message saying that the file has missing semi colon (,the URL which we are getting from the local HTTP client is something like this
    http://scosap005.sap.com:8001/sap/xi/adapter_plain?namespace=urn%3ANOVInvoiceToSCO&interface=MI_Invoice_sender&service=BS_test_invo&party=&agency=&scheme=&QOS=EO&queueid=httpclient&sap-user=&sap-password=&sap-client=100&sap-language=EN
    and the one which we are getting from the client is
    http://xx.xxx.xx.xx:8001/sap/xi/adapter_plain?namespace=urn%3ANOVInvoiceToSCO&interface=MI_Invoice_sender&service=BS_test_invo&party=&agency=&scheme=&QOS=EO&queueid=httpclient&sap-user=&sap-password=&sap-client=100&sap-language=EN
    why am i getting this error?
    thanx
    ahmad

    Hey guys
    i m having a very strange problem with my scenario,we are doing a HTTP to file scenario,now as both the sender and receiver have same structure i havent done any mapping,client is sending XML over HTTP from another location which is not in our landscape,he is using web methods Business connector .when he send us the XML message to our XI server some stuffs are added at the top of the payload,its something like this
    namespace=urn%253ANOVInvoiceToSCO&interface=MI_Invoice_sender&service=BS_test_invo&party=&agency=&scheme=&QOS=EO&queueid=httpclient&sap-user=nov_test&sap-password=xi_test&sap-client=100&sap-language=EN&
    these are actually the parameters which are used in the URL to send the XML to us.but because of this i m unable to process the XML .
    so my XML looks something like this
    namespace=urn%253ANOVInvoiceToSCO&interface=MI_Invoice_sender&service=BS_test_invo&party=&agency=&scheme=&QOS=EO&queueid=httpclient&sap-user=nov_test&sap-password=xi_test&sap-client=100&sap-language=EN&
    <?xml version="1.0" encoding="UTF-8"?>
    <Invoice transactionPurposeIndicator="Original">
         <InvoiceProperties>
              <InvoiceNumber>0094372098</InvoiceNumber>
              <InvoiceDate>20070319</InvoiceDate>
              <VendorNumber>VENDOR #</VendorNumber>
    but when i try this scenario from within our landscape it works fine and nothing is added on top of XML.
    they are sayin that nothin extra is being added from thr side and their XML does not have the extra addition on top.
    how should i solve dis problem?
    its urgent
    thanx
    ahmad

  • Error in the filename response vaule when doing Http to file scenario

    Hi,
       I am doing Http to File Scenario. I am trying to retrieve the source filename in the structure field "filename". I have defined a UDF for that and It worked well for file to file scenario.
    Now for Http to file scenario if i want to get the filename, I am getting "null" value in the response.
    I am using Http Client test tool for testing the scenario.
    My output is
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:FileTarget_MT xmlns:ns0="http://soacity.net/HTTPtoFile">
      <MsgId>DD74CE4AE01AC6F19C0900199912BCA0</MsgId>
      <filename>nullnull</filename>
      <Body>hello world.</Body>
      </ns0:FileTarget_MT>
    I got nullnull because i am trying to retrieve Source directory and filename.
    Desired Out put
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:FileTarget_MT xmlns:ns0="http://soacity.net/HTTPtoFile">
      <MsgId>DD74CE4AE01AC6F19C0900199912BCA0</MsgId>
      <filename>/FileServer/Sender/test.xml</filename>
      <Body>hello world.</Body>
      </ns0:FileTarget_MT>
    For File receiver i am using FTP Parameters.
    I got the correct output for file to file scenario because i had placed the file in the source directory, so that XI can read the source directory and file name. but now for Http to file scenario i am using the Http client tool, where in i have an option to paste the payload directly or upload the file.
    Any Inputs would be appreciated.
    Regards,
    Varun

    Hi,
    I Have defined the structure as
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Source_FILE xmlns:ns0="http://soacity.net/HTTPtoFile">
       <Message>
          <Id/>
          <Head>
             <Id/>
             <Filename/>
          </Head>
          <Body/>
       </Message>
    </ns0:MT_Source_FILE>
    My requirement is
    "The HTTP adapter would recieve a HTTP document. It has two main tags: head and body; there are two options : either specify the filename in <head> and data in <body> or you send the full message as payload into <body><message>.... </message></body>"
    So How do I proceed in Defining the objects.
    Regards,
    Varun

  • How To Test Idoc To File Scenario in ID From Tools- Test Configuration

    Hi All,
    Can any body help me in step by step process including screenshots for testing Idoc to file scenario in integration directory from tools->test configuration.
    My scenario is passing the PO Idoc data from R/3  into a file  using XI.
    i have processed the idoc from R/3  and now i went to sxmb_moni in XI system and took the payload xml data.
    In ID I have navigated to test configuration from tools then i have provided the following information.
    Sender Service  : Business system of R/3 b'coz here R/3 is the sender.
    Sender Interface : ORDERS.ORDERS6
    Receiver Service : Business system of XI b'coz here XI receives the data and         places it into a file
    In payload text box i have copied the xml code which i have taken from sxmb_moni and clicked the run button. then i got the following error:
    Sender Agreement
    Internal Error
                     HTTP connection to ABAP Runtime failed.
                     Error: 403 Forbidden
                     URL: http://bxdci.boewe.custservice.de:8093/sap/xi/simulation?sap-client=100
                     User: PIDIRUSER
    Kindly look into it and correct me if iam wrong or is there any other way to test this scenario in ID please suggest.
    Thanks & Regards,
    Venkat

    Hi Venkat,
    Specify the test confisuration as follows.
    <b>Sender</b>
    Service   : Business System of SAP R/3 System
    Interface : The outbound message interface name of type the IDOC.
    Namespace : will automatically loaded when u select the Interface. Check if it the correct namespace.
    <b>Receiver:</b>
    Service  : Business System name for the Fle system.
    Paste the payload that u copied from the sxmb_moni.
    Now click on Run and test ur Scenario.
    Was the scenario sucessfull in the Message Monitor.
    Regards
    Santhosh

  • Http to file scenario generate "Acknowledgement not possible"?

    Hi.
    On PI7.1 we built a http to file scenario and used the RWB "Test message" functionality to test the interface.
    Now we get a "Acknowledgement not possible" in sxmb_moni. How can we switch this off.
    thanks

    Hi
    while sending request use either EO or EOIO for Asynch.
    EO and EOIO, processing occurs asynchronously and the client only receives a confirmation of receipt with HTTP status u2018200u2019.
    Read this
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm

  • Warning message in MONI for HTTP to File scenario

    Hey guys
    i have a HTTP to file scenario wherein i m getting file from an extrenal system in XML format outside our landscape,file is coming in properly and its being delivered as desired as well,but everytime i check my payload in moni ,an information message pops up saying that the file may be unsafe,do you want to display,save or cancel?
    even though i get correct payload and the file is also coming from the designated IP and port,why do i keep getting this pop up?
    thanx
    ahmad

    Hi Ahmad,
    Put a break point at line 1,311 in progam RSXMB_DISPLAY_MSG_VERS_NEW_F02 in the form READ_AND_DISPLAY_DOCU2....
    That is where you are getting this popup from...
    Thanks,
    Renjith

  • HTTP to File Scenario using URL parameters.

    Hi,
    I am working on a HTTP to file scenario where POST method is hirring the XI server with authentication parameters.
    CAD application is trying to hot our XI server using POST Method and the application does not have ability to send XML payload to XI server directly.
    So we are simply receiving parameters in plain text in inbound payload.
    I need to convert this payload to XML format and am tring to work this out using dynamic configuration.
    But It is throwing parser error.
    BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 73, 75, 62(:main:, row:1, col:3) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:157) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73) at java.lang.Thread.run(Thread.java:770)
    Here I have to use HTTP sender adapter.
    Please suggest how can I acheive this.??
    Regards,
    Sachi

    Hi Mark and Maciej,
    The Inbpound payload we are reciving is of the kind:
    sap-user=<UserID>&sap-password=<Pwd>&Param1=Sachi&submit=submit
    As in HTML we ar using hidden parameters to given authentication details and submmit button to hit XI serrver.
    Can you please help me to out how can I add prolog and epilog.
    How can I change my payload to XML format.
    Regards,
    Sachi

  • Triggering an HTTP to file scenario using UDF

    Hi,
    Is it possible to trigger an http to file scenario from  UDF? If it is possible can anyone tell me how it can be acheived.
    regards,
    Meenakshi

    hi,
    can u tell me how this could be possible?
    my requirements are such that we are collecting some data in UDF and creating an xml. this xml is sent to another scenario using HTTP adapter.  this adapter need to be triggered from the UDF.
    please let me know how this can be done.
    regards,
    meenakshi

  • Test IDOC to File scenario

    Hey guys
    i m doing a IDOC to File scenario and am stuck at testing it.i went in we19 but dont know how should i test my scenario there.
    any idea how should i test my scenario
    thanx
    ahmad

    Hi Ahmad,
    IDOC to File
    R3 system.
    1. Create SM 59 RFC destination to XI,.
    2. We21 - Create port to XI.
    3. We 20 -- Maintain Partner Profile for the outbound Idoc.
    XI SLD
    1. Create technical system for R3 system
    2. Create Business System for the Client of the R3 system.
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    These are the required steps for IDoc to File scenario...
    In R3 (i.e., your IDES system)...
    RFC dest to XI (sm59) - any name
    Logical system (bd54) - any name
    Port to XI (we21) - any name
    Partner profile for the logical system (we20) - use Logical system name created in bd54
    In XI...
    RFC dest to R3 (sm59) -
    Port to R3 (idx1) -
    create metadata for the idoc (idx2)
    In sld...
    create business system for R3 with Logical system name as r3 sys.
    In we19
    and give in control record as
    Sender : Port ; Partner
    Receiver : Port = <Port created in WE21> ; Partner = <Partner created in we20>
    Regards..
    Ramesh.

  • Unable to Test Idoc to File scenario

    Hi All,
    I am doing Idoc to file scenario.But dont know how to test this scenario.
    I have done all the configuration in Backend and XIServer system.
    Please help me out.
    Thanks in Advance.
    Regards,
    Vikas

    HI
    Chech that these steps have been done
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    One these are done
    1) U can trigger the the IDOC by scheduled job in BD87 immediately after the       document is saved in R/3
    2) Using transactions like bd10 and bd12 u can trigger IDOC for master data
    3) While creating the partner profile there is a option “trigger immediately” . By enabling this option the idoc gets triggered.
    4) Using the transaction WE19 u can trigger the IDOC mannually
    Regards
    Santhosh

  • How to setup HTTP client for HTTP to File scenario

    Hey guys
    i have a scenario wherein one of our clients is sending invoices(as XML message) over  HTTP(client is outside our landscape) and i have to to send this invoice to a File system from where it will be picked up by an ABAP code(picking of the file has to be done by ABAper so i m not concerned with that)
    the way i m starting off this project is that
    i will create a sender and receiver data type,message type and Message interface,Message mapping is 1-1 so its kinda simple and then Interface mapping.
    in configuration i wont be creating and sender communication channel and sender Agreement,i need receiver communication channel,receiver determination and interface determination.
    does my design and configuration looks good to you guys?
    also i waz goin through some threads and it says that i need to setup HTTP client for this scenario and then specify a URL in a specific format.
    where will i setup the HTTP client and where will i specify the URL?
    thanx
    ahmad

    Ahmad,
    ><i>does my design and configuration looks good to you guys?</i>
    Is correct.
    ><i>where will i setup the HTTP client and where will i specify the URL?</i>
    Take a look at this thread and check the HTTP Client code.
    Copy the code and save it as a HTML file and you have the HTTP Cliet ready. GIve the details of your server, sender service, interface etc and trigger the call to XI.
    In a real time scenario, you will need to use the URL used in the HTTP Client code from your WebApplication to trigger the call to XI.
    /message/266750#266750 [original link is broken]
    Regards
    Bhavesh

  • Urgent!! HTTP to File scenario

    Hey guys i have a client who is sending Invoices to our company through HTTP over internet in XML format.he send this Invoice to our IP address and port and the firewall has been configured to allow Invoices coming to this IP and port.
    do we need to use party in this type of scenario or not?
    also any blog explaining this will be really helpful.
    thanx
    Ahmad

    not required to use party . you should use buisness serivce not business system.
    Also, check these blogs. They use HTTP adapters for their configuration,
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    and for HTTP Adapters u have follow this link..
    http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
    Best of luck
    regards
    sreeram..g.reddy
    Message was edited by:
            Sreeram Reddy

  • Testing IDOC to File Scenario

    Hello All -
    I have configured the IDOC to the cXML XSD using the IDOC ORDERS.ORDERS05.
    Can anyone suggest me how to test the scenario? How do i create the purchase order in R/3 and push it to XI to generate the cXML?
    Thanks,
    Tirumal

    Alright.
    I tried to test the scenario using WE19 after verifying all the RFC destinations on the XI as well as R/3 system.
    I chose an existing IDOC and changed the PORT to point to the one that i created.
    Now i get an error saying that IDOC is saved but cannot or should not be sent.
    Any ideas why i am getting this message. I suspect there is a problem in the Sender and Receiver information.
    This is the sender port information for the IDOC:
    Port: SAPD01 - Sap r/3 System
    Partner No: R3IDES
    Part. Type: LS
    This is the Receiver port information for the IDOC:
    Port : SAPXI - port created in R/3 System
    Partner No: Partner created in R/3 for XI while configuring partner profiles.
    Part. Type: LI
    Any idea why i am getting the error message?
    Thanks,
    Tirumal

Maybe you are looking for

  • Mid 2010 macbook pro freezes and restarts when moved.

    My macbook pro crashes daily and sometimes I have to keep turning it on for about 5 minutes because it doesn't start up it just beeps. once it starts up it tends to crash when moved even slightly. I have the crash reports and I'm hoping someone can h

  • Can the Portal Activity Report show unique users per page?

    Hello all I guess this is a rather simple question, but can someone tell me if the portal activity report can show a count of unique users per page per week for instance? Or will it just show which users have visited the page in a list without aggreg

  • Can't access BAM from JDeveloper

    Hi, I tried to create a connection to my local BAM Server in JDev 10.1.3.1., but I always failed! Error messages: Server is not set up correctly LTMHE1 ...OR... Authentication Failed for Basic realmI'm running on Windows XP and installed BAM accordin

  • Create New ABAP WebDynpro

    Hi I have completed a working approval process in ECC6 for trip expenses. This will be eventually used via ESS in the portal. (EP7). As part of the process in ECC6 I have a couple of new Dialog screens that allows the user to choose an approver. My q

  • Application Server Control Page not displayed

    Hi, I have installed Oracle Database XE,SOA suite with JDK1.4 and OBIEE advanced installation. I'm able to open the Presentation services and BI Publisher but when i tried to open the Application Server Control the page is not displayed. My Apps Serv