locked
Invoking from .Net C#, how do I get the detailed output for an Azure Biztalk Rules policy execution? RRS feed

  • Question

  • My policy is working fine if I test it in the Azure Portal, but when invoking using C# I just got the header data:

    {StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
    {
      Pragma: no-cache
      X-Content-Type-Options: nosniff
      x-ms-proxy-outgoing-newurl: https://rulesservicebf0dbec85def48aba1d0b4280a23ef76.azurewebsites.net/api/Policies/AgeVerification?comp=Execute
      Cache-Control: no-cache
      Set-Cookie: ProxiedARRAffinity=dc5138664156bd517934db95ec23acef05d0af3ded4ef16c825f3a5467cb1907;Path=/;Domain=rulesservicebf0dbec85def48aba1d0b4280a23ef76.azurewebsites.net
      Set-Cookie: ARRAffinity=dc5138664156bd517934db95ec23acef05d0af3ded4ef16c825f3a5467cb1907;Path=/;Domain=bizrulesrg183abef653ec404fa5776d4d86d66c55.azurewebsites.net
      Server: Microsoft-IIS/8.0
      X-AspNet-Version: 4.0.30319
      X-Powered-By: ASP.NET
      Date: Sat, 09 Jan 2016 17:58:19 GMT
      Content-Length: 233
      Content-Type: application/json; charset=utf-8
      Expires: -1
    }}

    I need the output log detail:


    :: Test Run Summary :: Policy execution completed Policy Execution Time: 208 ms Total no of rules in policy : 1 'AgeVerificationRule' execution count : 1 ------------- Executing Rule : AgeVerificationRule Input Condition : ApplicantAge is_less_than MinimumAge ApplicantAge = 25 MinimumAge = 18 Result : False No actions executed --------------

    Saturday, January 9, 2016 10:02 PM

Answers