on 02-14-2007 11:44 AM
Hi guys,
i am a little confused. I am doing a HTTP2IDoc and i want to test the mapping of my Datatypes.
For this i have a sample file (XML) which the sender of the scenarios will send to the HTTP-Adapter. With this i'd like to test the Message-Mapping. But when i paste the XML-File into the test area, the mapping isn't working!
There is also the option to generate an Instance of my datatype inside my mapping. If I generate this, there comes up <b><ns:M2S_ROUTING xmlns:ns="http://vm...></b> . Instead of the segment i would like to see like in the XML-File: <b><M2S_ROUTING></b>.
But when i paste the undersegments of my sample-xml-file inside (under the ns: )the generated XML-Testing the mapping works.
All in all my question is, is there a need that the sent XML-File to the HTTP-Adapter needs also a ns (namespace) inside?! Am i doing something wrong?!
br Jens
Hi Jens,
press the souce-button in the test-tab.
Compare the message-tags with the message you want to test.
They must be the same.
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can delete the namespace in your messagetype
check question:
12. I have a problem with namespaces in XI - Is there a way to remove them?
in XI FAQ
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
Hi Jens,
you mean to say the source XML file you get is without ns:......if this is the case, then dont wory - just execute your scenario by putting your source file in your source directory......since in your sender agreement, you will tell your source interface, then this ns: will come in your source messge.
Thanks,
Rajeev Gupta
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
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.