Example #1
0
 public override SoapFilterResult ProcessMessage(SoapEnvelope envelope)
 {
     if (SericeUtil.versionsnummer(envelope) == "1.1")
     {
         if (cert != null)
         {
             Signering.Sign(envelope.DocumentElement, resrefs, "Security", NamespaceAlias.wsse, "MessageSignature", cert);
         }
     }
     return(SoapFilterResult.Continue);
 }
Example #2
0
 public override SoapFilterResult ProcessMessage(SoapEnvelope envelope)
 {
     try
     {
         if (cert != null)
         {
             Signering.Sign(envelope.DocumentElement, reqrefs, "Security", NamespaceAlias.wsse, "MessageSignature", cert);
         }
         return(SoapFilterResult.Continue);
     }
     catch
     { }
     return(errorhandler.makeClientError(new ErrorType(ErrorCode.InternalError, "")));
 }