Closed
Bug 75600
Opened 24 years ago
Closed 24 years ago
Setting SOAPCall.actionURI has no effect
Categories
(Core :: XML, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: pirat, Assigned: rayw)
Details
When you create new SOAPCall() object and set actionURI parameter on it, no
SOAPAction header is sent.
JavaScript code:
var s = new SOAPCall();
s.targetObjectURI = "http://my.org/csa.xsd";
s.methodName = "getAirports";
s.destinationURI = "http://localhost:1234/soap/servlet/csa/";
s.actionURI = '""';
s.asyncInvoke(onresponse);
Sent HTTP request:
POST /soap/servlet/csa/ HTTP/1.1
Host: localhost:1234
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; 0.8.1)
Accept: */*
Accept-Language: en
Accept-Encoding: gzip,deflate,compress,identity
Accept-Charset: ISO-8859-1, utf-8; q=0.667, *; q=0.667
Keep-Alive: 300
Connection: keep-alive
Content-type: text/xml
Content-Length: 422
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-
ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"><SOAP-ENV:Header/><SOAP-
ENV:Body><a0:getAirports xmlns:a0="http://my.org/csa.xsd"/></SOAP-
ENV:Body></SOAP-ENV:Envelope>
As mentioned in http://www.w3.org/TR/SOAP/ chapter 6.1.1 "An HTTP client MUST
use this header field when issuing a SOAP HTTP Request." so some SOAPAction
header should be send even if parameter actionURI is not specified.
I know it's just a note but when no SOAPAction header is sent even when
actionURI attribute is specified there's something broken.
Tested on SOAP-enabled build from ftp source "2001-04-10-08-trunk/mozilla-
source.tar.gz", which identified itself as "Mozilla/5.0 (Windows; U; Windows NT
5.0; en-US; 0.8.1)"
Comment 2•24 years ago
|
||
Passing along to Ray Whitmer, since he's working on a new version of the SOAP
library.
Assignee: vidur → rayw
| Assignee | ||
Comment 3•24 years ago
|
||
This will not be fixed, as we are working on a new version of the code base. It
is presumed that this type of function will work in the new code base, but there
is no direct correspondance between the old and new code bases -- not even a
guarantee that this will exist, although it probably will.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
Updated•23 years ago
|
QA Contact: petersen → rakeshmishra
You need to log in
before you can comment on or make changes to this bug.
Description
•