Http 2 file

hi i have to test http2file or http 2 jdbc or http 2 rfc
1.How to test the Http 2 file or http 2 jdbc senarios
2.What are file required for http senario
3.where at which location i want to place files
4.send me the http request files.

search the forum for http blogs lot you will find.
For test case you need to do the follwoing
IR
Datatype creation (input and output)
MessageType creation(use dt created above)
Message interface of inbound type and outbound type
Messagemapping
interfacemapping
ID
CC for File receiver
Receiver Determination
Receiver agrement
Interface determination
Once done activate all objects
Check the configuration with test tab in ID from menu some option you can get this
Go to RWB and use test tab with proper test data
Everything goes file gets generated in respective folder configured in your cc
Rajesh

Similar Messages

  • 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

  • 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

  • HTTP to File with source XML validation

    Hey guys
    i have a HTTP to File scenario wherein i m getting XML over HTTP from an external system.i need to perform a validation check on this payload and if the check fails then i need to send this payload as a mail attachment to a certain address,if check is successful then i need to post this XML to the File server.
    i have done simple scenario without any validation but now i need to upgrade and perform validations,do i need to do that in Message mappin?
    some links will be really helpful
    thanx
    ahmad

    Hi,
    I hope the following two ways are possible.
    1)
    Maintain one message as source and two messages as target.One is actual message and second one message structure should containt the structure with  error details with source details.
    Validate the message in MM with UDF.
    If the source is valid then assign the msg to correct target messages.and ResultList.SUPPRESS to suppress the second message
    Else then assign the error details with source details to second message.and ResultList.SUPPRESS to suppress the first message
    Be sure that the target messages occurrences are 0..unbound or 0..1
    then use the IM in interface determination.
    and maitain two CCs one for actual receiver, second for MAIL receiver with HTTP attatchment.
    2) You can raise an alert from payload. in alert you should maitain the mail, su01 mail id , designated reciept.
    See the below links
    Alerts with variables from the messages payload (XI) - UPDATED - /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    Triggering XI Alerts from a User Defined Function - /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
    /people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter - XI: HTML e-mails from the receiver mail adapter
    Regards
    Chilla

  • 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

  • HTTP 404 File not Found running a page created with the wizard

    Hi all,
    I created a page "tabular form" with the wizard to delete and update records in a table.
    All pages of the application are ok. Only this page, when refresh after click on the "delete" or "submit" button send the message "HTTP 404 - File not found".
    OS - Windows XP
    DB - 10.1.0.4
    HTMLDB 2.0
    any idea?
    thanks in advance.

    Hi Scott,
    this is the error.log
    [Fri Oct 06 11:39:41 2006] [error] [client 10.20.101.243] [ecid: 1160127581:10.20.101.243:3860:2904:21,0] mod_plsql: /pls/htmldb/wwv_flow.accept HTTP-404
    wwv_flow.accept: SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE: F51,F52,F53,F54,F55,F56,F57,F58,F59
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
    This is my first application with htmldb and i don't understand where is the error because i don't added parameter after the wizard creation. I just created the page and run. If this page start the first time when is called from another page, why after refresh fail?
    thanks, Fabio

  • 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

  • PDF preview not working in ITS after patch31 - HTTP 404 file not found

    Hi Friends,
    We installed Patch 31 on ITS 620.
    Previousl patch level was 17.
    The functionality to show pdf preview using FM 'SSFCOMP_PDF_PREVIEW' is not working.(Which is working fine when viewed from SAP GUI)
    We are getting 'HTTP 404 - File Not Found' error.
    What could be the reason?
    Any help on this is highly appreciated.
    Thanks,
    Simha
    Edited by: Simha on Oct 30, 2008 3:03 AM

    problem not resolved and we reverted back to older patch.
    Closing this thread

  • 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-XI-File:  "The requested resource does not exist"

    i have a http-XI-File scenario, where i m sending a request from the HTTpClient application(i obtained that HTTPClientApplication from SDN itself), when i send the request, i receive a response in the internet explorer as
    "The requested resource does not exist"...
    help me

    Hi,
    Have You Entered Correct Input Parameters in the Client Test Tool ???
    Please Mention the Correct Server Port
    Regards
    Khanna

  • Global Settings - 'HTTP 404 - File not found'

    Hello
    I have some problems with the services-portlet in portal. When I click on the link to 'Global Settings' of the services-portlet a 'HTTP 404 - File not found' exception is displayed.
    Additionally I have some problems on accessing the portal with ..../pls/portal. Sometimes it works, sometimes I have to use the direct access URL like ..../pls/portal/url/page/myPageGroup.
    Can anybody help?
    Thanks
    Chrigel

    Hello again
    I opened a TAR at metalink and got the help I needed.
    Here the reason of this problem:
    The Default home page specified in the Global Settings was deleted either through the GUI or directly from the tables, causing this error.
    You can get a script from metalink to reset the default home page to Corporate Home page.
    Happy Easter!
    Chrigel

  • Doubt About HTTP To File

    Hi Expers,
    I have one doubt. If iam Developing the scenario HTTp To File
    Then do we need Any RFC Connection.
    When Do We need RFC Connection In case if we r implementing with HTTP
    Please clear me.
    Regards
    Khanna

    <u></u>Hi,
    Please look through the below process...
    DESIGN.
    1. Create DataTypes for source and Destinations. Create elements for all the text fields of your HTTP Client so that they can all be mapped into the destination file
    2. Craate MessageTypes for the two datatypes.
    3.Create Message Interfaces. the One for HTTP is the sender, Asynchronous ( as no response is expected) and one for File is receiver, asynchronous.
    4. Do the mapping. It will be mostly a one to one mappingof the fields.
    5.Create the Interface Mapping.
    Configuration
    1. Import your Business System under your Configuration Scenario.
    2.Create 2 communication channels. One for Http as a sender and one for File as a receiver.
    check these links for the confiuration part.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    3.Do the Receiver Agreement for file. HTTP doesnt need a sender agreement.
    4.DO the Receiver Determination and Interface Determination.
    Alos check "Step-By-Step Approach for Implementing XI Scenarios"
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
    Do let me know if you have further clarifications
    Hope this helps
    Regards
    Kiran..

  • 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

  • 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

Maybe you are looking for

  • How do you expand items in a list of items in jsp page

    I have this list of task items being retrieved from the data from master table:      <%      List taskList = (List) request.getAttribute("searchresult");      if (searchresultList.size() != 0) {       for (Iterator itr=searchresultList.iterator(); it

  • Help! Laptop died/new laptop.  How do I import my itunes?

    My old laptop died. I did backup all my tunes to a memory stick and have most of my tunes on my ipod. How can I get my whole library onto the new laptop! Thanks

  • How do I go mabout creating an MP3 version of purchased music

    How do I go about creating an MP3 copy of purchased music. I hate buying music on Itunes: you never know where it is stored on your computer and support does not cover the issue I am looking for

  • Importing of docs in DMS

    Hi, Our customer wants to import documents(pdf) from external system into DMS directly. Is there any tool available for this? Or this needs to be develpoed on another platform and integratred. Quick response will be helpful.

  • JDK1.4 headless vs xvfb vs PJA

    I need to generate images on a Solaris box without an X11 server. As far as I know, my options are: - PJA - xvfb - JDK1.4 in headless mode I have tested PJA and it is very slow. Has anyone tested server side image generation using xvfb or JDK1.4 in h