axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chinthana Danapala (JIRA)" <>
Subject [jira] Commented: (AXISCPP-794) Call class needs to return XML before deserializing
Date Fri, 12 Aug 2005 03:54:54 GMT
    [ ] 

Chinthana Danapala commented on AXISCPP-794:

Hi Linesh,

Are you using Axis C++ 1.3 version? If so can you try this with 1.5 versions or you can get
1.6 latest codes from CVS and build and check with that. 

Otherwise can you attach the WSDL file and client implementation?

> Call class needs to return XML before deserializing
> ---------------------------------------------------
>          Key: AXISCPP-794
>          URL:
>      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.

>     <MessageName>
>         <ElementName>
>             &lt;MyData/&gt;
>          </ElementName>
>     </MessageName>
> 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:
For more information on JIRA, see:

View raw message