Integration Web Service WSDL
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.2032
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
//
// This source code was auto-generated by wsdl, Version=1.1.4322.2032.
//
using System.Diagnostics;
using System.Xml.Serialization;
using System;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Web.Services;
namespace CMC.EAI.TestHarness.Web
{
/// <remarks/>
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="CMCIntegrationServiceSoap", Namespace="http://tempuri.org/")]
public class CMCIntegrationService : System.Web.Services.Protocols.SoapHttpClientProtocol
{
/// <remarks/>
public CMCIntegrationService()
{
this.Url = "http://localhost/CMCIntegrationService/CMCIntegrationService.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GenerateStudentAuthentication", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GenerateStudentAuthentication(string AuthRequest)
{
object[] results = this.Invoke("GenerateStudentAuthentication", new object[] {
AuthRequest});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGenerateStudentAuthentication(string AuthRequest, System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("GenerateStudentAuthentication", new object[] {
AuthRequest}, callback, asyncState);
}
/// <remarks/>
public string EndGenerateStudentAuthentication(System.IAsyncResult asyncResult)
{
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RequestUserInfo", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute(Namespace="")]
public ExternalAuthorization RequestUserInfo(string authGuid)
{
object[] results = this.Invoke("RequestUserInfo", new object[] {
authGuid});
return ((ExternalAuthorization)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginRequestUserInfo(string authGuid, System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("RequestUserInfo", new object[] {
authGuid}, callback, asyncState);
}
/// <remarks/>
public ExternalAuthorization EndRequestUserInfo(System.I_syncResult asyncResult)
{
object[] results = this.EndInvoke(asyncResult);
return ((ExternalAuthorization)(results[0]));
}
}
/// <remarks/>
public class ExternalAuthorization
{
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public AccessDenyType AccessDenyType;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public int CampusVueID;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public int CampusPortalID;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public RoleType RoleType;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public int UserID;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string StaffCode;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string StudentNumber;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string UserCode;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string FirstName;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string LastName;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string HomePhone;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string WorkPhone;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string CellPhone;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string Email;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string PostalCode;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string SSN;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string XmlExtensions;
/// <remarks/>
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
[System.Xml.Serialization.XmlArrayItemAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
public Campus[] CampusList;
}
/// <remarks/>
[System.FlagsAttribute()]
public enum AccessDenyType
{
/// <remarks/>
NULL = 1,
/// <remarks/>
SUCCESS = 2,
/// <remarks/>
INVALIDGUID = 4,
/// <remarks/>
EXPIREDGUID = 8,
/// <remarks/>
UNTRUSTEDSOURCE = 16,
/// <remarks/>
USERNOTFOUND = 32,
/// <remarks/>
ACCESSDENIED = 64,
}
/// <remarks/>
[System.FlagsAttribute()]
public enum RoleType
{
/// <remarks/>
NULL = 1,
/// <remarks/>
STUDENT = 2,
/// <remarks/>
STAFF = 4,
/// <remarks/>
EMPLOYER = 8,
/// <remarks/>
ADMIN = 16,
/// <remarks/>
NONADMIN = 32,
/// <remarks/>
ALL = 64,
}
/// <remarks/>
public class Campus
{
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public int CampusID;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string Descrip;
}
}