Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5 Final
-
None
-
Fedora Core 4, Apache2
Description
SoapDeSerializier requires type to be present for parameters causing valid soap as follows to cause a segmentation violation.
<?xml version="1.0" encoding="utf-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<n1:add xmlns:n1="http://localhost/axis/Calculator">
<in0>100</in0>
<in1>0</in1>
</n1:add>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
All of the getElementAs* methods return an 0 (error) if getXSDType doesn't return the matching XSDTYPE. getXSDType will return XSD_UNKNOWN if no type attribute is present and as far as I understand the SOAP spec a type isn't required.