Skip to Content

how to include separate messages in one outbound proxy trigger

Hello, A document has 50 items. I am triggering outbound proxy to send this document and I need separate XML for each item. The target system wants separate xml for each item. I am calling the proxy inside the item loop but is there anyway to bundle them together (but not in same XML)

thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 30, 2017 at 01:38 PM

    Hi, Have you tried splitting the message in your mapping program? You can define a 0 to many Operation mapping and split your message there.

    Best regards,

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 30, 2017 at 04:35 PM

    Here is an example. You need to change the signature of both the mapping program and the operation mapping. Be aware that the mapping program should be adapted as the structure is slightly different:

    br

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 30, 2017 at 04:13 PM

    Hi. I tried to do that in operation mapping but it says that my message mapping needs to be of correct cardinality. The target schema is not 0...unbounded. Its 1...1 . I did made my data type as 0...unbounded using the node. It doesn't allow me to make the data type itself as 0...unbounded so I put all the fields in a node and made it 0..unbounded. but I cant change the target schema where I have to map this message type. So how can I make the operation mapping 1 to many ?

    Add comment
    10|10000 characters needed characters exceeded