473,799 Members | 3,181 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

webservice.htc, firewalls and Valid Soap Action

We've developped a web service that is called by javascript clients using
the webservice.htc.
We've discovered that for certain clients we get the soap error
<faultstring>Un able to handle request without a valid action parameter.>
Please supply a valid soap action.</faultstring>

What I think is happening is their firewalls are either removing or
modifying the SoapAction header,
so I tried, as someone suggested in another thread, to add the following
attribute to the Web Service class:

[SoapDocumentSer vice(RoutingSty le=SoapServiceR outingStyle.Req uestElement)]

This poses no problems testing on the local machine, but still fails for the
live system with the same error.
So I tried adding (as someone else suggested):

[SoapDocumentMet hod(Action="")] to each WebMethod, which then caused it to
start failing locally too!

There will be 1000s of non technical clients, changing monthly, so we don't
want to have to tell each one
how to configure their firewalls.

They may be using different browsers, other than IE, we don't want then to
have to install ActiveX controls either.

One thing is, I really don't think we need the overhead of soap. All
methods will take and return strings or null, so there's
no need for other datatypes.

I've read suggstions for not using soap, just http get or post, and other
suggestions on using an MSXml ActiveX
control (not too viable in our situation).

Perhaps it's something simple we've overlooked. Maybe we can modify the
webservice.htc. I've been staring at this
problem for a couple of days now, and read tons of posts, but none seem to
have the answers I'm looking for.

If anyone has any ideas on solving this, I'm open to suggestions.

Thanks,

Phil
Nov 23 '05 #1
0 2891

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

Similar topics

7
5930
by: Q. John Chen | last post by:
All, I have a WebService created in .NET. I have VB6 Client consume the WebService (using Soap ToolKit 3.0) But I have couple user who got error accessing the WebServer with error message "Unable to handle request without a valid parameter ..." After hours of research, my conclusion is that the firewall treat "SOAPAction" as unknow header and blocked it.
5
8271
by: jb | last post by:
*Please* help --- I'm tearing my hair out. I want to use sessionstate in a webservice, accessed from a client, written in script (JScript, InfoPath). I have written my webservice (C# .NET). I have marked the method(s) with EnableSession=true. I have read everything there is to read! I am told that to reuse session, my client needs to receive a cookie in the header from the webservice and then pass this back in all future calls. ...
2
2043
by: Chris | last post by:
Hi, I seem to be having some problems connecting to webservices. I'm running a C# client connected to a Java webservice using GLUE. The difference between the two request and response pairs below is the first contains one item in the request and the second contains two. From what I can see, the only real difference between the two involves the following:
0
4533
by: karazy | last post by:
I have been reading all the forums and understand whats going wrong but am not sure how to fix it. I have written a basic doc/literal web service. But when it is called by a .net client it will return NULL. I used proxytrace to check the data that goes back and forward. I can see my request and response. See below at the bottom. I believe that this error occurs because of a problem .Net has in reading my doc/literal WSDL. Or my Axis...
0
2491
by: lvpaul | last post by:
Hello ! I am calling a .NET Webservice and getting back a ADO.NET Datatset. How can I convert this to an PHP-Array ? $ergebnis = $m_service->call( $function, $data ); print_r($ergebnis) RESTULT:
0
1458
by: Wijnand Kroes | last post by:
Hi guys, I have a C#.NET client which sends SOAP requests to .Net webservices and non ..Net webservices. If I do not add a SOAP header a get a valid response from all webservices. If I do add a SOAP header a get a valid response from the .Net webservice but an error from the client when accessing a non .Net webservice. The non .Net webservices are created in VB6 and Java.
0
1581
by: shruthi | last post by:
Hai, I m nt able to refer the webservice created using java and xml through vb.net.when i try to refer the wsdl file i get an error D:\WindowsApplication7\Web References\ws\Reference.map(1): Custom tool error: Unable to import WebService/Schema. Unable to import binding 'testScvSoapBinding' from namespace 'http://www.ofbiz.org/service/'. Unable to import operation 'testScv'. Specified cast is not valid. Can anyone help me?
0
1050
by: imonline420 | last post by:
Hi, I have made a webservice from XSD using WSCF. It has number of webmethods. All of them are working good but one. For one method I m getting following error msg.: System.Web.Services.Protocols.SoapException: Unable to handle request without a valid action parameter. Please supply a valid soap action. at System.Web.Services.Protocols.Soap12ServerProtocolHelper.RouteRequest() at...
5
2759
by: VictorG | last post by:
Hello, I am trying to secure a webservice using WSE 3.0 and the turnkey usernameForCertificateSecurity profile. I am passing a valid username token, and on the server I have overridden the Authenticate token call and it is being called. My ASP.NET service has a Login() method and it is being called during client application startup. Both the client and service have matching policy config files. Once authentication
0
9538
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
10023
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
9067
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7561
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6803
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
5583
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4135
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3751
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2935
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.