473,406 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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>Unable 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:

[SoapDocumentService(RoutingStyle=SoapServiceRoutin gStyle.RequestElement)]

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):

[SoapDocumentMethod(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 2869

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

Similar topics

7
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...
5
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...
2
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...
0
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...
0
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)...
0
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...
0
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):...
0
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.:...
5
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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...

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.