Hello, Im using a scheme which looks similar to this.<MessageArray xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:BVTAFMessageInbox"> <Scheme1 xmlns="urn:BVTAF"> <MessageHeader>So the scheme we uses is "Scheme1". Namespace "BVTAF" is holding LOTS of schemes, and we want to also use those. What we want to try is having our Send port filter to doBTS.Messagetype == urn:BVTAFMessageInbox#MessageArrayWhich right now gives us all info that we want from "Scheme1", but we in future want to make the sendport get a specific XML Element from "MessageArray", because we will be adding more schemes in future which is stored in BVTAF, which will have different save in our SQL and our procedure.Is there some of the property (just writing a example how I hoped it would work) that works like thisBTS.MessageType == urn:BVTAFMessageInbox#MessageArray AndBTS.MessageType == Scheme1 (this does not work)But some property which explains that tells exactly which XML element I want to take out? For that send port.
What you can do is add a custom receive pipeline.
In that pipeline promote a promoted property field with value schema1,schema2,schema3.
Add a filter on sendport1 with promoted field= schema1 on sendport2 promoted field=schema2
Regards,NISHIL MCT,MCTS | Freelance BizTalk Consultant.biztalkconnect.blogspot.com
No it won't work.
What you can do is have a promoted field and add it to the Sendport as a filter.
That field should be present in the XML and should occur only once throughout the XML.
The value in the field should be Scheme1 or 2 or etc.....you cannot have filters based on node names.
The thing is that, the XML we get is from customer, and cant be edited, because its downloaded by our webservice, which the customer sends and it needs to be exactly like it is.
There is no otherway fetching specific one by XML Element to see that "Oh its Scheme #1", then use "this_send_port".
Thank you Nishil
what is the need of filter property in the send port
There are many uses of Filter
1. Filters are mainly used in Routing of messages.
2.If you want to Skip the Orchestration and send the message directly to the Sendport.
3. In Scenarios where you want to create a Customer specific SendPort then you can Promote the CustomerID field and set the Filter to that CustomerID and any file coming in on the ReceivePort with the specific CustomerID will be directly routed to the SendPort.
And many more.
i have two orchestration.In that i want call second orchestration in my first orchestration.how will the message be passed from the first orchestraion to the second orchestration without using the receive port in second orchestration
You can use call orchestration shape or Start orchestration shape and send the message to it as parameter or you can submit the message to Messagebox using the Logical SendPort and have a filter on the 2nd Orch to subscribe to it.