on 06-27-2006 4:13 PM
Im working on File to file scenario.
My source file is xml file.
What sort of prerequisites I need to do before processing this file.
I maintained the source file structure similar to xml file structure, do I need to maintain same attributes/tag names of source file in source format?
Hi Venu,
If your input file is xml, you can give as it is .
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
>>>>>I maintained the source file structure similar to xml file structure, do I need to maintain same attributes/tag names of source file in source format?
if the xml file you plan to send is the same as the
one that you've create you don't need to do anything else
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
I think i'm not properly expressed my doubt.
<u>My source file is:</u>
<ABC xmlns = "http" xmlns:xsi="http" xsi:scemaloc ="https"
<Docheader>
-
-
<Docdetail> 1..n
-
-
<docsummery>
-
---
</ABC>
I created the source format as follows:
<Recordset>
<Docheader>
<Docdetail>1..n
<Docsummery>
</recordset>
<u>Problem:</u>
Problem is when i map these source file to target flat file.the source fileds are suppressing.
bcz of this i'm getting error message
"Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd"
Thanks,
venu
Hi venu,
The reason is that the root element do not match.
Also, this is not a correct format in your file,
<i><ABC xmlns = "http" xmlns:xsi="http" xsi:scemaloc ="https"</i>
It should be ,
<b><i><ns0:MESSAGETYPENAME xmlns:="NAMESPACE"></i></b>
Just chage the Source File of this format by giving the correct Message Type and Namespace values.
Regards,
Bhavesh
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.