on 03-29-2011 5:15 AM
Hi,
I have imported an external definition but its not accepting the file structure send by user..Its showing redcolour fields in the mapping of the test tab aslo when i pasted the payload..
This is the sample structure of the xml file from the test tab of mapping of my external definition..
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Policy xmlns:ns0="http://www.policy.en/XI/Swiss">
<heading>
<billcode>1</billcode>
<version>01</version>
<source>123</source>
<destination>424</destination>
<date>43</date>
<hour>4234</hour>
<code>324</code>
</heading>
This is the file sent by the user
<?xml version='1.0'encoding='ISO-8859-1'?>
<MT_Policy>
<heading>
<billcode>420054842</billcode>
<version>001</version>
<source>EN12</source>
<destination>0230</destination>
<date>2011-01-04</date>
<hour>14:09:03</hour>
<code>01</code>
</heading>
Please let me know,for me it looks like the strctures are same..Why is it not accepting..
Hi,
Namespace is missing in the data send by user....
to test the same copy paste the namespace of sample payload and add the same to the message received from user it will work...
HTH
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
it seems you have created data and message type for the structure, thats why it is having NS0 tags and XML name space,
even encoding also different.
you have to handle this,best way is convert your test data in to XSD using any XML tool,and import it..it will work.
or
remove XML Name space in message type and try it,i think it will work.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
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.