//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Runtime Version: 1.1.4322.573
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
//
// This source code was auto-generated by wsdl, Version=1.1.4322.573.
//
namespace si.halcom.ws {
// WSE 2.0
/*
using System.Diagnostics;
using System.Xml.Serialization;
using System;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Web.Services;
*/
using System;
using System.Xml;
using Microsoft.Web.Services2;
using Microsoft.Web.Services2.Addressing;
using Microsoft.Web.Services2.Messaging;
using System.Xml.Serialization;
///
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="CertificateStatus", Namespace="https://ws.halcom.si/CertificateStatus/CertificateStatus.wsdl")]
public class CertificateStatus : Microsoft.Web.Services2.WebServicesClientProtocol { // WSE 2.0 System.Web.Services.Protocols.SoapHttpClientProtocol {
///
public CertificateStatus() {
this.Url = "https://ws.halcom.si/CertificateStatus";
}
///
[System.Web.Services.Protocols.SoapRpcMethodAttribute("", RequestNamespace="http://ws.halcom.si/CertificateStatus-20040802", ResponseNamespace="http://ws.halcom.si/CertificateStatus-20040802")]
[return: System.Xml.Serialization.SoapElementAttribute("returnCode", DataType="integer")]
public string getCertificateStatus([System.Xml.Serialization.SoapElementAttribute(DataType="base64Binary")] System.Byte[] certificate, string actionPolicy, ref string other, out string returnText, [System.Xml.Serialization.SoapElementAttribute(DataType="integer")] out string certificateStatus, out System.DateTime producedAt, out System.DateTime thisUpdate, out System.DateTime nextUpdate, [System.Xml.Serialization.SoapElementAttribute(DataType="integer")] out string revocationReason, out System.DateTime revocationDate) {
object[] results = this.Invoke("getCertificateStatus", new object[] {
certificate,
actionPolicy,
other});
other = ((string)(results[1]));
returnText = ((string)(results[2]));
certificateStatus = ((string)(results[3]));
producedAt = ((System.DateTime)(results[4]));
thisUpdate = ((System.DateTime)(results[5]));
nextUpdate = ((System.DateTime)(results[6]));
revocationReason = ((string)(results[7]));
revocationDate = ((System.DateTime)(results[8]));
return ((string)(results[0]));
}
///
public System.IAsyncResult BegingetCertificateStatus(System.Byte[] certificate, string actionPolicy, string other, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("getCertificateStatus", new object[] {
certificate,
actionPolicy,
other}, callback, asyncState);
}
///
public string EndgetCertificateStatus(System.IAsyncResult asyncResult, out string other, out string returnText, out string certificateStatus, out System.DateTime producedAt, out System.DateTime thisUpdate, out System.DateTime nextUpdate, out string revocationReason, out System.DateTime revocationDate) {
object[] results = this.EndInvoke(asyncResult);
other = ((string)(results[1]));
returnText = ((string)(results[2]));
certificateStatus = ((string)(results[3]));
producedAt = ((System.DateTime)(results[4]));
thisUpdate = ((System.DateTime)(results[5]));
nextUpdate = ((System.DateTime)(results[6]));
revocationReason = ((string)(results[7]));
revocationDate = ((System.DateTime)(results[8]));
return ((string)(results[0]));
}
}
}