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 / August 2004

Tip: Looking for answers? Try searching our database.

SOAPAction header missing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brian Wetzel - 23 Aug 2004 22:55 GMT
I have a web service that uses WSE deployed on a Windows 2003 server.  When
I run my client from a remote computer, I get the following exception:

System.Web.Services.Protocols.SoapHeaderException: WSE012: The input was not
a valid SOAP message because the following header is missing: SOAPAction. at
Microsoft.Web.Services2.WebServicesExtension.PreProcessHttpMessage(SoapEnvel
ope message) at
Microsoft.Web.Services2.WebServicesExtension.BeforeDeserializeServer(SoapSer
verMessage message)

After enabling tracing in the web.config I can see that there is no
SOAPAction header in the request.

If I run my client application from the web server, everything works fine.
Does anyone know why the SOAPAction header would be getting lost.
Brian Wetzel - 24 Aug 2004 19:12 GMT
I figured out the problem.  My firewall was removing the SOAPAction header.
Once I modified the configuration to allow the SOAPAction header everything
works fine.

> I have a web service that uses WSE deployed on a Windows 2003 server.  When
> I run my client from a remote computer, I get the following exception:
>
> System.Web.Services.Protocols.SoapHeaderException: WSE012: The input was not
> a valid SOAP message because the following header is missing: SOAPAction. at

Microsoft.Web.Services2.WebServicesExtension.PreProcessHttpMessage(SoapEnvel
> ope message) at

Microsoft.Web.Services2.WebServicesExtension.BeforeDeserializeServer(SoapSer
> verMessage message)
>
[quoted text clipped - 3 lines]
> If I run my client application from the web server, everything works fine.
> Does anyone know why the SOAPAction header would be getting lost.

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.