The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
[Originally posted by dbach]

First, consider in section 6.2.2 the URLs of the result page don't match those
listed in the text.
Initial URL entered in Internet-Explorer 6.0
After clicking on Greet
Enter "Test", press Invoke and the expected XML result page is displayed.
However it shows the URL as:

Because of this mismatch, I suspect something has changed in the .NET SDK
which causes the client in Listing 6.2 of section 6.3 to generate an
exception. The result of running this client is:


Unhandled Exception: System.Net.WebException: The remote server returned an
error: (500) Internal Server Error.
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.HttpWebRequest.GetResponse()
at HelloGet.Main(String[] args)

If I enter something like
http://localhost/ws/helloservice1.asmx/Greet?name=Test directly, I get:
"Server Error in '/ws' Application with the details indicating that the
request format is unrecognized.

Does anyone know if something has changed, and if so, how to compensate for it?


System Information
Internet Explorer
Version 6.0.2800.1106

5.0.2195 Service Pack 4 Build 2195
UserGroups include Administrators and Debugger Users

Microsoft .NET Framework Version
1.1.4322.573; ASP.NET Version:1.1.4322.573
import-bot (20211) [Avatar] Offline
Re: URLs and helloget
[Originally posted by fgrimes]

Hi Dennis,

This, too, is caused by the new default behavior of V1.1. According to
Microsoft Knowledge Base article #819267: "By default, in .NET Framework 1.1,
HTTP GET and HTTP POST are both disabled."

See;en-us;819267 for
discussion and suggested workaround.