Debugging Orchestration Exposed as a Web Service

Home Page Forums BizTalk 2004 – BizTalk 2010 Debugging Orchestration Exposed as a Web Service

Viewing 1 reply thread
  • Author
    Posts
    • #20848

      I’m trying to test and debug an orchestration that’s been exposed as a web service using the wizard.  I wrote a test harness in C# that allows me to select an XML file and send it to the web service.  This has been working fine with all my existing files that are encoded as UTF-8.

      Recently I realized I needed to test the orchestration with documents containing Spanish characters.  So I created a new test file that’s prefixed with the following:

       

      <?xml version=”1.0″ encoding=”iso-8859-1″ ?>

       

      Well, my test harness is generating an exception when I try to deserialize the XML prior to calling the webservice.  I’ve been unable to resolve the problem in my test harness, so I started looking for web service debugging tools, and ran across Storm and Web Service Studio.  These look quite useful, but it looks like the BTS orchestration is expecting the message as an object type parameter, and I don’t see how I can set the value of an object type parameter in these tools.

       

      Does anyone have suggestions on debugging orchestrations exposed as web services?

      Thanks.

    • #20852

      I think you can debug using the debug viewer…or using HAT(this is not useful always though)

      Sri,Singapore

      • #20853

        What error are you receiving?  What schema does your BizTalk web service accept?  How did you create your proxy app?

        • #20857

          Hello Russell,

          Well, while I was in the process of responding to your questions, I noticed that the problematic test file had the wrong target namespace specified.  Pretty embarrassing.  It’s getting through the orchestration okay now, but somethings amiss with the Spanish characters when they come out the other end.

          At any rate, your questions prompted me to locate the original problem.  Thanks.

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