Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disassembling different messages from same envelope

Status
Not open for further replies.

rodmcleay

Programmer
Jun 20, 2005
11
AU
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
 
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
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top