Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 23rd, 2008, 01:50 PM
Registered User
 
Join Date: Jul 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Server did not recognize the value of HTTP Header

I am getting the following error:

Message:System.Web.Services.Protocols.SoapExceptio n: Server did not recognize the value of HTTP Header SOAPAction:

http://www.domain.com/WebService/RequestValues.
   at System.Web.Services.Protocols.Soap11ServerProtocol Helper.RouteRequest()
   at System.Web.Services.Protocols.SoapServerProtocol.R outeRequest(SoapServerMessage message)
   at System.Web.Services.Protocols.SoapServerProtocol.I nitialize()
   at System.Web.Services.Protocols.ServerProtocolFactor y.Create(Type type, HttpContext context, HttpRequest request, HttpResponse

response, Boolean& abortProcessing)

I have written a wrapper web services in .net 2.0 which will call another web service running in my machine. When my web service calls the other web service the SOAP action URL is changed to some other URL (http://www.domain.com/WebService/RequestValues). I believe that this is the reason for the error.

I have also tried to assign the <SoapDocumentMethod(Action:="http://localhost URL ")> and <SoapDocumentService(RoutingStyle:=SoapServiceRout ingStyle.RequestElement)>. Still it is not working.

When I call the same web service from a windows application I am not getting error.


Please help me to solve this issue. Is there any workaround for this issue.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing values through HTTP header alexmalayil ASP.NET 2.0 Professional 3 October 27th, 2007 09:10 AM
Http Header....argh, Help Help pls... ? vanjamier Classic ASP Components 7 January 12th, 2005 02:53 PM
Please help me!!!How can I recognize file types tqbinh C# 1 August 13th, 2004 09:45 AM
Doesn't recognize hard drive linuxboy Linux 0 October 31st, 2003 02:39 PM
search with http header harpua Classic ASP Basics 3 September 9th, 2003 09:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.