on 11-03-2008 2:33 AM
Dear friends,
I am having a scenario of fetching an xml file through sender file adapter. When i am testing my mapping in Test mode of message mapping it is working fine but when i fetch the real source xml file which is not having the XML namespace and Source Message type.
It is throwing error in Runtime.
At the same time when i edit the source xml file with the XML NAMESPACE & Source Meessage type it is passing successfully to the target system.
Kindly tell me friends how to solve this problem.
Take care,
Karthik
can you post the xml please. xml contains the Message type and the namespace unless ur mapping is doing something.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Friends,
My Source XML file:
<?xml version="1.0" encoding="UTF-8"?>
<PeopleMsg>
<Records>
<Record>
<FirstName>Dawei</FirstName>
<LastName>He</LastName>
<MiddleNameOrInitials>D</MiddleNameOrInitials>
<IDs>
<IDType>
<IDTypeName>Employee ID (Country Equivalent)</IDTypeName>
</IDType>
<IDs>999999999999</IDs>
</IDs>
</Record>
</Records>
</PeopleMsg>
My xml file in the Test Tab of Message mapping:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Source_MT xmlns:ns0="http://kpmg.com/ibs/mdm">
<PeopleMsg>
<Records>
<Record>
<FirstName>Dawei</FirstName>
<LastName>He</LastName>
<MiddleNameOrInitials>D</MiddleNameOrInitials>
<IDs>
<IDType>
<IDTypeName>Employee ID (Country Equivalent)</IDTypeName>
</IDType>
<IDs>999999999999</IDs>
</IDs>
</Record>
</Records>
</PeopleMsg>
</ns0:Source_MT>
Hi Karthik,
You need to include your namespace and message type in the input file. Then only your scenario will be executing fine .
Regards,
leela
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.