Skip to Content
avatar image
Former Member

Message and Java Mapping

Hello -

I have a java mapping and a message mapping implemented in one interface.

Java mapping basically adds a header and does nothing else.

Message mapping has all the mapping. Its not complex but straight.

I have the Message mapping first and then the Java mapping in the Interface Mapping.

what happens is i could see the headers written through Java mapping in my output xml file which is good but i cannot view the message mapping output in the file.

Any ideas.

Thanks,

Tirumal

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Apr 05, 2006 at 03:06 PM

    Hi,

    Is your output of Message Mapping is input to Java Mapping? If so, then i think there will not be any problem.

    Also check the checkbox of Maintain Order at Runtime in the Interface Determination ?

    Are you able to test in the Interface Mapping Editor ? Test with giving data (first input i.e input to Message Mapping)and check are you getting required output after your Java Mapping.

    Hope this helps.

    Regards,

    Moorthy

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Gerat, Nice to hear that it worked.

      You can store entire document into a list and then populate the entire list in the endDocument event. This store should happen in the startElement event while pasrisng the message (Message Mapping output).

      Anyway it is depend on the complexity of the mapping, logic,feasibilit etc.

      Thanks,

      Moorthy

  • Apr 05, 2006 at 03:16 PM

    Hi Tirumal,

    i think there might be cache problem (or you forgot to activate your changed Interface Mapping). Copy the Interface Mapping and refer the copy in Inteface Determination to check out.

    Regards,

    Udo

    Add comment
    10|10000 characters needed characters exceeded