axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nadir amra (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Updated: (AXISCPP-988) No namespace validation
Date Thu, 22 May 2008 00:05:55 GMT

     [ 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


Mime
View raw message