Logo Search packages:      
Sourcecode: kmess version File versions  Download package

void HttpSoapConnection::parseSoapFault ( SoapMessage message  )  [protected, virtual, inherited]

Parse the SOAP fault.

This method extracts the node data, and emits a soapError() signal. Overwrite this method to implement custom error handling.

Parameters:
message The message containing a soap fault conXML node which contains the SOAP fault.

Reimplemented in PassportLoginService.

Definition at line 261 of file httpsoapconnection.cpp.

References MsnSocketBase::ERROR_SOAP_UNKNOWN, SoapMessage::getFaultCode(), SoapMessage::getFaultDescription(), and HttpSoapConnection::soapError().

Referenced by PassportLoginService::parseSecureFault().

{
  // Assemble a generic error message
  emit soapError( QString( "%1 (%2)" ).arg( message->getFaultDescription() )
                                      .arg( message->getFaultCode() ),
                  MsnSocketBase::ERROR_SOAP_UNKNOWN );
}


Generated by  Doxygen 1.6.0   Back to index