Subject: Chapter 12, Try It Out pp450-452, C# - Not Working
Posted By: RobC Post Date: 9/1/2006 6:19:05 PM
Has anyone gotten this example to actually work? One problem seems to be that it's missing the "Add Web Reference" step, which would add the LeagueMiniView web service to the project.

Also, this line in step seven:
<ucl:leagueview...

Should probably be:
<wu:leagueview...

But even with these changes, I'm getting some monstrous runtime error that starts off like this:
quote:
System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://wroxunited.net/ViewLeague.
  at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
  at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message)
  at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
  at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)

Ideas?

Go to topic 49189

Return to index page 186
Return to index page 185
Return to index page 184
Return to index page 183
Return to index page 182
Return to index page 181
Return to index page 180
Return to index page 179
Return to index page 178
Return to index page 177