473,770 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SoapException - unusual behavior

I have a web page. It uses web service (on localhost) to get data. I'm able
to get to my web service properly, data is returned. Then, via JavaScript,
I HTTP post to another site. Instead of seeing the other site, I see the
SoapException.. .
<?xml version="1.0" encoding="utf-8" ?>
- <soap:Envelop e xmlns:soap="htt p://schemas.xmlsoap .org/soap/envelope/"
xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http ://www.w3.org/2001/XMLSchema">
- <soap:Body>
- <soap:Fault>
<faultcode>soap :Client</faultcode>
<faultstring>Sy stem.Web.Servic es.Protocols.So apException: Unable to handle
request without a valid action parameter. Please supply a valid soap action.
at System.Web.Serv ices.Protocols. Soap11ServerPro tocolHelper.Rou teRequest()
at System.Web.Serv ices.Protocols. SoapServerProto col.Initialize( ) at
System.Web.Serv ices.Protocols. ServerProtocol. SetContext(Type type,
HttpContext context, HttpRequest request, HttpResponse response) at
System.Web.Serv ices.Protocols. ServerProtocolF actory.Create(T ype type,
HttpContext context, HttpRequest request, HttpResponse response, Boolean&
abortProcessing )</faultstring>
<detail />
</soap:Fault>
</soap:Body>
</soap:Envelope>

I thought this message only happened for web service issues, yet my web
service was fine. Is there somewhere I should be looking?
Thanks for ideas! --Marty
Nov 18 '05 #1
1 1618
Please disregard - I found the cause of my issue. Instead of using HTTP
Post to go to another site, I was accidentally posting to my own form again!

"Marty McDonald" <mc******@wsdot .wa.gov> wrote in message
news:Ot******** ******@TK2MSFTN GP10.phx.gbl...
I have a web page. It uses web service (on localhost) to get data. I'm able to get to my web service properly, data is returned. Then, via JavaScript, I HTTP post to another site. Instead of seeing the other site, I see the
SoapException.. .
<?xml version="1.0" encoding="utf-8" ?>
- <soap:Envelop e xmlns:soap="htt p://schemas.xmlsoap .org/soap/envelope/"
xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http ://www.w3.org/2001/XMLSchema">
- <soap:Body>
- <soap:Fault>
<faultcode>soap :Client</faultcode>
<faultstring>Sy stem.Web.Servic es.Protocols.So apException: Unable to handle request without a valid action parameter. Please supply a valid soap action. at System.Web.Serv ices.Protocols. Soap11ServerPro tocolHelper.Rou teRequest()
at System.Web.Serv ices.Protocols. SoapServerProto col.Initialize( ) at
System.Web.Serv ices.Protocols. ServerProtocol. SetContext(Type type,
HttpContext context, HttpRequest request, HttpResponse response) at
System.Web.Serv ices.Protocols. ServerProtocolF actory.Create(T ype type,
HttpContext context, HttpRequest request, HttpResponse response, Boolean&
abortProcessing )</faultstring>
<detail />
</soap:Fault>
</soap:Body>
</soap:Envelope>

I thought this message only happened for web service issues, yet my web
service was fine. Is there somewhere I should be looking?
Thanks for ideas! --Marty

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1727
by: Indra Heckenbach | last post by:
I have recently come across an unusual behavior with Postgres 7.3.4 on a Linux RH 9 system. My database has encoding set to "UNICODE", and the table includes Japanese text. I'm trying to issue a query like this: SELECT * FROM sales WHERE name='ja-text'; This query ignores all japanese characters in the comparison text. It matches properly on ascii chars, but skips right over ja chars. I tried using "LIKE" instead of "=", and this...
3
1702
by: Farooq Khan | last post by:
why does Response.Write in a method of code-beind class when called from inpage code (i.e in <%---%>), after creating object of that class, fails when called while it works perfectly ok while calling the same method same way except for creating object instead directly calling the method? i get this when trying to do that:- ************************************************** Response is not available in this context. Description: An...
9
3168
by: Flare | last post by:
Hi Im trying to create a custom Exception Hierachy for an Asp.net application. Some of my exceptions should iherit from soapException like MyCustomWebServiceException : soapException { blabla }
1
1982
by: djmc | last post by:
Hi, In my web application, I catch SoapExceptions and check the SoapException.Message property to determine the error that occurred. For instance, when authenticating a user, if the incorrect password is detected, the following message is contained within SoapException.Message: Password is incorrect for user
16
4929
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by Microsoft must be installed on their servers. Now german Umlaute (ä, ü, ö) and quotes are returned incorrectly in SOAP fault responses. This can be easily verified: Implement the following in a web service method (just raises a SOAPException with a...
0
1050
by: Jan Ove Halvorsen | last post by:
Hi! I have a web service that is used by a smart client (windows forms). It normally works ok, but occasionally I get the following error-message: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: System.Data.SyntaxErrorException: Syntax error: Missing operand after 'Agata' operator. at System.Data.ExpressionParser.Parse() at...
4
8521
by: asanford | last post by:
http://msdn2.microsoft.com/en-us/library/ds492xtk.aspx Is this the following excerpt from the above page incorrect, or is there a bug in the .net 2.0 implementation? Or perhaps I have something configured wrong. Basically, the doc says that when a custom exception type is thrown from a web method, that the web service client app will receive a soapexception with the soapexception.InnerException property set to reference the custom...
0
1487
by: Giulio | last post by:
Hi programmers, I'm quite new in this blog, I have a question concerning web services Soap Exceptions: I created a class MySoapException derived from SoapException, I add the references both server-side and client-side, and I tried to implement correctly serialization, I mean, the "ability" of a class to be used through a web services communication (that's not so correct, I hope you understand what I mean). Here is my class:
4
2319
by: rakesh19 | last post by:
Hi, I am dynamically including .js files on a button click. There is a segregated function to do the same. It doesnt seems to work well. If I put a alert tag in the includeJSFile function, it works well. Else it says init is not defined. Is there peculiarity in how function calls are terminated or something I am attaching the code snippet below. headTag.appendChild(imageScriptTag); ...
0
9617
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10257
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10099
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.