.NET Forum / ASP.NET / Web Services / November 2007
VS2008 and WSE3
|
|
Thread rating:  |
Howard Hoffman - 20 Nov 2007 22:18 GMT We've a .set of NET2 / ASP.NET2 / WSE3 based products, and we're beginning to contemplate moving to .NET 3.5 now that VS 2008 is RTM.
Will a .NET2 / ASP.NET2 / WSE3 application build within VS2008? I'm imagining there are bug fixes in the .NET core classes in .NET 3.5; in addition to some new features that might be useful to us.
We've some custom WSE3 PolicyAssertions that I imagine will need to be restructured into the WCF equivalent. Before we start restructuring our WSE3 Policy Assertions, our question is whether the app will build / run at all from VS2008.
Thanks in advance,
Howard Hoffman
Steven Cheng[MSFT] - 21 Nov 2007 03:37 GMT Hi Howard,
From your description, you're planning to move your existing VS 2005/WSE 3.0 based webservice project to VS 2008.
For the upgrade plan, here are some of my understanding and suggestion:
Though VS 2008/.NET 3.5(also 3.0) provide new libraries and components, however, they're not quite aim at WSE or webservice. For WSE, the 3.0 one with .net framework 2.0 is the current latest version and if your application want to continue be a webservice that secured through WSE 3.0, I think you should keep it with .net framework/WSE 3.0, there hasn't any particular benefit to upgrade it. And WSE 3.0 still haven't notes about the compatibility with .NET 3.5 framework.
Also, you mentioned WCF, yes, it's one of the added components in .NEt 3.0. And as a unified communication framework on windows, it provide a unified and compatible programming model for developing distributed service. And if you do want to update your webservice application to WCF application, then it would be a good reason to use VS 2008.
So would you let me know what your actual plan is here?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
-------------------- From: "Howard Hoffman" <Howard.Hoffman@community.nospam> Subject: VS2008 and WSE3 Date: Tue, 20 Nov 2007 17:18:35 -0500
We've a .set of NET2 / ASP.NET2 / WSE3 based products, and we're beginning to contemplate moving to .NET 3.5 now that VS 2008 is RTM.
Will a .NET2 / ASP.NET2 / WSE3 application build within VS2008? I'm imagining there are bug fixes in the .NET core classes in .NET 3.5; in addition to some new features that might be useful to us.
We've some custom WSE3 PolicyAssertions that I imagine will need to be restructured into the WCF equivalent. Before we start restructuring our WSE3 Policy Assertions, our question is whether the app will build / run at all from VS2008.
Thanks in advance,
Howard Hoffman
Tim Mackey - 21 Nov 2007 12:53 GMT hi Howard, i have a winforms client (.net 2) connecting to a WSE 3 webservice hosted on asp.net v2, using a CustomUsernameTokenManager. the project compiled and ran no problem in VS 2008. you don't get the WSE menu item in the VS project context menu for configuring WSE because WSE only seems to look for VS 2005. in a very basic sense, WSE is Microsoft.Web.Services3.dll, and it will work just like any DLL reference. hope this helps tim
> We've a .set of NET2 / ASP.NET2 / WSE3 based products, and we're beginning > to contemplate moving to .NET 3.5 now that VS 2008 is RTM. [quoted text clipped - 11 lines] > > Howard Hoffman Howard Hoffman - 23 Nov 2007 23:49 GMT Tim -
Yes, that does help and make sense. However, I've a further question.
One thing I've never been able to figure out is the specific command-line options for wse3wsdl that the VS 2005 IDE uses when you 'Add Web Reference' or 'Update Web Reference' on a project that is using WSE3 (via the WSE3 Properties context menu option).
Assuming that we switched to the VS2008 IDE for our WSE3-using project(s), any guesses on what the proper wse3wsdl syntax would be for generating the Reference.map/cs / disco / datasource / etc files?
Thanks,
Howard Hoffman
> hi Howard, > i have a winforms client (.net 2) connecting to a WSE 3 webservice hosted [quoted text clipped - 22 lines] >> >> Howard Hoffman Steven Cheng[MSFT] - 26 Nov 2007 02:57 GMT Hi Howard,
Since VS 2008 IDE does not work with the WSE 3.0 add-in, the "Add Web Reference" function will not create the WSE specific proxy as in VS 2005. You'll also need to execute the wse3wsdl.exe tool in commandline to create the proxy class. To make it executable, you need to make sure the Microsoft.web.services.dll has been installed into GAC(or put in the directory those utilities can locate when executing).
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
-------------------- From: "Howard Hoffman" <howard.a.hoffman@worldnet.att.net> References: <OpIWMN8KIHA.5224@TK2MSFTNGP02.phx.gbl> <DB9C6AD7-6507-41E4-8F61-79D58A047F71@microsoft.com> Subject: Re: VS2008 and WSE3 Date: Fri, 23 Nov 2007 18:49:36 -0500
Tim -
Yes, that does help and make sense. However, I've a further question.
One thing I've never been able to figure out is the specific command-line options for wse3wsdl that the VS 2005 IDE uses when you 'Add Web Reference' or 'Update Web Reference' on a project that is using WSE3 (via the WSE3 Properties context menu option).
Assuming that we switched to the VS2008 IDE for our WSE3-using project(s), any guesses on what the proper wse3wsdl syntax would be for generating the Reference.map/cs / disco / datasource / etc files?
Thanks,
Howard Hoffman
> hi Howard, > i have a winforms client (.net 2) connecting to a WSE 3 webservice hosted [quoted text clipped - 22 lines] >> >> Howard Hoffman Howard Hoffman - 26 Nov 2007 14:18 GMT Understood -- must execute the wsewsdl3 tool and make sure that Microsoft.web.services.dll is accessible. Thanks Steven
Further question -- what ws3wsdl3 command options does one use to mimic the output of the VS 2005 'Add Web Reference' UI gesture.
For example, I note that adding a web reference (if you're using WSE3) seems to run both wsdl.exe and wsewsdl3.exe from inside VS 2005.
I'm trying to find out what the combined (wsdl / wsewsdl3) options are, so that I can use VS 2008 while keeping my WSE3 code in place for the time being.
Thanks,
Howard
> Hi Howard, > [quoted text clipped - 65 lines] >>> >>> Howard Hoffman Steven Cheng[MSFT] - 27 Nov 2007 08:38 GMT Hi Howard,
For the VS 2005 built-in "Add Web Reference" function here, I'm afraid we are somewhat no luck here. The reason why the Add Web Reference will call both wsdl.exe and wsewsdl.exe is because WSE 3.0 setup has installed add-in into the VS 2005. So far this add-in is not available to us, therefore, we can not simply copy it into VS 2008.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
-------------------- From: "Howard Hoffman" <Howard.Hoffman@community.nospam> Subject: Re: VS2008 and WSE3 Date: Mon, 26 Nov 2007 09:18:58 -0500
Understood -- must execute the wsewsdl3 tool and make sure that Microsoft.web.services.dll is accessible. Thanks Steven
Further question -- what ws3wsdl3 command options does one use to mimic the output of the VS 2005 'Add Web Reference' UI gesture.
For example, I note that adding a web reference (if you're using WSE3) seems to run both wsdl.exe and wsewsdl3.exe from inside VS 2005.
I'm trying to find out what the combined (wsdl / wsewsdl3) options are, so that I can use VS 2008 while keeping my WSE3 code in place for the time being.
Thanks,
Howard
> Hi Howard, > [quoted text clipped - 67 lines] >>> >>> Howard Hoffman
Free MagazinesGet these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...
|
|
|