I think Web Services Enhancements (WSE) is among the best platforms for .NET and webservices that exist. However it is not trivial to deploy together with your application, since both client and server need the runtime. Official help on the issue sucks big time... So here my 2 cents will go.
If you search Google for "WSE deployment" - all results suggest either:
- download WSE runtime redistributable MSI. This is Microsoft official suggestion, BTW. I guess developers need to incorporate it in some kind of bootstrapper or call msiexec with quiet switch during installation.
- Or put the Microsoft.Web.Services2.dll in the GAC and run InstallUtil.
Forums and blogs are flooded with these 2 ways of "deployment". I wonder sometimes if these people ever implement their own suggestions ?
However the real solution is suggested by Mark Fussell (WSE PM) and can be found in the comment to customer feedback, which is purely ranked by search engines (if at all).
"The WSE runtime dll can be simply placed in the same directory as the application and run. It does not have to be GACed. The one feature that you loose if you do this today is error event logging to the Windows Event log. We are going to add some documentation to describe the registry setting required to enable this loggiing if you want to do this "manual" install option for WSE... The EULA for WSE does NOT require you to have to install the WSE runtime dll via the MSI installer. In other words you are free to distrinbute this dll..."
Friday, March 30, 2007 6:27 AM