axis-c-dev mailing list archives

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

                 Key: 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:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message