Inbound with WCF-Relay
  • 17 Jan 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Inbound with WCF-Relay

  • Dark
    Light
  • PDF

Article summary

Scenario

  1. Logic App will receive a message from Postman (simulated partner) using HTTP trigger and call the Start Activity function.
  2. Logic App will post the message to WCF-Relay endpoint hosted in BizTalk and pass the MainActivityId and CurrentStage as properties.
  3. Logic App will call the Update Activity Azure Function passing the return values from Stage Activity and status of the previous call as promoted property.
  4. BizTalk will receive the message on WCF-Relay where the receive location will call the Start and Update activity.
  5. BizTalk send port will also call the Start and Update activity and post a message to file.

Running the sample

  • BusinessProcess - Kovai.AtomicScope.Hybrid
  • BusinessTransaction - HybridInbound
  • Stages - ReceiveFromPartner, ReceiveFromLogicApp, SendToLob
  • Steps - Copy the content of InvSample.xml file from ASInstallDirectory\SDK\Samples\TestLocations\ into Postman or any other tool to post the message to Logic App endpoint.
  • Output - In the Atomic Scope portal, you can see that an entry has been made for the main activity and by clicking on that, you can view the flow of the message.

image.png


Was this article helpful?