axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Commented: (AXISCPP-794) Call class needs to return XML before deserializing
Date Fri, 12 Aug 2005 04:00:54 GMT
    [ http://issues.apache.org/jira/browse/AXISCPP-794?page=comments#action_12318574 ] 

Samisa Abeysinghe commented on AXISCPP-794:
-------------------------------------------

BTW you seem to be using 1.3 release which is quite old.

Please use 1.5, or better use a CVS checkout.

> Call class needs to return XML before deserializing
> ---------------------------------------------------
>
>          Key: AXISCPP-794
>          URL: http://issues.apache.org/jira/browse/AXISCPP-794
>      Project: Axis-C++
>         Type: Improvement
>   Components: Client - Deserialization
>  Environment: Axis 1.3
> Xerces 2.6.0
>     Reporter: Linesh Mahadik

>
> Call class currently doesn't have any method to return undeserialized XML. In order to
read XML response from a webservice, it currently expects the user to call following functions
>  if (TRUE = CheckMessage("MessageName", NamespaceUrl))
> {
>       string str = m_pCall->getElementAsString("elementName", NamespaceUrl)
> }
> This creates a requirement of having atleast 2 levels of XML nodes inside SOAP-BODY.

> <SOAP-BODY>
>     <MessageName>
>         <ElementName>
>             &lt;MyData/&gt;
>          </ElementName>
>     </MessageName>
> </SOAP-BODY>
> In case, the "ElementName" node in above XML is not sent or sent using character entities
("&lt;" and "&gt;") it fails to deserialize that data. 
> Providing a method to return entire incoming XML as a string or through pointer to deserializer
(SOapDeserializer *m_pIWSDZ) will enable the user to implement custom deserializing.

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


Mime
View raw message