Dynamic Send Port

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Dynamic Send Port

Viewing 2 reply threads
  • Author
    Posts
    • #22167

      Hi

      Based on an attribute in the input XML, we have set the send port address (i.e) for example, I have an input attribute mode and it is set to “Folder1”. Then the output should be sent to Folder1. If the input value is Folder3, then it should be set to Folder3 and so on. Is it possible to acheive this?

      Do you have any sample code for this?

      Thanks in Advance
      Shoba.V.R.

    • #22188

      Use dynamic port and  in expression shape write something like this:

      SendToWcfProxy(Microsoft.XLANGs.BaseTypes.Address) =
        AdressS;
      SendToWcfProxy(Microsoft.XLANGs.BaseTypes.TransportType) =
        “FILE”;

    • #22219

      It’s possible. Get your data from the incoming XML with XPATH (not forgetting to convert it – otherwise it won’t work 😉 ), and set the data to certain context properties, such as a guy above me described.

Viewing 2 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.