735 { |
735 { |
736 TLSLOG_L(KSenClientSessionLogChannelBase+aConsumer.ConnectionId() , KMinLogLevel,"CWSOviServiceSession::SendErrorToConsumerL"); |
736 TLSLOG_L(KSenClientSessionLogChannelBase+aConsumer.ConnectionId() , KMinLogLevel,"CWSOviServiceSession::SendErrorToConsumerL"); |
737 TLSLOG_FORMAT((KSenClientSessionLogChannelBase+aConsumer.ConnectionId(), KMinLogLevel , _L8("- ErrorCode: %d"), aErrorCode )); |
737 TLSLOG_FORMAT((KSenClientSessionLogChannelBase+aConsumer.ConnectionId(), KMinLogLevel , _L8("- ErrorCode: %d"), aErrorCode )); |
738 ((CWSOviPlugin&)iFramework).ProcessInboundDispatchL(this, aErrorCode, apError, aResponseTransportProperties); |
738 ((CWSOviPlugin&)iFramework).ProcessInboundDispatchL(this, aErrorCode, apError, aResponseTransportProperties); |
739 TInt answer = CanHandleErrorL(); |
739 TInt answer = CanHandleErrorL(); |
|
740 TInt retVal(KErrNone); |
740 if (answer) |
741 if (answer) |
741 { |
742 { |
742 delete apError; |
743 if(apError) |
743 return aConsumer.HandleErrorL(NULL, answer, aTxnId, aResponseTransportProperties); |
744 { |
|
745 delete apError; |
|
746 apError = NULL; |
|
747 } |
|
748 retVal = aConsumer.HandleErrorL(NULL, answer, aTxnId, aResponseTransportProperties); |
744 } |
749 } |
745 else |
750 else |
746 { |
751 { |
747 return HandleErrorL(aErrorCode, apError, aTxnId, aConsumer, aResponseTransportProperties); |
752 retVal = HandleErrorL(aErrorCode, apError, aTxnId, aConsumer, aResponseTransportProperties); |
748 } |
753 } |
|
754 TLSLOG_FORMAT((KSenClientSessionLogChannelBase+aConsumer.ConnectionId(), KMinLogLevel , _L8("CWSOviServiceSession::SendErrorToConsumerL() retruns [%d]"), retVal )); |
|
755 return retVal; |
749 } |
756 } |
750 |
757 |
751 |
758 |
752 |
759 |
753 TInt CWSOviServiceSession::SubmitSoapL( const TDesC8& /*aSoapMessage*/, |
760 TInt CWSOviServiceSession::SubmitSoapL( const TDesC8& /*aSoapMessage*/, |