Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-794

Call class needs to return XML before deserializing

    XMLWordPrintableJSON

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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lineshm Linesh Mahadik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: