on 10-02-2007 5:33 PM
hi
i was trying this simple file to file scenario, i made sure i tested everything properly. i used the processing mode to be delete and in the receiver i have set it to create a folder and then save in it. but when i am trying to do the transfer the file is getting deleted from the sender but its not creating. but thats not the main issue when i check the runtime work bench message monitoring i see system error. if it has got deleted from the sender then how come its not showing sender success. am i missing something here.
kalyan.
File to File Adaptor
1. Check whether your integration scenario is configured correctly
2. Check whether your integration scenario communication channel (File sender and receiver) are running properly using adaptor monitoring in Run Time workbench. Both file channels should be in GRENN
3. Check whether you can see all cache information XI cache ABAP side and JAVA side.
If all of the above conditions are cleared, you have a well running integration scenario for FILE to file message transfer.
Now place the file in sender's input directory. Make sure you have configured to archive the file once adaptor processes it.
File should disappear from the input directory and should be available in archive directory.
This will assure you that sender adaptor working fine but still not your scenario.
According to the sender agreement the message READ by the Sender adaptor will be pushed to integration server. Inside integration server, it will look for the message semantics and interface semantics to identify where it supposed to send the message.
It is not the job of file adaptor to decide the message transformation, translation and routing. This is handled by the integration sever. As long as message is delivered to the integration server, File adaptor is working in SENDER mode.
Now look into the message monitoring transaction in XI and look for the message from the file adaptor based on sender's agreement details (interface name, party name, namespace etc).
There should be some error message in integration server message monitoring transaction, if integration server could able to deliver the message successfully to the receiver adaptor.
If integration server could able to send the message to the FILE receiver adaptor, then it is the job of the receiver adaptor to process it.
Look at the receiver channel monitoring screen in J2EE side of monitoring screen.
If you did not see the data in expected output file you should have an error in FILE receiver channel monitoring screen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
can u please post the audit log from message monitoring,also make sure the log is for your scenario and not anybody's else,secondly answering your question ,yes,it is possible that the file was deleated but was not delivered to the IE due to the system error you have.
you need to look at the audit log and that will tell u everything
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kalyan,
<i>
" if it has got deleted from the sender then how come its not showing sender success."</i>
I think you made the selection for Messages monitor in IS. If you want to know whether the sender is succes or not, then instead of choosing Integration Server in Mesasge monitoring choose the Adapter Engine. To see the audit log - After choosing messages [Adapter Engine] go to the last tab to view the audit logs.
raj.
hi agasthuri,
i checked the trace file, i think this is the error,
<SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_f2f1_: Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
but i tested my mapping its perfect.
heres the payload of the trace file
<?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">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_f2f1_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
<SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_f2f1_: Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Hey
use this
<?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">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_f2f1_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
<SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_f2f1_: Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
u have extra hyphens in ur payload which is not allowed
have a look at the following to test ur mappin
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
Thanx
Aamir
Message was edited by:
Aamir Suhail
Message was edited by:
Aamir Suhail
thanks, i think i may asking too amatuer questions but please help me as i am a beginner. now i tested it, heres the test result
15:41:20 Start of test
Cannot produce target element /ns0:MT_Vendor1. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd Cannot produce target element /ns0:MT_Vendor1. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
15:41:21 End of test
also i just found out that my actual payload is not showing in the payloads--> Main Document(application/xml) section, the previous xml that i have posted was the error file, sorry for the inconvenience
heres how the payload section is displayed
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
-
Invalid at the top level of the document. Error processing resource 'file:///C:/Documents and Settings/Madhav/Local Setting...
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
^
lolz,yeah you are right Raj,actually i asked him for the payload and he gave me the trace file:))even i didn't look at it,just removed the hyphens and gave it back to him.looks like i need a coffee break;)
he need to test the message mapping by copying the payload as shown in the blog i send earlier
Thanx
Aamir
sorry once again, heres my payload after following the document u have sent, there are some unwanted lines on top of the payload
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 <?xml version="1.0" encoding="UTF-8"?>\par
\par
<ns0:MT_Vendor1 xmlns:ns0="urn://mat:f2f">\par
<VendorName>kalyan</VendorName>\par
<LastName>golla</LastName>\par
<SearchTerm>madhav</SearchTerm>\par
<Currency>Dollar</Currency>\par
<Address>\par
<Street>5404</Street>\par
<City>Raleigh</City>\par
<Zip>27607</Zip>\par
<Country>US</Country>\par
</Address>\par
</ns0:MT_Vendor1>\par
}
kalyan
Hey
the sender file is not a valid XML,either there is some issue with your browser,are u using Internet explorer or Firefox? or there is some problem with the file itself.
the correct XML must be like
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Vendor1 xmlns:ns0="urn://mat:f2f">
<VendorName>kalyan</VendorName>
<LastName>golla</LastName>
<SearchTerm>madhav</SearchTerm>
<Currency>Dollar</Currency>
<Address>
<Street>5404</Street>
<City>Raleigh</City>
<Zip>27607</Zip>
<Country>US</Country>
</Address>
</ns0:MT_Vendor1>
Thanx
Aamir
Very Simple
Locate the corresponding mapping in XI development framework
Test the mapping there by entering the input fields.
Complete the testing
On successfull completion SAVE the input
This is ur valid representation of the input data, if you are sending XML data through the FILE adaptor in send mode.
Else there should be a mapping in FILE sender adaptor configuration to map each record from input file to a XML message format in XI corresponding to the mapping used inside the SCEnario.
Thanks
hey shaji,
thats exactly what i did. tested the mapping by some inputs, got the mapping tested successful, copied the xml of the tested file and saved it as .xml. now i am trying to transfer the same file, but its not processing. for some reason when i check the payload in the SXMB_MONI i see some extra lines added to the payload.
thanks
kalyan.
where you have the error in RWB-->Message Moni on IS or IE or AE?check that .
if the error is on IE then might be prob with Mapping ,if it is on AE might be problem with the receiver file adapter.
any file File content conversion used?on both or just one side either Sender or receiver?
and also see if you have success status in SXMB_MONI .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.