Export (0) Print
Expand All

Frequently Asked Questions

The following lists questions and answers about using WSE.

Visual Studio .NET 2003

Question   When using Visual Studio .NET 2003 to create a client application that uses a proxy that inherits from the Microsoft.Web.Services2.WebServicesClientProtocol class, why does updating a Web reference always cause the proxy class to inherit from the System.Web.Services.Protocols.SoapHttpClientProtocol class?

Answer   This is a known issue, and cannot be avoided when using Visual Studio .NET 2003 to create a client application. Whenever you update Web references for a WSE client, you must change the base class of the proxy class back to the Microsoft.Web.Services2.WebServicesClientProtocol class.

Setup Questions

Question   When I click Repair in Add or Remove Programs, the Setup program does not remove or update the Microsoft.Web.Services2.dll file if an old version exists.

Answer   Repair does not remove or update existing files; it only replaces missing files. Instead, use Add or Remove Programs to remove the program, and then add it to get a new version of the .dll file.
Question   If the Microsoft.Web.Services2.dll assembly is in use by another process, such as ASP.NET, the .dll file is not removed when I click Remove in Add or Remove Programs.

Answer   Ensure that no other process has locked the.dll file before clicking Remove.
Question   When I attempt to run a Web service in Visual Studio .NET 2003, it fails with the error message "Unable to Start Debugger on the Web Server".

Answer   Open a command prompt window, and then change to the following directory on the Visual Studio installation CD: wcu\dotNetFramework. From this directory, run the following command:
Question   Why are target host names always lowercase? For example, using the following URI:Proxy.Url = http://LOCALHOST/genericTestService/genericTestService.asmx Results in the following outgoing message: <to>http://localhost/genericTestService/genericTestService.asmx</to>

Answer   WSE changes URL host names to lowercase by design. The host names in URI are not case-sensitive. The semantics of WSE and of HTTP are not affected in any way by this change.

Miscellaneous Questions

Question   Does WS-Security make my Web service secure?

Answer   WS-Security is not a complete security solution in and of itself. It is a protocol for exchanging security information between message senders and receivers. Developers need to design an appropriate security solution and deal with potential threats, such as replay attacks.
Question   How should a mustUnderstand custom header be processed?

Answer   Users who want to process a mustUnderstand header should use a custom input filter, not content-based routing. The mustUnderstand fault checking is done before the ProcessRequestMessage method is called, so attempting to use content-based routing will always result in a mustUnderstand fault at the client.
Question   Can I use the Certificate Creation tool (Makecert.exe) included in the .NET Framework SDK to create a test certificate that supports digital signing?

Answer   Yes. An example command line is as follows:

See Also

Show:
© 2015 Microsoft