Ask a Question related to ASP.NET Web Services, Design and Development.
-
Steve Evans #1
Adding a new web method gets me the "Server did not recognize the value of HTTP Header SOAPAction" error
A couple of weeks ago, I set up a .NET web service with one web
method. Since then, my Linux client has been using the one method with
no problem. Today, I added a second web method in the same service.
Here's an excerpt from the wsdl file:
<definitions targetNamespace="http://cscweb/WebServices">
-<types>
-<s:schema elementFormDefault="qualified"
targetNamespace="http://cscweb/WebServices">
-<s:element name="UpdateInq">
....
-<s:element name="UpdatePowerMT">
To me, everything looks good. "UpdateInq" is the original method,
"UpdatePowerMT" is the new one, both are declared as WebMethods and
show up in WSDL. When I call UpdatePowerMT, I see this:
System.Web.Services.Protocols.SoapException: Server did not recognize
the value of HTTP Header SOAPAction:
[url]http://cscweb/WebServices/UpdatePowerMT[/url].
Replace the call with UpdateInq and it works, go back to UpdatePowerMT
and it breaks again. What's going on here? Is there some sort of
cached version of the service that's not getting updated with the new
content? Checking the debugging info for UpdatePowerMT shows it with
the same syntax as UpdateInq, just the different name. Argh!
Thanks for any help, Steve
Steve Evans Guest
-
Server did not recognize the value of HTTP Header SOAPAction
Hello I have a Web Services (called wsSample) developed with Visual Studio .NET 2k03 and an Add-In for Office (called addSample) that use... -
Server did not recognize value of HTTP Header SOAPAction
When creating my web service I set the namespace to test. Now that I have completed the service I have changed the namespace to... -
Random Server did not recognize the value of HTTP Header SOAPAction Error
Hi, I'm having problems with my webservice. I have a fully functional webservice, but once in a while I get the error message "Server did not... -
random "Server did not recognize the value of HTTP Header SOAPAction"
We are building a large client-server application based on XML WebServices. A lot of shared code is encapsulated in class libraries used by both the... -
Unhandled exception: Server did not recognize the value of HTTP Header SOAPAction
I have the following code with errors on the lines as indicated by the -> and the explanation in the exception details below; ' FORM1.VB Private... -
John Conwell #2
RE: Adding a new web method gets me the "Server did not recognize the value of HTTP Header SOAPAction" error
I'm not trying to be smart here, but even though you updated you WSDL document, did you regenerate your client side proxy class thats based on the WSDL?
John Conwell Guest
-
Steve Evans #3
RE: Adding a new web method gets me the "Server did not recognize the value of HTTP Header SOAPAction" error
Thanks for your note. If you mean removing the .cs file (InqService.cs,
in
this case) and creating a new one using wsdl from a command window
("wsdl /o:InqService.cs ..." etc), then I did. Or is there a different
document that you're referring to?
Steve
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Steve Evans Guest
-
P. Smith #4
Adding a new web method gets me the "Server did not recognize the value of HTTP
So, I recently got this same error when I had introduced a new method to a web service but hadn't pushed the new web service to production at the same time the clients rolled out. The new version clients bounced against the old web service (which didn't have the new method) and gave back the same error you show.
P. Smith Guest



Reply With Quote

