« Retro server coding - My impression of the IONA Artix product | Main | Converting dates between Siebel and ISO8601 (xsd:dateTime) »

.NET/C# for web service test clients?

Lately I have been knee deep designing, coding, and now testing a web service infrastructure that acts as a mediator between systems.  Basically, the server allows systems that comply to a certain companies standards communicate using such with a system that can't comply with those standards.  Technically this boils down to message transformation and handling of things that appear in the SOAP header like WS-Security.  However, that is whole different discussion.

Testing became a big issue to me on this project since I knew many people with varying skills needed to be involved in tests.  One test in particular was required for a home grown file transfer  web service.  For large files , the web service requires "chunking" of data over the wire.  So a large file of say 1MB might be sent in ten 100k chunks.  This required programming a test  client to break up a file and exercise the web service.  I started using both Java and C# to create my clients.  Much to my surprise I found that coding was faster using Visual Studio and C# to create the client.  Not only did the user interface work go faster, but the C# code generated from the WSDL respected the facets on elements.  More and more I encourage the use of facets in XSD's to try and sharply define data.  Therefore, it is really useful to see a code generator that recognizes them and respects them. 

I find it amusing that I embrace Microsoft technology as a path of least resistance to leverage standards.

Comments (1)

Hi Richard

I open sourced this .NET GUI client test tool on Google code.

http://code.google.com/p/wizdl/

Let me know if you find it useful.

Ajai

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on December 7, 2006 9:12 AM.

The previous post in this blog was Retro server coding - My impression of the IONA Artix product.

The next post in this blog is Converting dates between Siebel and ISO8601 (xsd:dateTime).

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle