Ask a Question related to ASP.NET Web Services, Design and Development.
-
Christian Weyer #1
ANN: Improve your "Contract First" Web services development experience: WsContractFirst v0.2 - forget about wsdl.exe
OK, here we go ... I am happy to announce version 0.2 of a tool - a Visual
Studio .NET Add-In - called WsContractFirst. The first bits (version 0.1)
already have made it through the blogosphere and rumbled in Web services
town - nice.
Ever wanted to simply right-click on a WSDL file in Visual Studio .NET and
generate code from that Web service contract? Now you can - whether it be a
client-side proxy class or a server-side stub skeleton: you choose. The
Add-In automatically determines the project's programming language and
accordingly generates source code (currently C# and VB.NET supported). The
tool's functionality can also be reached through a common menu item entry in
VS.NET's Tools menu.
The Add-In handles the import of external schemas and WSDLs better than
wsdl.exe. The code that makes the Add-In breathe is based on snippets of my
formerly released DynWSLib to dynamically call Web services at runtime
without 'any' knowledge of the WSDL beforehand (well, yes: this is somehow
contradictory to the 'Contract First' approach. But it is actually useful in
some verly limited uses cases such as testing. Actually the lib is used in a
client side service invocation factory in a .NET-based Grid computing
project). BTW, it would be nice if the server-side stub code would not
produce an abstract class, but an interface instead - just what Indigo is
capable of, as showed at PDC.
New features in 0.2 (download link at the end of the article):
a.. Adding to the service side stub code generation, it now adds an .asmx
default implementation (automatic WSDL generation disabled, obviously).
b.. The client side developer gets access to the raw SOAP message - either
as a byte[] or simply as a string.
c.. Do you hate that wsdl.exe and the Visual Studio .NET "Add Web
Reference ..." dialog always and only can produce public fields for members
in data classes (based on the XSD)?
This tool can optionally generate private fields with public property
wrappers.
d.. Dynamic vs. static URL reference (you can configure the Web service
endpoint URL either in App.config or Web.config).
e.. Serveral bug fixes and internal improvements
[url]http://weblogs.asp.net/cweyer/posts/39070.aspx[/url]
Cheers,
--
Christian Weyer
[Microsoft Regional Director, Germany]
[MVP ASP.NET & XML Web Services]
** XML Web Services: [url]http://www.xmlwebservices.cc/[/url]
** Weblog: [url]http://weblogs.asp.net/cweyer/[/url]
Christian Weyer Guest
-
Tablet disappointment "user experience"
There are some good things for Tablet users and some real disappointments in Vista. It is good that the Tablet capabilities are now built in to... -
OVERride "binding" name and "portType" name in WSDL
Can anyone suggest how we can override the generated "binding" name and "portType" name attributes in the generated WSDL document? i.e. VS.NET... -
ANN: "Contract First" approach for Web services: help me out with a tool - now!
As a long time contributor to the .NET and Web services community, I thought I have to pay something back ... well, here we go: Ever wanted to... -
"MacWorld Creative Pro" 2003 Experience
Here is my experience. I traveled from my home near Annapolis, Maryland, by AMTRAK. This year's show, the last in New York, was a mere shadow of... -
Make text boxes "forget" values
Hi Jonathan! I believe that the IsPostBack property is what you're looking for. You can add code to the page_load event that looks something...



Reply With Quote

