Talk About Network

Google





Software > Biz Talk Orchestration > Re: Orchestrati...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 4100 of 4234
Post > Topic >>

Re: Orchestration consuming webservice

by Dan Rosanova <dnova7@[EMAIL PROTECTED] > Apr 7, 2008 at 09:05 AM

Well, personally I'm a really big fan of BizUnit.  I use it to create
tests that call my web service with whatever inputs and outputs I
expect.  I run it from NUnit, which I guess since your orchestration
is a web service you can just test directly from there.  Create an
NUnit project (a class lib) and add a reference to your web service in
it, then you're test will look like:

[TestFixture}
public class MyWebServiceTest
{
    [Test]
    public void TestMyService()
    {
        MyWebService service = new MyWebService();
        MyMethodResult result = service.MyMethod(1 /*whatever
parameters it takes*/);
        Assert.IsNotNull(result);
        Assert.AreEqual(2, result.WhateverProperty);
    }
}

NUnit and BizTalk can actually play well together.

-Dan
 




 5 Posts in Topic:
Orchestration consuming webservice
Bas <bverhallen@[EMAIL  2008-04-01 05:56:21 
Re: Orchestration consuming webservice
DNova <dnova7@[EMAIL P  2008-04-01 08:07:17 
RE: Orchestration consuming webservice
=?Utf-8?B?WW9zc2kgRGFoYW4  2008-04-02 01:44:00 
Re: Orchestration consuming webservice
Bas <bverhallen@[EMAIL  2008-04-07 05:55:53 
Re: Orchestration consuming webservice
Dan Rosanova <dnova7@[  2008-04-07 09:05:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 3:07:07 PST 2009.