Skip to Content
0
Former Member
Feb 14, 2007 at 11:44 AM

Mapping-Testing

19 Views

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