Adding
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"ExtendedData": {
|
||||
"inputs": [
|
||||
"https://webservice-stage.jdpowervalues.com/vehicles/secure/securelogin.asmx?wsdl"
|
||||
],
|
||||
"collectionTypes": [
|
||||
"System.Array",
|
||||
"System.Collections.Generic.Dictionary`2"
|
||||
],
|
||||
"namespaceMappings": [
|
||||
"*, JdpLogin"
|
||||
],
|
||||
"targetFramework": "netcoreapp2.2",
|
||||
"typeReuseMode": "All"
|
||||
}
|
||||
}
|
||||
+258
@@ -0,0 +1,258 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace JdpLogin
|
||||
{
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Name="GetTokenRequest", Namespace="http://webservice.jdpowervalues.com/")]
|
||||
public partial class GetTokenRequest : object
|
||||
{
|
||||
|
||||
private string UsernameField;
|
||||
|
||||
private string PasswordField;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
|
||||
public string Username
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.UsernameField;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.UsernameField = value;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
|
||||
public string Password
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.PasswordField;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.PasswordField = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
|
||||
[System.ServiceModel.ServiceContractAttribute(Namespace="http://webservice.jdpowervalues.com/", ConfigurationName="JdpLogin.SecureLoginSoap")]
|
||||
public interface SecureLoginSoap
|
||||
{
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://webservice.jdpowervalues.com/getToken", ReplyAction="*")]
|
||||
System.Threading.Tasks.Task<JdpLogin.getTokenResponse> getTokenAsync(JdpLogin.getTokenRequest1 request);
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
||||
public partial class getTokenRequest1
|
||||
{
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Name="getToken", Namespace="http://webservice.jdpowervalues.com/", Order=0)]
|
||||
public JdpLogin.getTokenRequest1Body Body;
|
||||
|
||||
public getTokenRequest1()
|
||||
{
|
||||
}
|
||||
|
||||
public getTokenRequest1(JdpLogin.getTokenRequest1Body Body)
|
||||
{
|
||||
this.Body = Body;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://webservice.jdpowervalues.com/")]
|
||||
public partial class getTokenRequest1Body
|
||||
{
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
||||
public JdpLogin.GetTokenRequest tokenRequest;
|
||||
|
||||
public getTokenRequest1Body()
|
||||
{
|
||||
}
|
||||
|
||||
public getTokenRequest1Body(JdpLogin.GetTokenRequest tokenRequest)
|
||||
{
|
||||
this.tokenRequest = tokenRequest;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
||||
public partial class getTokenResponse
|
||||
{
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Name="getTokenResponse", Namespace="http://webservice.jdpowervalues.com/", Order=0)]
|
||||
public JdpLogin.getTokenResponseBody Body;
|
||||
|
||||
public getTokenResponse()
|
||||
{
|
||||
}
|
||||
|
||||
public getTokenResponse(JdpLogin.getTokenResponseBody Body)
|
||||
{
|
||||
this.Body = Body;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://webservice.jdpowervalues.com/")]
|
||||
public partial class getTokenResponseBody
|
||||
{
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
||||
public string getTokenResult;
|
||||
|
||||
public getTokenResponseBody()
|
||||
{
|
||||
}
|
||||
|
||||
public getTokenResponseBody(string getTokenResult)
|
||||
{
|
||||
this.getTokenResult = getTokenResult;
|
||||
}
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
|
||||
public interface SecureLoginSoapChannel : JdpLogin.SecureLoginSoap, System.ServiceModel.IClientChannel
|
||||
{
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
|
||||
public partial class SecureLoginSoapClient : System.ServiceModel.ClientBase<JdpLogin.SecureLoginSoap>, JdpLogin.SecureLoginSoap
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Implement this partial method to configure the service endpoint.
|
||||
/// </summary>
|
||||
/// <param name="serviceEndpoint">The endpoint to configure</param>
|
||||
/// <param name="clientCredentials">The client credentials</param>
|
||||
static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials);
|
||||
|
||||
public SecureLoginSoapClient(EndpointConfiguration endpointConfiguration) :
|
||||
base(SecureLoginSoapClient.GetBindingForEndpoint(endpointConfiguration), SecureLoginSoapClient.GetEndpointAddress(endpointConfiguration))
|
||||
{
|
||||
this.Endpoint.Name = endpointConfiguration.ToString();
|
||||
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
|
||||
}
|
||||
|
||||
public SecureLoginSoapClient(EndpointConfiguration endpointConfiguration, string remoteAddress) :
|
||||
base(SecureLoginSoapClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress))
|
||||
{
|
||||
this.Endpoint.Name = endpointConfiguration.ToString();
|
||||
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
|
||||
}
|
||||
|
||||
public SecureLoginSoapClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(SecureLoginSoapClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
|
||||
{
|
||||
this.Endpoint.Name = endpointConfiguration.ToString();
|
||||
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
|
||||
}
|
||||
|
||||
public SecureLoginSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(binding, remoteAddress)
|
||||
{
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
System.Threading.Tasks.Task<JdpLogin.getTokenResponse> JdpLogin.SecureLoginSoap.getTokenAsync(JdpLogin.getTokenRequest1 request)
|
||||
{
|
||||
return base.Channel.getTokenAsync(request);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task<JdpLogin.getTokenResponse> getTokenAsync(JdpLogin.GetTokenRequest tokenRequest)
|
||||
{
|
||||
JdpLogin.getTokenRequest1 inValue = new JdpLogin.getTokenRequest1();
|
||||
inValue.Body = new JdpLogin.getTokenRequest1Body();
|
||||
inValue.Body.tokenRequest = tokenRequest;
|
||||
return ((JdpLogin.SecureLoginSoap)(this)).getTokenAsync(inValue);
|
||||
}
|
||||
|
||||
public virtual System.Threading.Tasks.Task OpenAsync()
|
||||
{
|
||||
return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndOpen));
|
||||
}
|
||||
|
||||
public virtual System.Threading.Tasks.Task CloseAsync()
|
||||
{
|
||||
return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndClose));
|
||||
}
|
||||
|
||||
private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration)
|
||||
{
|
||||
if ((endpointConfiguration == EndpointConfiguration.SecureLoginSoap))
|
||||
{
|
||||
System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding();
|
||||
result.MaxBufferSize = int.MaxValue;
|
||||
result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max;
|
||||
result.MaxReceivedMessageSize = int.MaxValue;
|
||||
result.AllowCookies = true;
|
||||
result.Security.Mode = System.ServiceModel.BasicHttpSecurityMode.Transport;
|
||||
return result;
|
||||
}
|
||||
if ((endpointConfiguration == EndpointConfiguration.SecureLoginSoap12))
|
||||
{
|
||||
System.ServiceModel.Channels.CustomBinding result = new System.ServiceModel.Channels.CustomBinding();
|
||||
System.ServiceModel.Channels.TextMessageEncodingBindingElement textBindingElement = new System.ServiceModel.Channels.TextMessageEncodingBindingElement();
|
||||
textBindingElement.MessageVersion = System.ServiceModel.Channels.MessageVersion.CreateVersion(System.ServiceModel.EnvelopeVersion.Soap12, System.ServiceModel.Channels.AddressingVersion.None);
|
||||
result.Elements.Add(textBindingElement);
|
||||
System.ServiceModel.Channels.HttpsTransportBindingElement httpsBindingElement = new System.ServiceModel.Channels.HttpsTransportBindingElement();
|
||||
httpsBindingElement.AllowCookies = true;
|
||||
httpsBindingElement.MaxBufferSize = int.MaxValue;
|
||||
httpsBindingElement.MaxReceivedMessageSize = int.MaxValue;
|
||||
result.Elements.Add(httpsBindingElement);
|
||||
return result;
|
||||
}
|
||||
throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration));
|
||||
}
|
||||
|
||||
private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration)
|
||||
{
|
||||
if ((endpointConfiguration == EndpointConfiguration.SecureLoginSoap))
|
||||
{
|
||||
return new System.ServiceModel.EndpointAddress("https://webservice-stage.jdpowervalues.com/vehicles/secure/securelogin.asmx");
|
||||
}
|
||||
if ((endpointConfiguration == EndpointConfiguration.SecureLoginSoap12))
|
||||
{
|
||||
return new System.ServiceModel.EndpointAddress("https://webservice-stage.jdpowervalues.com/vehicles/secure/securelogin.asmx");
|
||||
}
|
||||
throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration));
|
||||
}
|
||||
|
||||
public enum EndpointConfiguration
|
||||
{
|
||||
|
||||
SecureLoginSoap,
|
||||
|
||||
SecureLoginSoap12,
|
||||
}
|
||||
}
|
||||
}
|
||||
+74
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://webservice.jdpowervalues.com/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://webservice.jdpowervalues.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">This is JDPA Web Service into its Login methods.</wsdl:documentation>
|
||||
<wsdl:types>
|
||||
<s:schema elementFormDefault="qualified" targetNamespace="http://webservice.jdpowervalues.com/">
|
||||
<s:element name="getToken">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="tokenRequest" type="tns:GetTokenRequest" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:complexType name="GetTokenRequest">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:element name="getTokenResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="getTokenResult" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="getTokenSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:getToken" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getTokenSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:getTokenResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="SecureLoginSoap">
|
||||
<wsdl:operation name="getToken">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Logs the user in and returns a valid token.</wsdl:documentation>
|
||||
<wsdl:input message="tns:getTokenSoapIn" />
|
||||
<wsdl:output message="tns:getTokenSoapOut" />
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="SecureLoginSoap" type="tns:SecureLoginSoap">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="getToken">
|
||||
<soap:operation soapAction="http://webservice.jdpowervalues.com/getToken" 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="SecureLoginSoap12" type="tns:SecureLoginSoap">
|
||||
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="getToken">
|
||||
<soap12:operation soapAction="http://webservice.jdpowervalues.com/getToken" 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="SecureLogin">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">This is JDPA Web Service into its Login methods.</wsdl:documentation>
|
||||
<wsdl:port name="SecureLoginSoap" binding="tns:SecureLoginSoap">
|
||||
<soap:address location="https://webservice-stage.jdpowervalues.com/vehicles/secure/securelogin.asmx" />
|
||||
</wsdl:port>
|
||||
<wsdl:port name="SecureLoginSoap12" binding="tns:SecureLoginSoap12">
|
||||
<soap12:address location="https://webservice-stage.jdpowervalues.com/vehicles/secure/securelogin.asmx" />
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"ExtendedData": {
|
||||
"inputs": [
|
||||
"http://webservice-stage.jdpowervalues.com/vehicles/vehicle.asmx?wsdl"
|
||||
],
|
||||
"collectionTypes": [
|
||||
"System.Array",
|
||||
"System.Collections.Generic.Dictionary`2"
|
||||
],
|
||||
"namespaceMappings": [
|
||||
"*, JdpVehicle"
|
||||
],
|
||||
"targetFramework": "netcoreapp2.2",
|
||||
"typeReuseMode": "All"
|
||||
}
|
||||
}
|
||||
+3503
File diff suppressed because it is too large
Load Diff
+1597
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user