Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
-
Axis 1.3
Xerces 2.6.0
Description
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>
<MyData/>
</ElementName>
</MessageName>
</SOAP-BODY>
In case, the "ElementName" node in above XML is not sent or sent using character entities ("<" and ">") 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.