×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Disassembling different messages from same envelope

Disassembling different messages from same envelope

Disassembling different messages from same envelope

(OP)
Hi All,
I am working on a project which has several interfaces between BT and SAP XI.
I wont to create one message that contains all other messages so that we only need to use one web service.
The structure would look something like
<Common_Message>
  <Process_Order>
    <Field1/>
    <Field2/>
  </Process_Order>
  <Stock_Adjustment>
    <Field1/>
    <Field2/>
  </Stock_Adjustment>
  <Another_Message_Type>
    <Field1/>
    <Field2/>
  </Another_Message_Type>
</Common_Message>
I was hoping to get a single orch to accept this message and then directly call different Orchs for each message type contained within.
Can anyone point me in the right direction to do this.

Rod

RE: Disassembling different messages from same envelope

I would actually approach this in the following way:
- Like you said have all messages wrapped in an envelope.
- Create one WebService Orchestration receiving this Message
- Have your WebService check for the Messages inside your envelope. Like Process_Order,Stock_Adjustments,.....
- Write those String Values into a so called Context Only Property and send the Message to the BizTalk Message Box.
- Have your Process_Order Orchestration Subscribe to all Messages Common_Message AND the Context Only Property Value Process_Order.

Thats it.

If you have any more Questions just post!

Regards,

Stephan
 

RE: Disassembling different messages from same envelope

(OP)
Thanks Stephan,
I'll give it a try.
I'll have to experiment a bit as I haven't used this Context Only property or filtered on it before. But this looks like a great solution.

Many Thanks
Rod

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close