Port Reference

Viewing 1 reply thread
  • Author
    Posts
    • #23132

      Scenario:  1 Application, 2 Orchestrations

      In orchestration 1 I want to reference the Microsoft.XLANGs.BaseTypes.Address property of a receive port in orchestration 2.

      How would I do that?

      Thanks

    • #23136

      Why do you need this? I would think that, in general, having orchestrations trying to manipulate each other’s ports is not a good idea. There’s something to be said for encapsulation…

      • #23144

        In the first orchestration I’m starting out by retrieving a list of files which will need to be downloaded from an FTP site.  I then want to save them down to the local network in the location detailed in the receive port of the second orchestration.

        Orchestration 1:  poll sql, retrieve list of files to download, download files, save to local network location

        Orchestration 2: retrieve files from network, manipulate data, send file contents to sql server

        So, unless you know a way to dynamically receive FTP files using an adapter I’d like to read the address of the receive location on Orch 2 to know where to download the files to.

        • #23152

          I understand what you’re doing, but that’s really not the way to go in this case. There’s really little reason why you’d need, from your description, to obtain that information dynamically, anyway, though I guess if you’re really set on doing it that way, you could easily query that information using ExplorerOM (or maybe even WMI). Honestly, I wouldn’t worry and would just configure the two ports statically to use the same path and be done with it.

          • #23162

            just for your information.

            The explorerOM does not support 64 bits.

             

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