WCF Adapter Configuration

Home Page Forums BizTalk 2004 – BizTalk 2010 WCF Adapter Configuration

Viewing 2 reply threads
  • Author
    Posts
    • #21954

      I am writing a BizTalk 2006 R2 application that has to periodically get data from a remote WCF service. I’m not sure how to go about setting the polling interval for a WCF adapter (receiving location) . Can someone please help?

      Thanks in advance.

    • #21958

      As far as I know, it is not possible to “poll” a wcf service in a receive location.  I don’t think that the WCF adapter has this built into it. 

      I think you are going to have to build something that will trigger your orchestration that can then perform the polling of the wcf service.

    • #21960

      You can use the Schedule Task Adapter, http://biztalkscheduledtask.codeplex.com/, to trigger an orchestration that does the actual polling.

      1. Download and install the adapter
      2. Create an orchestration that manage the process, makes the request to the wcf-service and take care of the response. Use the “Consume WCF service”-wizard to create the port types and messages. Do not use the generated orch, just its types from your own orch.
      3. Make the orchestration receive shape activate message be a “dummy”-xml
      4. Configure the schedule takt adapter to enter the dummy xml as a xml string.
      5. Voila!
      • #21996

        Thanks for your recommendation. The scheduler adapter works great as I see the BizTalk application trying to get out to the WCF service. Are there any licensing issues with this adapter that you know of?

        • #22003

          The adapter has the Microsoft Public License (Ms-PL) which can be viewed at the Codeplex site. Basically it is free

        • #22005

          That’s good.

          Feel free to “Suggest as Answer” when you have test that it satisfies your need.

          Kind Regards
          Martin Bring

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