SoapResponse Class Template Reference

Encapsualtes a SOAP response. More...

List of all members.

Public Member Functions

void checkForExceptions () const
 Verifies SOAP response is "good".
ReturnObject getReturnValue () const
 Returns the return value from the SOAP response.


Detailed Description

template<class Serializer, class SendObject, class ReturnObject>
class SmartSOAP::SoapResponse< Serializer, SendObject, ReturnObject >

Encapsualtes a SOAP response.

This class is the return value from a SoapRequest. Use the SoapRequest class to build up a SOAP request and use this class to parse the result. Class is never ment for being used alone or constructed by any other means than by doing a "send" on a SoapRequest. Note that if you have a SOAP call which doesn't return anything at all, the serializer object doesn't actually HAVE to include the "deserialize" function but SHOULD call checkForExceptions() on the returned SoapResponse.


Member Function Documentation

void checkForExceptions (  )  const

Verifies SOAP response is "good".

This function will throw an xCeptionSoap exception if return value from server was either bad or encapsulated an exception.

ReturnObject getReturnValue (  )  const

Returns the return value from the SOAP response.

Dependant on the "deserialize" function of the Serializer object.

Back to SmartWin website
SourceForge.net Logo