You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "nadir amra (JIRA)" <ax...@ws.apache.org> on 2008/05/22 02:05:55 UTC
[jira] Updated: (AXISCPP-988) No namespace validation
[ https://issues.apache.org/jira/browse/AXISCPP-988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nadir amra updated AXISCPP-988:
-------------------------------
Component/s: Client - Engine
> No namespace validation
> -----------------------
>
> Key: AXISCPP-988
> URL: https://issues.apache.org/jira/browse/AXISCPP-988
> Project: Axis-C++
> Issue Type: Bug
> Components: Client - Engine
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org