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

Similar Messages

  • Error Resource not Found in SXMB_MONI while doing IDoc to File Scenario

    Hi Experts,
    I am doing IDoc to File Scenario and I am facing Following Error in SXMB_MONI,
    <?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>Application</SAP:Category>
      <SAP:Code area="MAPPING">RESOURCE_NOT_FOUND</SAP:Code>
      <SAP:P1>193c0e01-bd37-11dd-850c-d879ac131b1f</SAP:P1>
      <SAP:P2>http://clarityPOC</SAP:P2>
      <SAP:P3>com/sap/xi/tf/_MM_Timesheets_iDocToFile_.class</SAP:P3>
      <SAP:P4>-1</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>Unable to find resource 193c0e01-bd37-11dd-850c-d879ac131b1f in the following software component versions: http://clarityPOCcom/sap/xi/tf/_MM_Timesheets_iDocToFile_.class-1</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I have tested the same file in test tab of mapping, execution of  mapping is successful there.
    Regards,
    Nitin Patil
    Edited by: Nitin Patil on Dec 5, 2008 7:09 AM

    Hi Dharmveer I have done the cache refresh ID in XI Data Cache Refresh using link
    http://sapnbipoc:50000/rep/support/admin/index.html
    but still same error persisting
    and in Integration Builder> Environment>Cache Status Overview >Problem tab
    following error (initial part of the error pasted) is shown
    Thrown:
    com.sap.aii.ib.bom.landscape.SLDElementNotFoundException: Adapter Engine af.npi.sapnbipoc not found in SLD
         at com.sap.aii.ib.server.abapcache.sld.AdapterEngineQueries.getAEUrl(AdapterEngineQueries.java:56)
         at com.sap.aii.ib.server.abapcache.sld.AdapterEngineQueries.getAEUrl(AdapterEngineQueries.java:41)
         at com.sap.aii.ib.server.abapcache.logons.IR_LogonData.<init>(IR_LogonData.java:26)
    Regards,
    Nitin Patil

  • TS3694 I have an error message 1015 on my pc when doing a restore how do I get the phone working again?

    I have an error message 1015 on my pc when doing a restore how do I get the phone working again?

    Andrew.Bull wrote:
    I am not sure if the phone was jail broken as it was a new phone to me ...
    If you bought it used, many if not most of them are "jailbroken" and cannot be fixed. That's why they are sold. Unsuspecting buyers are generally out of luck.
    Unauthorized modification of iOS can cause security vulnerabilities, instability, shortened battery life, and other issues
    Inability to apply future software updates: Some unauthorized modifications have caused damage to iOS that is not repairable. This can result in the hacked iPhone, iPad, or iPod touch becoming permanently inoperable when a future Apple-supplied iOS update is installed.
    ... It is also important to note that unauthorized modification of iOS is a violation of the iOS end-user software license agreement and because of this, Apple may deny service for an iPhone, iPad, or iPod touch that has installed any unauthorized software.

  • Error message "The document could not be saved. This file is already open" when trying to complete an electronic signature.

    Running Adobe Acrobat Professional 10.1.0. I cannot upgrade to newer version because several applications were already tested on this version.
    When trying to complete an electronic signature, my users receive the error message ""The document could not be saved. This file is already open".  When they close and open the file again to try to sign again they find a corrupted electronic signature.  Instead of a clean signature with the box colored in light blue they see their signature with the embedeed message Click Here to Verify & Sign with the box colored in grey.
    We turned off antivirus in the Sharefolder where the forms are stored and nothing.  We turned off the antivirus on the client and nothing.  We stored the files in another server and nothing.  One workaround is saving the file in the desktop, signing it, and then back to the Sharefolder.  Another is saving the file with a different file name.
    I've searched and the only similar thing was caused by the Windows Preview Pane.  See Information Transmogrification: Adobe Acrobat saving a file does not work, displays “File may be read-only”.  No luck with this one too.
    Is definitively an intermittent problem.  The users that experience the problem experience it intermittently.
    This started to happen when we move our computers to Windows 7.
    Any ideas?

    Correction on Question:
    This is a web application and the users need to be able to load the editable .pdf form from the website, edit it and submit it back to the website from within Internet Explorer.
    Users began getting the error message:
    'The document could not be saved. This file is already open.'
    last Friday after having no problems prior to this. Some users can edit the editable .pdf forms on the website and save the file with the same name to the website. Some get the error mentioned in the subject. 
    We really need help getting this resolved.
    Sandy Martin

  • Error Message: "The parameter is incorrect" when trying to modify SSLs

    Like I wrote in my subject line, RoboHelp pop-ups the error message “The Parameter is incorrect” when I try to modify any SSL.
    What happens next, is that the “Print Document General” window opens, but does not allow me to select anything (the fields are blank).
    If I close the window and open it again, it seems to work until I have to select the styles from our Microsoft Word Template.
    Then the error message “The parameter is incorrect” appears again, and RoboHelp does not allow me to select anything but a stylesheet
    (which is not what I need).
    This is very strange, because not only  until recently I was able to build Word documents and PDFs, but also my colleagues are able to
    produce them out of my source.
    Even the old projects, that I was able to build, now I cannot.
    I do not have any problem in generating CHMs.
    Until now I have tried everything I found in the forum:
    I deleted the PSS file (also following the advice in your snippet number 14 from 10 – RoboHelp HTML –Features and Use).
    http://forums.adobe.com/thread/120022
    I reinstalled RoboHelp and the Adobe Technical Communication Suite (I also used CCleaner to delete the registries).
    http://forums.adobe.com/thread/598335
    I gave Administrator rights to all users in my computer (what seemed to work for some SSLs, but not for all)
    http://forums.adobe.com/thread/870339
    I am also looking at all programs that I installed since the last time I was able to build .docs in case there is a conflict, but I do not find anything!
    My computer has Windows 7 installed and I use the Adobe Technical Communication Suite 3.5, with RoboHelp 9.
    My Microsoft Office is 2010.
    Can somebody please help me? Did someone have the same problem?
    Thanks in advance.

    Hi there
    I know you said you reinstalled, but did you reinstall before or after you gave administrator rights to all users on your computer? And how many users *ARE* on your computer?
    Often you need administrator rights to properly install things.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • My kid just got an iPod 5th gen (today from Santa) and it won't power up or charge. The only response is when I connect the USB and press the power button or front button the Battery appears with red line and lightning symbol. No other response at all.

    Sorry about the long title.....its my first post.
    My kid just got a brand new iPod 5th generation (today from Santa) and it won't power up or charge. The only response is when I connect the USB and press the power button or front button the Battery appears with red line on left and lightning symbol below. There is no other response at all no matter what I do, including holding both buttons down for extended period.  My other kid got one and it works perfectly.....I have interchanged usb cables ports etc. but still no response....I would really appreciate any help.  

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    -  Make an appointment at the Genius Bar of an Apple store since you have a hardware problem with the iPod. This is because as you said the same cable works with another iPod.
    Apple Retail Store - Genius Bar

  • When I try to install itunes 10.5.2, I get the following error message "The installer has insufficient privileges to modify this file c\progamfiles\itunes\itunes.exe and won't install. help

    When I try to install itunes 10.5.2, I get the following error message "The installer has insufficient privileges to modify this file c\progamfiles\itunes\itunes.exe and won't install. help

    Okay ... so it's not one of the cases of bodged up ACLs on the Apple folder in Common Files. (That's been underlying a few of the recalcitrant E7W5s.
    Just in case, let's try the fixit from the following document:
    Fix problems with programs that can't be installed or uninstalled

  • Please i am unable to restore my ipad due to error 3194.The restore process stalls when it gets to the point where the firmwarwe is being updated.error message 3194 comes up.please help me

    please i am unable to restore my ipad due to error 3194.The restore process stalls when it gets to the point where the firmwarwe is being updated.error message 3194 comes up.please help me

    http://support.apple.com/kb/TS3694#error3194 
    Unable to contact the iOS software update server gs.apple.com

  • Error message-The installer has insufficent privileges to modify this file:C:\Program Data\microsoft\windows\start menu\programs\iTunes\.iTunes.ink

    error message-The installer has insufficent privileges to modify this file:C:\Program Data\microsoft\windows\start menu\programs\iTunes\.iTunes.ink     
    How do I correct this to download iTunes so it will run?

    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • 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

  • "An error (1502) occurred during the action Open." when opening original .VSD files, but NOT copies!?

    We have a weird situation we're trying to troubleshoot for quite a while: We have multiple .vsd files stored on our network in DFS shares.. We have multiple users who cannot open the files, when they try by navigating to the file and double-clicking it,
    they get "An error (1502) occurred during the action Open. File not found"
    However, if they copy and paste the file to the same exact network folder, THAT file they can open with no problem!
    The problem is very bizarre. I've checked obvious things such as file/folder permissions, versions of Visio installed, things in common between people who can and can't open the files.. I even did some testing today with some strange results...
    Windows 7 x64 machine with Visio 2010 Pro installed (x86):
    1. Opened file by double-clicking it in explorer, "Got the 1502 error"
    2. Tried it again, this time I just get "File not found"
    3. Opened Vizio, did a File --> Open --> navigated to the file and opened it that way... 1502 error.
    4. Copy/pasted the file into the same folder where it's stored, then double-clicked the copy and it opens fine.
    5. Closed the copy, tried to open the original, still get file not found / error 1502.
    The file does exist, it IS there.. sometimes the user just copies it to their local desktop (well, it's not really local, it's redirected) and it opens fine there.. other users email themselves a copy of the file and then open it that way.. it works for
    some, not for others.. and there's no discernible pattern yet to identify who this is affecting. Anyone have any ideas?
    -Keith
    -Keith Elkin

    Hi,
    Based on the error message, the issue may be caused by the Visio file is occupied by some other program in DFS.
    >>4. Copy/pasted the file into the same folder where it's stored, then double-clicked the copy and it opens fine.<< If you did this step, the Visio file would rename in the same folder, like file1.vsd. Thus, it opened well.
    Thus, I recommend you check the file's status in computer management in DFS server, see the below image:
    If the affected Visio files were occupied, please try to clean them(right click>close the file) to test.
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Sorry,
    This didn't help, the files are not open, locked open, and the issue still persists. Any other suggestions?
    -Keith
    -Keith Elkin

  • Error in the installation of  portal when upgraded to SP14

    Hi All,
    I have installed SR1 (WAS,Portaland KM)and everything was working fine.
    Then i tried to upgrade my server to SP14 and i have successfully upgraded WAS and portal to SP14 and it was working fine. But once i tried upgrading the KM it is throwing one error <b>"portal not found"</b>.When i checked for the version in Support Desk, it was showing me versions for WAS and portal, but not of KM. And my Content Management is working properly.
    My OS is AIX 5.3
    do help me. Its urgent
    Regards
    Rajeev.

    Hi Rajeev,
    are you sure you entered the correct logon / SID data?
    In case you did is there anything specific on that issue to be found in the installation or default trace? If so, please post the relevant extracts.
    Regards,
    Thomas

  • Where to enter the Assembly serial number when doing WIP Component ISSUE

    Hello Oracle Guru`s,
    I am performing Kit completion via API`s. I am able to perform Move transaction(have inserted in apps.WIP_MOVE_TXN_INTERFACE) and Completion Transaction(apps.mtl_transactions_interface, apps.mtl_serial_numbers_interface and apps.CST_COMP_SNAP_INTERFACE)
    When doing the Issue(Matreial transaction) , i am inserting in the apps.mtl_transactions_interface and apps.mtl_serial_numbers_interface, where do i enter the Assembly serial number? I would like to know, in what assembly serial number is my component residing.
    Aslo, when doing the issue(inserting in mtl_transactions_interface ), why is it important to enter the operation_seq_num and department_id? and what should be the value in these columns.
    we are using Average Costing.
    TX in advance for you reply.
    Regards,
    K

    Hello KING,
    Did you try doing online transaction for this case.
    I believe that you can enter parent serial number while entering serial number for components during online transaction. With this test, you can check that what column assembly number is going and you can try same in your background processing.
    Thanks,
    Ritesh

  • If I have an Iphone5 with iOS 6.1.4 can I still get the iOS 7? When does iOS 7 come out if so?

    Can i still get iOS 7 if i have the iOS 6.1.4? When does the iOS 7 come out if so?

    yes of course you will be able to install OS 7 but you will have to wait until it comes  out, unless you are   an developer of Apple

  • How to get the filename in mapping when using sender File adapter?

    hi Experts,
       I have scenario where XI reads the input file using Sender file adapter.
       The file name is configured in the communication channel.
       In my message mapping it is possible to read this file name?
    Thanks
    gopal

    Hi Gpoal,
    Use Dynamic Configuration - /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Regards,
    Geetha

Maybe you are looking for