Closed
Bug 222963
Opened 23 years ago
Closed 10 years ago
WebServices does not return any response
Categories
(Core Graveyard :: Web Services, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: zajac, Assigned: doronr)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Build Identifier:
In response from WebServices server, there may be "encodingStyle attribute", it
may appear (according to specification) on any element.
But mozilla calls response ('callback function') only when this attribute
appears in "Envelope" element.
This response is for mozilla correct (SOAP-ENV:encodingStyle is in Envelope
element).
////////////////////////////////////////
<?xml version="1.0"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<m:echoIntegerResponse
xmlns:m="http://soapinterop.org/">
<outputInteger
xsi:type="xsd:int">56</outputInteger>
</m:echoIntegerResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>^M
////////////////////////////////////////
According to secification, this response is correct too
(SOAP-ENV:encodingStyle is as part of SOAP-ENV:Body), but mozilla does not call
collback function.
///////////////////////////////////////
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
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"
xmlns:ns="urn:moz">
<SOAP-ENV:Header>
</SOAP-ENV:Header>
<SOAP-ENV:Body
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" id="_0">
<ns:echoIntegerResponse>
<outputInteger
xsi:type="xsd:int">13</outputInteger>
</ns:echoIntegerResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
///////////////////////////////////////
Peter.
Reproducible: Always
Steps to Reproduce:
1. to generate WS server (e.g.: from gSOAP software), and to generate wsdl file
2. to write JavaScript for calling WebServices from wsdl file
3. to call WebServices function from input wsdl file
4. response does not appear in JavaScript.
| Assignee | ||
Comment 1•23 years ago
|
||
over to me
Assignee: harishd → doronr
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 2•22 years ago
|
||
sample gSoup webservice:
http://xmethods.net/ve2/ViewListing.po?key=uuid:0A492AE3-AD51-DEE3-FDB1-84EF67B1D32F
Updated•17 years ago
|
QA Contact: ashshbhatt → web-services
| Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•