Orchestration Binding files

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Orchestration Binding files

Viewing 1 reply thread
  • Author
    Posts
    • #22580

      I use the BTSTask utility in a command line script to deploy orchestrations. I have one that when run, it always knocks my receieve location out of commission. It changes the Receive pipeline to PassThroughReceive for a custom pipeline I use. I’ve looked in the binding file and can see nothing relating to the receive location. Anyone have any ideas?

    • #22584

      Hi!

      I might be missing an important point here or something but then I will stand corrected. As far as I can say, from reading your post, below is how you can proceed.

      Check your binding-file. The Orchestration-declaration should look something like this (names changed and “…” replaced with important stuff ) with the receive port set.

          <ModuleRef Name=”MyAssembly” Version=”…” Culture=”…” PublicKeyToken=”…” FullName=”…”>
            <Services>
              <Service Name=”MyOrchestration” State=”Started” TrackingOption=”…” Description=””>
                <Ports>
                  <Port Name=”Rcv_Request” Modifier=”2″ BindingOption=”1″>
                    <SendPortRef xsi:nil=”true” />
                    <DistributionListRef xsi:nil=”true” />
                    <ReceivePortRef Name=”MyReceivePort” />
                  </Port>
                </Ports>
                <Roles />
                <Host Name=”MyHost” NTGroupName=”MyADGroup” Type=”1″ Trusted=”true” />
              </Service>
            </Services>
            <TrackedSchemas />
          </ModuleRef>

      Your Receive port should also be in the bindings with pipeline set. Something lite this

        <ReceivePortCollection>
          <ReceivePort Name=”Rcv_Request” IsTwoWay=”…” BindingOption=”1″>
            .
            .
            .
            <TransmitPipeline Name=”MyPipeline” FullyQualifiedName=”…” Type=”…” TrackingOption=”…” Description=”” />

      If your bindings are faulty, just set everything up and export new ones.

      Hope I answered your question.

      //Niklas

      • #22590

        I exported a new one and it looks okay … but it still knocks my receive port pipeline out of commission. This wreaks havoc with the my other orchestrations using this receive location. Here is the file:  And thank you for your help …

        <?xml version=”1.0″ encoding=”utf-8″?>
        <BindingInfo xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema” Assembly=”Microsoft.BizTalk.Deployment, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″ Version=”3.5.1.0″ BindingStatus=”FullyBound” BoundEndpoints=”1″ TotalEndpoints=”1″>
          <Timestamp>2009-06-05T08:57:05.5225895-05:00</Timestamp>
          <ModuleRefCollection>
            <ModuleRef Name=”My.Interface.Epak” Version=”2.0.0.0″ Culture=”neutral” PublicKeyToken=”c91624e33c501d09″ FullName=”My.Interface.Epak, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c91625e68c501d09″>
              <Services>
                <Service Name=”My.Interface.Epak.EpakOrch” State=”Started” TrackingOption=”ServiceStartEnd MessageSendReceive OrchestrationEvents” Description=””>
                  <Ports>
                    <Port Name=”EpakReceivePort” Modifier=”2″ BindingOption=”1″>
                      <SendPortRef xsi:nil=”true” />
                      <DistributionListRef xsi:nil=”true” />
                      <ReceivePortRef Name=”HttpReceivePort” />
                    </Port>
                  </Ports>
                  <Roles />
                  <Host Name=”BizTalkServerApplication” NTGroupName=”MYDOMAIN\BizTalk Application Users” Type=”1″ Trusted=”false” />
                </Service>
              </Services>
              <TrackedSchemas />
            </ModuleRef>
          </ModuleRefCollection>
          <SendPortCollection />
          <DistributionListCollection />
          <ReceivePortCollection>
            <ReceivePort Name=”HttpReceivePort” IsTwoWay=”false” BindingOption=”1″>
              <Description xsi:nil=”true” />
              <ReceiveLocations>
                <ReceiveLocation Name=”HttpReceiveLocation”>
                  <Description xsi:nil=”true” />
                  <Address>/HttpReceive/BTSHTTPReceive.dll</Address>
                  <PublicAddress>http://localhost/HttpReceive</PublicAddress&gt;
                  <Primary>true</Primary>
                  <ReceiveLocationServiceWindowEnabled>false</ReceiveLocationServiceWindowEnabled>
                  <ReceiveLocationFromTime>2000-01-01T05:00:00</ReceiveLocationFromTime>
                  <ReceiveLocationToTime>2000-01-01T04:59:59</ReceiveLocationToTime>
                  <ReceiveLocationStartDateEnabled>false</ReceiveLocationStartDateEnabled>
                  <ReceiveLocationStartDate>2007-05-17T00:00:00</ReceiveLocationStartDate>
                  <ReceiveLocationEndDateEnabled>false</ReceiveLocationEndDateEnabled>
                  <ReceiveLocationEndDate>2007-05-18T23:59:59</ReceiveLocationEndDate>
                  <ReceiveLocationTransportType Name=”HTTP” Capabilities=”387″ ConfigurationClsid=”1c56d157-0553-4345-8a1f-55d2d1a3ffb6″ />
                  <ReceiveLocationTransportTypeData>&lt;CustomProps&gt;&lt;ReturnCorrelationHandle vt=”11″&gt;-1&lt;/ReturnCorrelationHandle&gt;&lt;ResponseContentType vt=”8″&gt;text/xml&lt;/ResponseContentType&gt;&lt;SuspendFailedRequests vt=”11″&gt;0&lt;/SuspendFailedRequests&gt;&lt;UseSSO vt=”11″&gt;0&lt;/UseSSO&gt;&lt;LoopBack vt=”11″&gt;0&lt;/LoopBack&gt;&lt;/CustomProps&gt;</ReceiveLocationTransportTypeData>
                  <ReceivePipeline Name=”My.Interface.Common.Pipeline.MYApplicationPolicyPipeline” FullyQualifiedName=”My.Interface.Common.Pipeline.MyApplicationPolicyPipeline, My.Interface.Common.Pipeline, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4a048e49556e5c16″ Type=”1″ TrackingOption=”ServiceStartEnd MessageSendReceive PipelineEvents” Description=”” />
                  <ReceivePipelineData xsi:nil=”true” />
                  <SendPipeline xsi:nil=”true” />
                  <SendPipelineData xsi:nil=”true” />
                  <Enable>true</Enable>
                  <ReceiveHandler Name=”BizTalkServerIsolatedHost” HostTrusted=”false”>
                    <TransportType Name=”HTTP” Capabilities=”387″ ConfigurationClsid=”1c56d157-0553-4345-8a1f-55d2d1a3ffb6″ />
                  </ReceiveHandler>
                </ReceiveLocation>
              </ReceiveLocations>
              <SendPipelineData xsi:nil=”true” />
              <Authentication>0</Authentication>
              <Tracking>0</Tracking>
              <Transforms />
              <RouteFailedMessage>false</RouteFailedMessage>
              <ApplicationName>MyWinsApplication</ApplicationName>
            </ReceivePort>
          </ReceivePortCollection>
          <PartyCollection />
        </BindingInfo>

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