Closed Bug 220412 Opened 21 years ago Closed 21 years ago

no SOAPAction in HTTP request header when making a SOAP call

Categories

(Core Graveyard :: Web Services, defect)

1.4 Branch
x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: vlddrak, Assigned: harishd)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows 98) Opera 7.02  [en]
Build Identifier: 

It seems that mozilla does not append a SOAPAction string in the HTTP header 
when making a SOAP call. Some web services work without this (those provided in 
the documentation), however some dont. I tried with Apache Axis and the server 
returns an error about missing SOAPAction. The SOAP specification sais that 
SOAPAction MUST be in the HTTP request header. To be sure I ued tcpmon, a tool 
provided with Axis witch allows to view HTTP messages sent and received in real 
time. In deed, I could not see any SOAPAction in the HTTP request header.


Reproducible: Sometimes

Steps to Reproduce:
1.Use Apache Axis as the webservice server


2.Try to connect to a webservice (the simplest is stock in the samples directory 
of Axis). The code should be almost the same found in the article on http:
//devedge.netscape.com/viewsource/2003/soap/01/ 





Actual Results:  
The server return an error message saying about a missing SOAPAction in the HTTP 
request header.


Expected Results:  
Add a SOAPAction string in the HTTP request header.
Version: Trunk → 1.4 Branch
<SOAPMessage>.actionURI = "<action URI>  "; should do it for you.

More at
http://lxr.mozilla.org/mozilla/source/extensions/webservices/docs/Soap_Scripts_in_Mozilla.html
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.