Commit for development environment setup

This commit is contained in:
2023-06-19 16:12:33 -04:00
parent be72063a3c
commit bbce2ad0a6
2209 changed files with 1171775 additions and 625 deletions

View File

@@ -0,0 +1,334 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
//
// This source code was auto-generated by Microsoft.VSDesigner, Version 2.0.50727.42.
//
#pragma warning disable 1591
namespace Csla.WebServiceHost {
using System.Diagnostics;
using System.Web.Services;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System;
using System.Xml.Serialization;
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="WebServicePortalSoap", Namespace="http://ws.lhotka.net/Csla")]
public partial class WebServicePortal : System.Web.Services.Protocols.SoapHttpClientProtocol {
private System.Threading.SendOrPostCallback CreateOperationCompleted;
private System.Threading.SendOrPostCallback FetchOperationCompleted;
private System.Threading.SendOrPostCallback UpdateOperationCompleted;
private System.Threading.SendOrPostCallback DeleteOperationCompleted;
private bool useDefaultCredentialsSetExplicitly;
/// <remarks/>
public WebServicePortal() {
this.Url = global::Csla.Properties.Settings.Default.Csla_WebServiceHost_WebServicePortal;
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
this.UseDefaultCredentials = true;
this.useDefaultCredentialsSetExplicitly = false;
}
else {
this.useDefaultCredentialsSetExplicitly = true;
}
}
public new string Url {
get {
return base.Url;
}
set {
if ((((this.IsLocalFileSystemWebService(base.Url) == true)
&& (this.useDefaultCredentialsSetExplicitly == false))
&& (this.IsLocalFileSystemWebService(value) == false))) {
base.UseDefaultCredentials = false;
}
base.Url = value;
}
}
public new bool UseDefaultCredentials {
get {
return base.UseDefaultCredentials;
}
set {
base.UseDefaultCredentials = value;
this.useDefaultCredentialsSetExplicitly = true;
}
}
/// <remarks/>
public event CreateCompletedEventHandler CreateCompleted;
/// <remarks/>
public event FetchCompletedEventHandler FetchCompleted;
/// <remarks/>
public event UpdateCompletedEventHandler UpdateCompleted;
/// <remarks/>
public event DeleteCompletedEventHandler DeleteCompleted;
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://ws.lhotka.net/Csla/Create", RequestNamespace="http://ws.lhotka.net/Csla", ResponseNamespace="http://ws.lhotka.net/Csla", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
public byte[] Create([System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] requestData) {
object[] results = this.Invoke("Create", new object[] {
requestData});
return ((byte[])(results[0]));
}
/// <remarks/>
public void CreateAsync(byte[] requestData) {
this.CreateAsync(requestData, null);
}
/// <remarks/>
public void CreateAsync(byte[] requestData, object userState) {
if ((this.CreateOperationCompleted == null)) {
this.CreateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOperationCompleted);
}
this.InvokeAsync("Create", new object[] {
requestData}, this.CreateOperationCompleted, userState);
}
private void OnCreateOperationCompleted(object arg) {
if ((this.CreateCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CreateCompleted(this, new CreateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://ws.lhotka.net/Csla/Fetch", RequestNamespace="http://ws.lhotka.net/Csla", ResponseNamespace="http://ws.lhotka.net/Csla", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
public byte[] Fetch([System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] requestData) {
object[] results = this.Invoke("Fetch", new object[] {
requestData});
return ((byte[])(results[0]));
}
/// <remarks/>
public void FetchAsync(byte[] requestData) {
this.FetchAsync(requestData, null);
}
/// <remarks/>
public void FetchAsync(byte[] requestData, object userState) {
if ((this.FetchOperationCompleted == null)) {
this.FetchOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFetchOperationCompleted);
}
this.InvokeAsync("Fetch", new object[] {
requestData}, this.FetchOperationCompleted, userState);
}
private void OnFetchOperationCompleted(object arg) {
if ((this.FetchCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.FetchCompleted(this, new FetchCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://ws.lhotka.net/Csla/Update", RequestNamespace="http://ws.lhotka.net/Csla", ResponseNamespace="http://ws.lhotka.net/Csla", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
public byte[] Update([System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] requestData) {
object[] results = this.Invoke("Update", new object[] {
requestData});
return ((byte[])(results[0]));
}
/// <remarks/>
public void UpdateAsync(byte[] requestData) {
this.UpdateAsync(requestData, null);
}
/// <remarks/>
public void UpdateAsync(byte[] requestData, object userState) {
if ((this.UpdateOperationCompleted == null)) {
this.UpdateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateOperationCompleted);
}
this.InvokeAsync("Update", new object[] {
requestData}, this.UpdateOperationCompleted, userState);
}
private void OnUpdateOperationCompleted(object arg) {
if ((this.UpdateCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.UpdateCompleted(this, new UpdateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://ws.lhotka.net/Csla/Delete", RequestNamespace="http://ws.lhotka.net/Csla", ResponseNamespace="http://ws.lhotka.net/Csla", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
public byte[] Delete([System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] requestData) {
object[] results = this.Invoke("Delete", new object[] {
requestData});
return ((byte[])(results[0]));
}
/// <remarks/>
public void DeleteAsync(byte[] requestData) {
this.DeleteAsync(requestData, null);
}
/// <remarks/>
public void DeleteAsync(byte[] requestData, object userState) {
if ((this.DeleteOperationCompleted == null)) {
this.DeleteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteOperationCompleted);
}
this.InvokeAsync("Delete", new object[] {
requestData}, this.DeleteOperationCompleted, userState);
}
private void OnDeleteOperationCompleted(object arg) {
if ((this.DeleteCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DeleteCompleted(this, new DeleteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
public new void CancelAsync(object userState) {
base.CancelAsync(userState);
}
private bool IsLocalFileSystemWebService(string url) {
if (((url == null)
|| (url == string.Empty))) {
return false;
}
System.Uri wsUri = new System.Uri(url);
if (((wsUri.Port >= 1024)
&& (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
return true;
}
return false;
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
public delegate void CreateCompletedEventHandler(object sender, CreateCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CreateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal CreateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public byte[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((byte[])(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
public delegate void FetchCompletedEventHandler(object sender, FetchCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class FetchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal FetchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public byte[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((byte[])(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
public delegate void UpdateCompletedEventHandler(object sender, UpdateCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UpdateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal UpdateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public byte[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((byte[])(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
public delegate void DeleteCompletedEventHandler(object sender, DeleteCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DeleteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal DeleteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public byte[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((byte[])(this.results[0]));
}
}
}
}
#pragma warning restore 1591

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<DiscoveryClientResultsFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Results>
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://localhost:4804/WSPortalcs/Service.asmx?disco" filename="Service.disco" />
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://localhost:4804/WSPortalcs/Service.asmx?wsdl" filename="Service.wsdl" />
</Results>
</DiscoveryClientResultsFile>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
<contractRef ref="http://localhost:4804/WSPortalcs/Service.asmx?wsdl" docRef="http://localhost:4804/WSPortalcs/Service.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
<soap address="http://localhost:4804/WSPortalcs/Service.asmx" xmlns:q1="http://ws.lhotka.net/Csla" binding="q1:WebServicePortalSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
<soap address="http://localhost:4804/WSPortalcs/Service.asmx" xmlns:q2="http://ws.lhotka.net/Csla" binding="q2:WebServicePortalSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
</discovery>

View File

@@ -0,0 +1,191 @@
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://ws.lhotka.net/Csla" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://ws.lhotka.net/Csla" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://ws.lhotka.net/Csla">
<s:element name="Create">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="requestData" type="s:base64Binary" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="CreateResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="CreateResult" type="s:base64Binary" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="Fetch">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="requestData" type="s:base64Binary" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="FetchResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="FetchResult" type="s:base64Binary" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="Update">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="requestData" type="s:base64Binary" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="UpdateResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="UpdateResult" type="s:base64Binary" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="Delete">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="requestData" type="s:base64Binary" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DeleteResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DeleteResult" type="s:base64Binary" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
<wsdl:message name="CreateSoapIn">
<wsdl:part name="parameters" element="tns:Create" />
</wsdl:message>
<wsdl:message name="CreateSoapOut">
<wsdl:part name="parameters" element="tns:CreateResponse" />
</wsdl:message>
<wsdl:message name="FetchSoapIn">
<wsdl:part name="parameters" element="tns:Fetch" />
</wsdl:message>
<wsdl:message name="FetchSoapOut">
<wsdl:part name="parameters" element="tns:FetchResponse" />
</wsdl:message>
<wsdl:message name="UpdateSoapIn">
<wsdl:part name="parameters" element="tns:Update" />
</wsdl:message>
<wsdl:message name="UpdateSoapOut">
<wsdl:part name="parameters" element="tns:UpdateResponse" />
</wsdl:message>
<wsdl:message name="DeleteSoapIn">
<wsdl:part name="parameters" element="tns:Delete" />
</wsdl:message>
<wsdl:message name="DeleteSoapOut">
<wsdl:part name="parameters" element="tns:DeleteResponse" />
</wsdl:message>
<wsdl:portType name="WebServicePortalSoap">
<wsdl:operation name="Create">
<wsdl:input message="tns:CreateSoapIn" />
<wsdl:output message="tns:CreateSoapOut" />
</wsdl:operation>
<wsdl:operation name="Fetch">
<wsdl:input message="tns:FetchSoapIn" />
<wsdl:output message="tns:FetchSoapOut" />
</wsdl:operation>
<wsdl:operation name="Update">
<wsdl:input message="tns:UpdateSoapIn" />
<wsdl:output message="tns:UpdateSoapOut" />
</wsdl:operation>
<wsdl:operation name="Delete">
<wsdl:input message="tns:DeleteSoapIn" />
<wsdl:output message="tns:DeleteSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="WebServicePortalSoap" type="tns:WebServicePortalSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="Create">
<soap:operation soapAction="http://ws.lhotka.net/Csla/Create" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Fetch">
<soap:operation soapAction="http://ws.lhotka.net/Csla/Fetch" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Update">
<soap:operation soapAction="http://ws.lhotka.net/Csla/Update" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Delete">
<soap:operation soapAction="http://ws.lhotka.net/Csla/Delete" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="WebServicePortalSoap12" type="tns:WebServicePortalSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="Create">
<soap12:operation soapAction="http://ws.lhotka.net/Csla/Create" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Fetch">
<soap12:operation soapAction="http://ws.lhotka.net/Csla/Fetch" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Update">
<soap12:operation soapAction="http://ws.lhotka.net/Csla/Update" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Delete">
<soap12:operation soapAction="http://ws.lhotka.net/Csla/Delete" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WebServicePortal">
<wsdl:port name="WebServicePortalSoap" binding="tns:WebServicePortalSoap">
<soap:address location="http://localhost:4804/WSPortalcs/Service.asmx" />
</wsdl:port>
<wsdl:port name="WebServicePortalSoap12" binding="tns:WebServicePortalSoap12">
<soap12:address location="http://localhost:4804/WSPortalcs/Service.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>