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

Similar Messages

  • 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

  • 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

  • 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

  • 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

    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

  • 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]

  • 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

  • How to suppress the Acknowledgement  Error in IDOC to File scenario?

    Hi -
    I got the status in SXMB_MONI as 'Processed Successfully' for the IDOC to File scenario but the Acknoledgement status throws an error saying 'Acknowledgement not possible'.
    I read one of the documents in the forums on how to suppress the acknowledgement using a table on R/3 side using IDXNOALE,
    i tried that option but i still get the 'Acknowledgement not possible' error.
    Is there any other way to suppress this error?
    Thanks,
    Tirumal

    Hi Tirumal,
    Receiver adapters that run on the Adapter Engine support system acknowledgments if they are requested by the sender. Acknowledgements are triggered when a message is successfully processed by the adapter or if an error occurs while it is being processed. Receiver adapters do not support application acknowledgments. The RNIF and CIDX adapters are exceptions to this rule, since they also support scenario-dependent application acknowledgments. Sender adapters of the Adapter Engine do not request any acknowledgments.
    This means, JDBC adapter does only send system acks, however IDoc adapter is requesting application acks. Therefore as mentioned by the previous poster, you have to disable acks for this scenario using report IDX_NOALE.
    Also go through these documents for any further help:
    http://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how to handle acknowledgments for idoc.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
    Regards,
    abhy

  • Error in IDoc to file scenario

    Hi Experts,
    I am working on IDoc to File scenario.IDoc is sccessfully reached XI.In SXMB_MONI it is showing error in request mapping.Error is
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">JCO_SYSTEM_FAILURE</SAP:Code>
      <SAP:P1>max no of 100 conversations exceeded / CPIC-CALL: 'ThSAPCMRCV' No memory availab</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>&quot;SYSTEM FAILURE&quot; during JCo call. max no of 100 conversations exceeded / CPIC-CALL: 'ThSAPCMRCV' No memory availab</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error>
    Please suggest me in this issue.
    Thanks,
    Bhuvan.

    Check this link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/bb/ad1c3d2b058c4ce10000000a114084/
    You might want to refer to the SAP NOTE: 316877
    Regards,
    Ravi

  • Error in SOAP to file scenario

    Hey guys
    i m doing a SOAP to File scenario and getting the following error.
    <SAP:Stack>&quot;COMMUNICATION FAILURE&quot; during JCo call. Error opening an RFC connection.</SAP:Stack>
    any idea where should i look ?
    thanx
    ahmad

    Hey
    i m still getting a red flag in MONI,the error is
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">JCO_COMMUNICATION_FAILURE</SAP:Code>
      <SAP:P1>Error opening an RFC connection.</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>&quot;COMMUNICATION FAILURE&quot; during JCo call. Error opening an RFC connection.</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error>
    i checked my mapping by copyin payload from MONI,its working fine.
    thanx
    ahmad

  • Error in Proxy to File scenario

    Hello All,
    I m doing Client Proxy,  ABAP proxy to file scenario.
    I hv done all the configurations in IR & ID.
    I hv also created proxy in sender R3 system.
    But messages are not going successfully from R3.
    when i checkin SXMB_MONI of R3 i get following error
    <SAP:Stack>Error when receiving by HTTP (error code: 110, error text: )</SAP:Stack>
    Message is in SYSFAIL status in SMQ2.
    Any clues how it can be solved??
    Thanks in adv.
    Mahi

    Hi Maheshwari,
    Please try as mentioned below
    Option 1: Go to SXMB_ADM->Manage Queues and Deregister all the Queues.Use transaction SMQR or SMQ2 to reset the status of queues
    For this to initiate processing of messages stuck in the queue, make sure to set following IS configuration parameter
    MONITOR QRFC_RESTART_ALLOWED to value 1
    Option 2: Check the user associated with the RFC destination AI_RUNTIME_JCOSERVER in sm59 transaction. It is generally SAPJSF. Might be posisble the user password is expired or locked. Log on to j2ee admin tool on the server side and update the password and then see if it works.
    Thanks
    Amit
    Reward points if answer is helpful

  • Error in Idoc-XI-File scenario

    dear all,
    i am doing one Idoc to Xi and then to a flat file scenario. i have created one BS of type 3rd party for receiver and ont BS of type Web as ABAP. Then I created one namespace and import the Idoc type there. I have not created any DT, MT, MI, MM. I have created one interface Mapping where both sender & receiver has same structure & I have selected there mapping type of ABAP-Class with one Z program name.
    Then, in ID, I created two CC channel one as receiver of File type & second sender as Idoc type.
    Now, the thing is tht I am not able to get the file at the receiver end. Can anybody help me tht where I am doing an error?
    Warm Rgards,
    N.Jain

    <i>Then, in ID, I created two CC channel one as receiver of File type & second sender as Idoc type. </i>
    >>
    you dont need a Sender IDoc channel to be configured.
    <i>Now, the thing is tht I am not able to get the file at the receiver end. Can anybody help me tht where I am doing an error?</i>
    >>>
    1. what does it say in SXMB_MONI ? Has the IDoc come into XI ?
    2. In communication channel monitoring what is the error for the recv. file adapter

  • Error on PROXY to FILE scenario

    Hi,
    I'm working on a Proxy to FIle Scenario. 1 Proxy is triggered and 7 files should be generated at the target side.
    Now when the proxy is triggered all the 7 files doesn't get generated. Instead randomly some 3-4 files are getting generated.
    Could not see the rest of the entries in MONI also.
    Can someone tell how to monitor this and where exactly to check for the error, as message doesn't reach the MONI and we don't have a sender channel beacuse its Proxy.
    Thanks,
    Vikas

    Vikas,
    Can someone tell how to monitor this and where exactly to check for the error, as message doesn't reach the MONI and we don't have a sender channel beacuse its Proxy.
    > how 7 files will generate ?
    From Proxy level @ ECC it don't seems logical/possible as whole data will be passed as a whole to proxy interface and on some condition basis only you would be creating 7...files . so definitely at SXMB_MONI of XI you can see this .
    Try to increase trace_level parameter to 3 (only in development box , as it will consume the server very fast) for better monitoring .
    Since the no. of files will be created by file adapter only so those many no. of receiver file adapter calls you can see at RWB.
    Regards,

Maybe you are looking for

  • UK Payroll new tax code 1000L

    Hello Friends:   In UK Payroll new tax code 1000L for year 2014-April 06th.  I have updated in Constant table V_T511K effective April 06th 2014 but this code is not going to Ceridian interface(PU12).  I would like to know where we need to apply this

  • How can i speed up my computer

    I was wondering if I need to do anything in particular to clean up/speed up my IMac computer.  I originally purchased it in early 2010 and have not had any problems per se but at times it does appear to run slow and I am having to wait for the spinni

  • Where do I find upgrades for my imac G4, 800 mhz for OSX?

    I have an IMAC G4 that is currently running OS X 10.2.8 I need to upgrade my safari since it mis-reads some pages when using this IMAC. But I can't upgrade safari unless I can upgrade the OS X. I can find upgrades for 10.3.9 but can't install without

  • Itunes cannot find the internet

    Downloaded Windows 7 64-Bit iTunes - set up complete. Error message inidcates that iTunes cannot access the internet. It will be a simple setting but can not locate this. I have allowed Firewall Access (iTunes and iTunes2) but still no access. Any ad

  • Dwg files

    how do you convert dwg files to PDF?