Monday, 26 September 2011

Creating Dynamic Port In BizTalk Orchestration

  1. Create a new port on orchestration port surface,
    1. Define the name of port
    2. Port Type
    3. Define Port Binding
                                                               i.      Port direction communication: select “I will be sending message on this port”
                                                             ii.      Port Binding : “Dynamic”
                                                            iii.      Send Pipeline : “Passthrough/XML Transmit”


Click next and  Finish.

  1. Add Expression shape to the Orchestration.


Then you can define the address and other properties of  Dynamic Port as show below.

DynamicPortOut(Microsoft.XLANGs.BaseTypes.Address) = "net.tcp://localhost:8001/netTcp";

DynamicPortOut(Microsoft.XLANGs.BaseTypes.TransportType) = "WCF-NetTcp";

The address could be anything like Folder Location/Http URI/Service URI/ SQMQ



3. Now you can test your Dynamic Port created.

No comments:

Post a Comment