axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kamlesh (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Created: (AXISCPP-988) No namespace validation
Date Mon, 31 Jul 2006 21:08:13 GMT
No namespace validation 
------------------------

                 Key: AXISCPP-988
                 URL: http://issues.apache.org/jira/browse/AXISCPP-988
             Project: Axis-C++
          Issue Type: Bug
            Reporter: kamlesh


Axis-C++ does not verify that the elements in the SOAP request belong to the same namespace
as defined in wsdl.

For example, here is a sample code generated by Axis for the Calculator sample.

 /* check whether we have got correct message */
    if (AXIS_SUCCESS != pIWSDZ->checkMessageBody("add", "http://localhost/axis/Calculator"))
    {
        return AXIS_FAIL;
    }
    pIWSSZ->createSoapMethod("addResponse", "http://localhost/axis/Calculator");

    xsd__int v0 = 0;
    xsd__int * pValue0 = pIWSDZ->getElementAsInt("in0",0);
*/

In the checkMessageBody() method even though namespace is passed as an argument it is never
actually used to validate the element in the soap request. 
Also, all getElement* method takes namespace as an argument but they are just ignored.  




-- 
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message