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 "kamlesh (JIRA)" <ax...@ws.apache.org> on 2006/07/31 23:08:13 UTC
[jira] Created: (AXISCPP-988) No namespace validation
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
[jira] Updated: (AXISCPP-988) No namespace validation
Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
[ 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