Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2004

Tip: Looking for answers? Try searching our database.

Server did not recognize the value of HTTP Header Soapaction

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dino Antonelli - 24 Oct 2004 11:14 GMT
Hi,

I've got the following problem:

I've written an application that is built as a peer to peer
application. So, every "instance" deployed talks with another
"instance" of the same type. In this way every instance is both a web
service consumer and web service producer and the protocol used is
SOAP on .NET framework 1.1 (C#).
The problem is that the web service that exposes that interface to all
the other instances owns (in the bin folder) also the web reference to
be a client. This situation produce the error on the subject on the
moment I start the communication:

"Server did not recognize the value of HTTP Header Soapaction: ...."

I've tried to remove the ASP.NET cache on every start but it semms to
not solve the problem
Has anybody an idea to solve this kind of problem?

Thanks in advance
Dino
Dan Rogers - 18 Nov 2004 23:26 GMT
Hi Dino,

I may not fully comprehend all of the variables, but in general, when this
error is received, it means the web service request code is configured to
dispatch based on SOAPAction (the default case), and the SOAP Action value
in the HTTP header field did not match one of the expected Action values
(which default to the method names unless you override them with
SoapDocumentMethodAttribute.

Try looking at the raw request and compare that to what you expect.  To do
this, download George Lindsay's trace web service extension, configure it
into your services web.config as documented, and then open a browser window
and access the following URL:  http://localhost/myservice/trace.axd

You'll need to adjust this path, but the important thing is to set
trace="on" in your web.config, and install the tracing extension by putting
the DLL alongside of your service DLL and following the directions in the
download.  Then using a client that exhibits this behavior, make a call to
your service endpoint.  Then refresh your browser with the trace.  You
should see a new POST message - and you can drill in on it to see the text
of the request as received.  I suspect you'll find that the call is
populating the SoapAction field in a way that the service does not expect.

I hope this helps

Dan Rogers
Microsoft Corporation
--------------------
>From: dino.antonelli@gmail.com (Dino Antonelli)
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
[quoted text clipped - 7 lines]
>Content-Transfer-Encoding: 8bit
>X-Trace: posting.google.com 1098612845 4401 127.0.0.1 (24 Oct 2004
10:14:05 GMT)
>X-Complaints-To: groups-abuse@google.com
>NNTP-Posting-Date: Sun, 24 Oct 2004 10:14:05 +0000 (UTC)
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.s
ul.t-online.de!t-online.de!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsf
eed.fjserv.net!newsfeed.wirehub.nl!gatel-ffm!gatel-ffm!proxad.net!postnews1.
google.com!not-for-mail
>Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:26218
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
[quoted text clipped - 20 lines]
>Thanks in advance
>Dino

Free Magazines

Get 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 ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.