parameter shouldn't require type
--------------------------------

         Key: AXISCPP-830
         URL: http://issues.apache.org/jira/browse/AXISCPP-830
     Project: Axis-C++
        Type: Bug
  Components: Server - Deserialization  
    Versions: 1.5 Final    
 Environment: Fedora Core 4, Apache2
    Reporter: Xavier Toth


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to