shakun
1 year ago
33 changed files with 1190 additions and 194 deletions
-
110Business/Addressy/LocateBusiness.cs
-
41Business/Addressy/ServiceApi.cs
-
32Business/Business.csproj
-
10Business/Connected Services/api.addressy/Business.api.addressy.Capture_Interactive_Find_v1_10Response.datasource
-
10Business/Connected Services/api.addressy/Business.api.addressy.Capture_Interactive_Find_v1_10_ArrayOfResults.datasource
-
288Business/Connected Services/api.addressy/Reference.cs
-
31Business/Connected Services/api.addressy/Reference.svcmap
-
10Business/Connected Services/api.addressy/configuration.svcinfo
-
201Business/Connected Services/api.addressy/configuration91.svcinfo
-
74Business/Connected Services/api.addressy/wsdlnew.wsdl
-
2Business/Mobile/IMobileServices.cs
-
233Business/Mobile/MobileServices.cs
-
13Business/app.config
-
6Checklist.txt
-
2Common/Common.csproj
-
23Common/Helper/Utilities.cs
-
25Common/Model/Addressy/Address.cs
-
23Common/Model/Addressy/QueryAddressDto.cs
-
4Common/Model/CustomerRegister/CustomerKYCModel.cs
-
22Common/Model/CustomerRegister/NewUserRegisterModel.cs
-
2Common/Model/KycStaticData.cs
-
22Common/Model/RewardFee.cs
-
10Common/Model/StaticData.cs
-
4Common/app.config
-
1JsonRx/Api/MobileController.cs
-
23JsonRx/ApiV3/CustomerV2Controller.cs
-
40JsonRx/Config/KycConfig.json
-
27JsonRx/Config/Payment.json
-
4JsonRx/Config/ResponseMsg.json
-
3JsonRx/JsonRx.csproj
-
51JsonRx/Web.config
-
2Repository/Mobile/IMobileServicesRepo.cs
-
35Repository/Mobile/MobileServicesRepo.cs
@ -0,0 +1,110 @@ |
|||||
|
using Business.api.addressy; |
||||
|
using Common; |
||||
|
using Common.Model; |
||||
|
using Common.Model.Addressy; |
||||
|
using log4net; |
||||
|
using Repository; |
||||
|
using Repository.Mobile; |
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Data; |
||||
|
using System.Linq; |
||||
|
using System.Text; |
||||
|
using System.Threading.Tasks; |
||||
|
|
||||
|
namespace Business.Addressy |
||||
|
{ |
||||
|
|
||||
|
public class LocateBusiness |
||||
|
{ |
||||
|
private static readonly ILog Log = LogManager.GetLogger(typeof(LocateBusiness)); |
||||
|
|
||||
|
ServiceApi serviceApi { get; set; } |
||||
|
public LocateBusiness() |
||||
|
{ |
||||
|
serviceApi = new ServiceApi(); |
||||
|
|
||||
|
|
||||
|
} |
||||
|
|
||||
|
public JsonRxResponse QueryAddress(string postCode) |
||||
|
|
||||
|
{ |
||||
|
JsonRxResponse rxResponse = new JsonRxResponse() { ErrorCode = "1", Msg = "No Data found" }; |
||||
|
var results = serviceApi.Find_v1_10(postCode); |
||||
|
|
||||
|
Log.Debug(Newtonsoft.Json.JsonConvert.SerializeObject(results)); |
||||
|
|
||||
|
if (results != null && results.Any()) |
||||
|
{ |
||||
|
var single = results.FirstOrDefault(); |
||||
|
if (single != null && single.Type.Equals("Postcode")) |
||||
|
{ |
||||
|
rxResponse.ErrorCode = "0"; |
||||
|
rxResponse.Msg = "Post code found"; |
||||
|
|
||||
|
var result2 = serviceApi.Find_v1_10(postCode, single.Id); |
||||
|
|
||||
|
QueryResponse queryResponsse = new QueryResponse(); |
||||
|
|
||||
|
queryResponsse.Addresses = new List<Address>(); |
||||
|
foreach (Capture_Interactive_Find_v1_10_Results item in result2) |
||||
|
{ |
||||
|
queryResponsse.Addresses.Add(new Address() |
||||
|
{ |
||||
|
Id = item.Id, |
||||
|
Type = item.Type, |
||||
|
Address1 = item.Text, |
||||
|
City = item.Description.Substring(0, item.Description.LastIndexOf(",")) |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
rxResponse.Data = queryResponsse; |
||||
|
} |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
rxResponse.Msg = "No result!"; |
||||
|
} |
||||
|
|
||||
|
return rxResponse; |
||||
|
} |
||||
|
|
||||
|
|
||||
|
public QueryResponse LoadKycStaticData() |
||||
|
{ |
||||
|
QueryResponse queryResponse = new QueryResponse(); |
||||
|
var sql = "EXEC proc_mobile_StaticData @flag='Query-Address'"; |
||||
|
|
||||
|
Dao _dao = new Dao(); |
||||
|
var ds = _dao.ExecuteDataset(sql); |
||||
|
|
||||
|
if (ds.Tables.Count == 2) |
||||
|
{ |
||||
|
var nativeCountry = ds.Tables[0]; |
||||
|
var ncr = from nc in nativeCountry.AsEnumerable() |
||||
|
select new NativeCountry |
||||
|
{ |
||||
|
id = nc.Field<int>("id").ToString(), |
||||
|
text = nc.Field<string>("text"), |
||||
|
code = nc.Field<string>("Code") |
||||
|
}; |
||||
|
queryResponse.NativeCountry = ncr.ToList(); |
||||
|
|
||||
|
var gender = ds.Tables[1]; |
||||
|
var g = from gd in gender.AsEnumerable() |
||||
|
select new Gender |
||||
|
{ |
||||
|
id = gd.Field<int>("id").ToString(), |
||||
|
text = gd.Field<string>("text"), |
||||
|
|
||||
|
}; |
||||
|
queryResponse.Gender = g.ToList(); |
||||
|
|
||||
|
} |
||||
|
|
||||
|
return queryResponse; |
||||
|
} |
||||
|
} |
||||
|
} |
@ -0,0 +1,41 @@ |
|||||
|
using Business.api.addressy; |
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Configuration; |
||||
|
using System.Linq; |
||||
|
using System.Text; |
||||
|
using System.Threading.Tasks; |
||||
|
|
||||
|
namespace Business.Addressy |
||||
|
{ |
||||
|
|
||||
|
|
||||
|
|
||||
|
public class ServiceApi |
||||
|
{ |
||||
|
|
||||
|
public string _key { get; set; } |
||||
|
api.addressy.PostcodeAnywhere_SoapClient _SoapClient { get; set; } |
||||
|
public ServiceApi() |
||||
|
{ |
||||
|
_key = ConfigurationManager.AppSettings["loqatekey"].ToString(); |
||||
|
_SoapClient = new api.addressy.PostcodeAnywhere_SoapClient(); |
||||
|
} |
||||
|
|
||||
|
public Capture_Interactive_Find_v1_10_ArrayOfResults Find_v1_10(string search) |
||||
|
{ |
||||
|
|
||||
|
return _SoapClient.Capture_Interactive_Find_v1_10(_key, search, true, null, null, "GB", 20, "en-gb", false, "", ""); |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public Capture_Interactive_Find_v1_10_ArrayOfResults Find_v1_10(string search, string container) |
||||
|
{ |
||||
|
|
||||
|
return _SoapClient.Capture_Interactive_Find_v1_10(_key, search, true, container, "", "GB", 20, "en-gb", false, "", ""); |
||||
|
|
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
||||
|
} |
@ -0,0 +1,10 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<!-- |
||||
|
This file is automatically generated by Visual Studio .Net. It is |
||||
|
used to store generic object data source configuration information. |
||||
|
Renaming the file extension or editing the content of this file may |
||||
|
cause the file to be unrecognizable by the program. |
||||
|
--> |
||||
|
<GenericObjectDataSource DisplayName="Capture_Interactive_Find_v1_10Response" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
||||
|
<TypeInfo>Business.api.addressy.Capture_Interactive_Find_v1_10Response, Connected Services.api.addressy.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
||||
|
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<!-- |
||||
|
This file is automatically generated by Visual Studio .Net. It is |
||||
|
used to store generic object data source configuration information. |
||||
|
Renaming the file extension or editing the content of this file may |
||||
|
cause the file to be unrecognizable by the program. |
||||
|
--> |
||||
|
<GenericObjectDataSource DisplayName="Capture_Interactive_Find_v1_10_ArrayOfResults" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
||||
|
<TypeInfo>Business.api.addressy.Capture_Interactive_Find_v1_10_ArrayOfResults, Connected Services.api.addressy.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
||||
|
</GenericObjectDataSource> |
@ -0,0 +1,288 @@ |
|||||
|
//------------------------------------------------------------------------------
|
||||
|
// <auto-generated>
|
||||
|
// This code was generated by a tool.
|
||||
|
// Runtime Version:4.0.30319.42000
|
||||
|
//
|
||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
|
// the code is regenerated.
|
||||
|
// </auto-generated>
|
||||
|
//------------------------------------------------------------------------------
|
||||
|
|
||||
|
namespace Business.api.addressy { |
||||
|
using System.Runtime.Serialization; |
||||
|
using System; |
||||
|
|
||||
|
|
||||
|
[System.Diagnostics.DebuggerStepThroughAttribute()] |
||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] |
||||
|
[System.Runtime.Serialization.CollectionDataContractAttribute(Name="Capture_Interactive_Find_v1_10_ArrayOfResults", Namespace="http://services.postcodeanywhere.co.uk/", ItemName="Capture_Interactive_Find_v1_10_Results")] |
||||
|
[System.SerializableAttribute()] |
||||
|
public class Capture_Interactive_Find_v1_10_ArrayOfResults : System.Collections.Generic.List<Business.api.addressy.Capture_Interactive_Find_v1_10_Results> { |
||||
|
} |
||||
|
|
||||
|
[System.Diagnostics.DebuggerStepThroughAttribute()] |
||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] |
||||
|
[System.Runtime.Serialization.DataContractAttribute(Name="Capture_Interactive_Find_v1_10_Results", Namespace="http://services.postcodeanywhere.co.uk/")] |
||||
|
[System.SerializableAttribute()] |
||||
|
public partial class Capture_Interactive_Find_v1_10_Results : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { |
||||
|
|
||||
|
[System.NonSerializedAttribute()] |
||||
|
private System.Runtime.Serialization.ExtensionDataObject extensionDataField; |
||||
|
|
||||
|
[System.Runtime.Serialization.OptionalFieldAttribute()] |
||||
|
private string IdField; |
||||
|
|
||||
|
[System.Runtime.Serialization.OptionalFieldAttribute()] |
||||
|
private string TypeField; |
||||
|
|
||||
|
[System.Runtime.Serialization.OptionalFieldAttribute()] |
||||
|
private string TextField; |
||||
|
|
||||
|
[System.Runtime.Serialization.OptionalFieldAttribute()] |
||||
|
private string HighlightField; |
||||
|
|
||||
|
[System.Runtime.Serialization.OptionalFieldAttribute()] |
||||
|
private string DescriptionField; |
||||
|
|
||||
|
[global::System.ComponentModel.BrowsableAttribute(false)] |
||||
|
public System.Runtime.Serialization.ExtensionDataObject ExtensionData { |
||||
|
get { |
||||
|
return this.extensionDataField; |
||||
|
} |
||||
|
set { |
||||
|
this.extensionDataField = value; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)] |
||||
|
public string Id { |
||||
|
get { |
||||
|
return this.IdField; |
||||
|
} |
||||
|
set { |
||||
|
if ((object.ReferenceEquals(this.IdField, value) != true)) { |
||||
|
this.IdField = value; |
||||
|
this.RaisePropertyChanged("Id"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)] |
||||
|
public string Type { |
||||
|
get { |
||||
|
return this.TypeField; |
||||
|
} |
||||
|
set { |
||||
|
if ((object.ReferenceEquals(this.TypeField, value) != true)) { |
||||
|
this.TypeField = value; |
||||
|
this.RaisePropertyChanged("Type"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] |
||||
|
public string Text { |
||||
|
get { |
||||
|
return this.TextField; |
||||
|
} |
||||
|
set { |
||||
|
if ((object.ReferenceEquals(this.TextField, value) != true)) { |
||||
|
this.TextField = value; |
||||
|
this.RaisePropertyChanged("Text"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] |
||||
|
public string Highlight { |
||||
|
get { |
||||
|
return this.HighlightField; |
||||
|
} |
||||
|
set { |
||||
|
if ((object.ReferenceEquals(this.HighlightField, value) != true)) { |
||||
|
this.HighlightField = value; |
||||
|
this.RaisePropertyChanged("Highlight"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] |
||||
|
public string Description { |
||||
|
get { |
||||
|
return this.DescriptionField; |
||||
|
} |
||||
|
set { |
||||
|
if ((object.ReferenceEquals(this.DescriptionField, value) != true)) { |
||||
|
this.DescriptionField = value; |
||||
|
this.RaisePropertyChanged("Description"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; |
||||
|
|
||||
|
protected void RaisePropertyChanged(string propertyName) { |
||||
|
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; |
||||
|
if ((propertyChanged != null)) { |
||||
|
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
||||
|
[System.ServiceModel.ServiceContractAttribute(Namespace="http://services.postcodeanywhere.co.uk/", ConfigurationName="api.addressy.PostcodeAnywhere_Soap")] |
||||
|
public interface PostcodeAnywhere_Soap { |
||||
|
|
||||
|
// CODEGEN: Generating message contract since the wrapper name (Capture_Interactive_Find_v1_10_Response) of message Capture_Interactive_Find_v1_10Response does not match the default value (Capture_Interactive_Find_v1_10)
|
||||
|
[System.ServiceModel.OperationContractAttribute(Action="http://services.postcodeanywhere.co.uk/Capture_Interactive_Find_v1_10", ReplyAction="*")] |
||||
|
Business.api.addressy.Capture_Interactive_Find_v1_10Response Capture_Interactive_Find_v1_10(Business.api.addressy.Capture_Interactive_Find_v1_10Request request); |
||||
|
|
||||
|
[System.ServiceModel.OperationContractAttribute(Action="http://services.postcodeanywhere.co.uk/Capture_Interactive_Find_v1_10", ReplyAction="*")] |
||||
|
System.Threading.Tasks.Task<Business.api.addressy.Capture_Interactive_Find_v1_10Response> Capture_Interactive_Find_v1_10Async(Business.api.addressy.Capture_Interactive_Find_v1_10Request request); |
||||
|
} |
||||
|
|
||||
|
[System.Diagnostics.DebuggerStepThroughAttribute()] |
||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
||||
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] |
||||
|
[System.ServiceModel.MessageContractAttribute(WrapperName="Capture_Interactive_Find_v1_10", WrapperNamespace="http://services.postcodeanywhere.co.uk/", IsWrapped=true)] |
||||
|
public partial class Capture_Interactive_Find_v1_10Request { |
||||
|
|
||||
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=0)] |
||||
|
public string Key; |
||||
|
|
||||
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=1)] |
||||
|
public string Text; |
||||
|
|
||||
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=2)] |
||||
|
public bool IsMiddleware; |
||||
|
|
||||
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=3)] |
||||
|
public string Container; |
||||
|
|
||||
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=4)] |
||||
|
public string Origin; |
||||
|
|
||||
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=5)] |
||||
|
public string Countries; |
||||
|
|
||||
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=6)] |
||||
|
public int Limit; |
||||
|
|
||||
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=7)] |
||||
|
public string Language; |
||||
|
|
||||
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=8)] |
||||
|
public bool Bias; |
||||
|
|
||||
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=9)] |
||||
|
public string Filters; |
||||
|
|
||||
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=10)] |
||||
|
public string GeoFence; |
||||
|
|
||||
|
public Capture_Interactive_Find_v1_10Request() { |
||||
|
} |
||||
|
|
||||
|
public Capture_Interactive_Find_v1_10Request(string Key, string Text, bool IsMiddleware, string Container, string Origin, string Countries, int Limit, string Language, bool Bias, string Filters, string GeoFence) { |
||||
|
this.Key = Key; |
||||
|
this.Text = Text; |
||||
|
this.IsMiddleware = IsMiddleware; |
||||
|
this.Container = Container; |
||||
|
this.Origin = Origin; |
||||
|
this.Countries = Countries; |
||||
|
this.Limit = Limit; |
||||
|
this.Language = Language; |
||||
|
this.Bias = Bias; |
||||
|
this.Filters = Filters; |
||||
|
this.GeoFence = GeoFence; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[System.Diagnostics.DebuggerStepThroughAttribute()] |
||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
||||
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] |
||||
|
[System.ServiceModel.MessageContractAttribute(WrapperName="Capture_Interactive_Find_v1_10_Response", WrapperNamespace="http://services.postcodeanywhere.co.uk/", IsWrapped=true)] |
||||
|
public partial class Capture_Interactive_Find_v1_10Response { |
||||
|
|
||||
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=0)] |
||||
|
public Business.api.addressy.Capture_Interactive_Find_v1_10_ArrayOfResults Capture_Interactive_Find_v1_10_Result; |
||||
|
|
||||
|
public Capture_Interactive_Find_v1_10Response() { |
||||
|
} |
||||
|
|
||||
|
public Capture_Interactive_Find_v1_10Response(Business.api.addressy.Capture_Interactive_Find_v1_10_ArrayOfResults Capture_Interactive_Find_v1_10_Result) { |
||||
|
this.Capture_Interactive_Find_v1_10_Result = Capture_Interactive_Find_v1_10_Result; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
||||
|
public interface PostcodeAnywhere_SoapChannel : Business.api.addressy.PostcodeAnywhere_Soap, System.ServiceModel.IClientChannel { |
||||
|
} |
||||
|
|
||||
|
[System.Diagnostics.DebuggerStepThroughAttribute()] |
||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
||||
|
public partial class PostcodeAnywhere_SoapClient : System.ServiceModel.ClientBase<Business.api.addressy.PostcodeAnywhere_Soap>, Business.api.addressy.PostcodeAnywhere_Soap { |
||||
|
|
||||
|
public PostcodeAnywhere_SoapClient() { |
||||
|
} |
||||
|
|
||||
|
public PostcodeAnywhere_SoapClient(string endpointConfigurationName) : |
||||
|
base(endpointConfigurationName) { |
||||
|
} |
||||
|
|
||||
|
public PostcodeAnywhere_SoapClient(string endpointConfigurationName, string remoteAddress) : |
||||
|
base(endpointConfigurationName, remoteAddress) { |
||||
|
} |
||||
|
|
||||
|
public PostcodeAnywhere_SoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : |
||||
|
base(endpointConfigurationName, remoteAddress) { |
||||
|
} |
||||
|
|
||||
|
public PostcodeAnywhere_SoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : |
||||
|
base(binding, remoteAddress) { |
||||
|
} |
||||
|
|
||||
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] |
||||
|
Business.api.addressy.Capture_Interactive_Find_v1_10Response Business.api.addressy.PostcodeAnywhere_Soap.Capture_Interactive_Find_v1_10(Business.api.addressy.Capture_Interactive_Find_v1_10Request request) { |
||||
|
return base.Channel.Capture_Interactive_Find_v1_10(request); |
||||
|
} |
||||
|
|
||||
|
public Business.api.addressy.Capture_Interactive_Find_v1_10_ArrayOfResults Capture_Interactive_Find_v1_10(string Key, string Text, bool IsMiddleware, string Container, string Origin, string Countries, int Limit, string Language, bool Bias, string Filters, string GeoFence) { |
||||
|
Business.api.addressy.Capture_Interactive_Find_v1_10Request inValue = new Business.api.addressy.Capture_Interactive_Find_v1_10Request(); |
||||
|
inValue.Key = Key; |
||||
|
inValue.Text = Text; |
||||
|
inValue.IsMiddleware = IsMiddleware; |
||||
|
inValue.Container = Container; |
||||
|
inValue.Origin = Origin; |
||||
|
inValue.Countries = Countries; |
||||
|
inValue.Limit = Limit; |
||||
|
inValue.Language = Language; |
||||
|
inValue.Bias = Bias; |
||||
|
inValue.Filters = Filters; |
||||
|
inValue.GeoFence = GeoFence; |
||||
|
Business.api.addressy.Capture_Interactive_Find_v1_10Response retVal = ((Business.api.addressy.PostcodeAnywhere_Soap)(this)).Capture_Interactive_Find_v1_10(inValue); |
||||
|
return retVal.Capture_Interactive_Find_v1_10_Result; |
||||
|
} |
||||
|
|
||||
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] |
||||
|
System.Threading.Tasks.Task<Business.api.addressy.Capture_Interactive_Find_v1_10Response> Business.api.addressy.PostcodeAnywhere_Soap.Capture_Interactive_Find_v1_10Async(Business.api.addressy.Capture_Interactive_Find_v1_10Request request) { |
||||
|
return base.Channel.Capture_Interactive_Find_v1_10Async(request); |
||||
|
} |
||||
|
|
||||
|
public System.Threading.Tasks.Task<Business.api.addressy.Capture_Interactive_Find_v1_10Response> Capture_Interactive_Find_v1_10Async(string Key, string Text, bool IsMiddleware, string Container, string Origin, string Countries, int Limit, string Language, bool Bias, string Filters, string GeoFence) { |
||||
|
Business.api.addressy.Capture_Interactive_Find_v1_10Request inValue = new Business.api.addressy.Capture_Interactive_Find_v1_10Request(); |
||||
|
inValue.Key = Key; |
||||
|
inValue.Text = Text; |
||||
|
inValue.IsMiddleware = IsMiddleware; |
||||
|
inValue.Container = Container; |
||||
|
inValue.Origin = Origin; |
||||
|
inValue.Countries = Countries; |
||||
|
inValue.Limit = Limit; |
||||
|
inValue.Language = Language; |
||||
|
inValue.Bias = Bias; |
||||
|
inValue.Filters = Filters; |
||||
|
inValue.GeoFence = GeoFence; |
||||
|
return ((Business.api.addressy.PostcodeAnywhere_Soap)(this)).Capture_Interactive_Find_v1_10Async(inValue); |
||||
|
} |
||||
|
} |
||||
|
} |
@ -0,0 +1,31 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="781e5d4b-7ceb-46d7-9f81-191604c9114d" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> |
||||
|
<ClientOptions> |
||||
|
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods> |
||||
|
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod> |
||||
|
<EnableDataBinding>true</EnableDataBinding> |
||||
|
<ExcludedTypes /> |
||||
|
<ImportXmlTypes>false</ImportXmlTypes> |
||||
|
<GenerateInternalTypes>false</GenerateInternalTypes> |
||||
|
<GenerateMessageContracts>false</GenerateMessageContracts> |
||||
|
<NamespaceMappings /> |
||||
|
<CollectionMappings /> |
||||
|
<GenerateSerializableTypes>true</GenerateSerializableTypes> |
||||
|
<Serializer>Auto</Serializer> |
||||
|
<UseSerializerForFaults>true</UseSerializerForFaults> |
||||
|
<ReferenceAllAssemblies>true</ReferenceAllAssemblies> |
||||
|
<ReferencedAssemblies /> |
||||
|
<ReferencedDataContractTypes /> |
||||
|
<ServiceContractMappings /> |
||||
|
</ClientOptions> |
||||
|
<MetadataSources> |
||||
|
<MetadataSource Address="https://api.addressy.com/Capture/Interactive/Find/v1.1/wsdlnew.ws" Protocol="http" SourceId="1" /> |
||||
|
</MetadataSources> |
||||
|
<Metadata> |
||||
|
<MetadataFile FileName="wsdlnew.wsdl" MetadataType="Wsdl" ID="23633b6a-8052-4941-8292-f4a6b30fc610" SourceId="1" SourceUrl="https://api.addressy.com/Capture/Interactive/Find/v1.1/wsdlnew.ws" /> |
||||
|
</Metadata> |
||||
|
<Extensions> |
||||
|
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> |
||||
|
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> |
||||
|
</Extensions> |
||||
|
</ReferenceGroup> |
@ -0,0 +1,10 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> |
||||
|
<behaviors /> |
||||
|
<bindings> |
||||
|
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="PostcodeAnywhere_Soap" />" bindingType="basicHttpBinding" name="PostcodeAnywhere_Soap" /> |
||||
|
</bindings> |
||||
|
<endpoints> |
||||
|
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.postcodeanywhere.co.uk/Capture/Interactive/Find/v1.10/soapnew.ws" binding="basicHttpBinding" bindingConfiguration="PostcodeAnywhere_Soap" contract="api.addressy.PostcodeAnywhere_Soap" name="PostcodeAnywhere_Soap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.postcodeanywhere.co.uk/Capture/Interactive/Find/v1.10/soapnew.ws" binding="basicHttpBinding" bindingConfiguration="PostcodeAnywhere_Soap" contract="api.addressy.PostcodeAnywhere_Soap" name="PostcodeAnywhere_Soap" />" contractName="api.addressy.PostcodeAnywhere_Soap" name="PostcodeAnywhere_Soap" /> |
||||
|
</endpoints> |
||||
|
</configurationSnapshot> |
@ -0,0 +1,201 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="4grVPisl3+BLIh7zSnXXcVUTDSB+T2IWIMnb3YeAoNs="> |
||||
|
<bindingConfigurations> |
||||
|
<bindingConfiguration bindingType="basicHttpBinding" name="PostcodeAnywhere_Soap"> |
||||
|
<properties> |
||||
|
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>PostcodeAnywhere_Soap</serializedValue> |
||||
|
</property> |
||||
|
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>StrongWildcard</serializedValue> |
||||
|
</property> |
||||
|
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>65536</serializedValue> |
||||
|
</property> |
||||
|
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> |
||||
|
</property> |
||||
|
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>0</serializedValue> |
||||
|
</property> |
||||
|
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>0</serializedValue> |
||||
|
</property> |
||||
|
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>0</serializedValue> |
||||
|
</property> |
||||
|
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>0</serializedValue> |
||||
|
</property> |
||||
|
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>0</serializedValue> |
||||
|
</property> |
||||
|
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>System.Text.UTF8Encoding</serializedValue> |
||||
|
</property> |
||||
|
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>Buffered</serializedValue> |
||||
|
</property> |
||||
|
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>Text</serializedValue> |
||||
|
</property> |
||||
|
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> |
||||
|
</property> |
||||
|
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>None</serializedValue> |
||||
|
</property> |
||||
|
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> |
||||
|
</property> |
||||
|
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>None</serializedValue> |
||||
|
</property> |
||||
|
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>None</serializedValue> |
||||
|
</property> |
||||
|
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> |
||||
|
</property> |
||||
|
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>Never</serializedValue> |
||||
|
</property> |
||||
|
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>TransportSelected</serializedValue> |
||||
|
</property> |
||||
|
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>(Collection)</serializedValue> |
||||
|
</property> |
||||
|
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> |
||||
|
</property> |
||||
|
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>UserName</serializedValue> |
||||
|
</property> |
||||
|
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>Default</serializedValue> |
||||
|
</property> |
||||
|
</properties> |
||||
|
</bindingConfiguration> |
||||
|
</bindingConfigurations> |
||||
|
<endpoints> |
||||
|
<endpoint name="PostcodeAnywhere_Soap" contract="api.addressy.PostcodeAnywhere_Soap" bindingType="basicHttpBinding" address="http://services.postcodeanywhere.co.uk/Capture/Interactive/Find/v1.10/soapnew.ws" bindingConfiguration="PostcodeAnywhere_Soap"> |
||||
|
<properties> |
||||
|
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>http://services.postcodeanywhere.co.uk/Capture/Interactive/Find/v1.10/soapnew.ws</serializedValue> |
||||
|
</property> |
||||
|
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>basicHttpBinding</serializedValue> |
||||
|
</property> |
||||
|
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>PostcodeAnywhere_Soap</serializedValue> |
||||
|
</property> |
||||
|
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>api.addressy.PostcodeAnywhere_Soap</serializedValue> |
||||
|
</property> |
||||
|
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> |
||||
|
</property> |
||||
|
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue><Header /></serializedValue> |
||||
|
</property> |
||||
|
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> |
||||
|
</property> |
||||
|
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> |
||||
|
</property> |
||||
|
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> |
||||
|
</property> |
||||
|
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> |
||||
|
</property> |
||||
|
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> |
||||
|
</property> |
||||
|
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> |
||||
|
</property> |
||||
|
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> |
||||
|
</property> |
||||
|
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>My</serializedValue> |
||||
|
</property> |
||||
|
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>LocalMachine</serializedValue> |
||||
|
</property> |
||||
|
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>FindBySubjectDistinguishedName</serializedValue> |
||||
|
</property> |
||||
|
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>False</serializedValue> |
||||
|
</property> |
||||
|
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue>PostcodeAnywhere_Soap</serializedValue> |
||||
|
</property> |
||||
|
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<serializedValue /> |
||||
|
</property> |
||||
|
</properties> |
||||
|
</endpoint> |
||||
|
</endpoints> |
||||
|
</SavedWcfConfigurationInformation> |
@ -0,0 +1,74 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<wsdl:definitions xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.postcodeanywhere.co.uk/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://services.postcodeanywhere.co.uk/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> |
||||
|
<wsdl:types> |
||||
|
<s:schema elementFormDefault="qualified" targetNamespace="http://services.postcodeanywhere.co.uk/"> |
||||
|
<s:element name="Capture_Interactive_Find_v1_10"> |
||||
|
<s:complexType> |
||||
|
<s:sequence> |
||||
|
<s:element minOccurs="0" maxOccurs="1" name="Key" type="s:string" /> |
||||
|
<s:element minOccurs="0" maxOccurs="1" name="Text" type="s:string" /> |
||||
|
<s:element minOccurs="1" maxOccurs="1" name="IsMiddleware" type="s:boolean" /> |
||||
|
<s:element minOccurs="0" maxOccurs="1" name="Container" type="s:string" /> |
||||
|
<s:element minOccurs="0" maxOccurs="1" name="Origin" type="s:string" /> |
||||
|
<s:element minOccurs="0" maxOccurs="1" name="Countries" type="s:string" /> |
||||
|
<s:element minOccurs="1" maxOccurs="1" name="Limit" type="s:int" /> |
||||
|
<s:element minOccurs="0" maxOccurs="1" name="Language" type="s:string" /> |
||||
|
<s:element minOccurs="1" maxOccurs="1" name="Bias" type="s:boolean" /> |
||||
|
<s:element minOccurs="0" maxOccurs="1" name="Filters" type="s:string" /> |
||||
|
<s:element minOccurs="0" maxOccurs="1" name="GeoFence" type="s:string" /> |
||||
|
</s:sequence> |
||||
|
</s:complexType> |
||||
|
</s:element> |
||||
|
<s:element name="Capture_Interactive_Find_v1_10_Response"> |
||||
|
<s:complexType> |
||||
|
<s:sequence> |
||||
|
<s:element minOccurs="0" maxOccurs="1" name="Capture_Interactive_Find_v1_10_Result" type="tns:Capture_Interactive_Find_v1_10_ArrayOfResults" /> |
||||
|
</s:sequence> |
||||
|
</s:complexType> |
||||
|
</s:element> |
||||
|
<s:complexType name="Capture_Interactive_Find_v1_10_ArrayOfResults"> |
||||
|
<s:sequence> |
||||
|
<s:element minOccurs="0" maxOccurs="unbounded" name="Capture_Interactive_Find_v1_10_Results" type="tns:Capture_Interactive_Find_v1_10_Results" /> |
||||
|
</s:sequence> |
||||
|
</s:complexType> |
||||
|
<s:complexType name="Capture_Interactive_Find_v1_10_Results"> |
||||
|
<s:sequence> |
||||
|
<s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> |
||||
|
<s:element minOccurs="0" maxOccurs="1" name="Type" type="s:string" /> |
||||
|
<s:element minOccurs="0" maxOccurs="1" name="Text" type="s:string" /> |
||||
|
<s:element minOccurs="0" maxOccurs="1" name="Highlight" type="s:string" /> |
||||
|
<s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> |
||||
|
</s:sequence> |
||||
|
</s:complexType> |
||||
|
</s:schema> |
||||
|
</wsdl:types> |
||||
|
<wsdl:message name="Capture_Interactive_Find_v1_10_SoapIn"> |
||||
|
<wsdl:part name="parameters" element="tns:Capture_Interactive_Find_v1_10" /> |
||||
|
</wsdl:message> |
||||
|
<wsdl:message name="Capture_Interactive_Find_v1_10_SoapOut"> |
||||
|
<wsdl:part name="parameters" element="tns:Capture_Interactive_Find_v1_10_Response" /> |
||||
|
</wsdl:message> |
||||
|
<wsdl:portType name="PostcodeAnywhere_Soap"> |
||||
|
<wsdl:operation name="Capture_Interactive_Find_v1_10"> |
||||
|
<wsdl:input message="tns:Capture_Interactive_Find_v1_10_SoapIn" /> |
||||
|
<wsdl:output message="tns:Capture_Interactive_Find_v1_10_SoapOut" /> |
||||
|
</wsdl:operation> |
||||
|
</wsdl:portType> |
||||
|
<wsdl:binding name="PostcodeAnywhere_Soap" type="tns:PostcodeAnywhere_Soap"> |
||||
|
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> |
||||
|
<wsdl:operation name="Capture_Interactive_Find_v1_10"> |
||||
|
<soap:operation soapAction="http://services.postcodeanywhere.co.uk/Capture_Interactive_Find_v1_10" style="document" /> |
||||
|
<wsdl:input> |
||||
|
<soap:body use="literal" /> |
||||
|
</wsdl:input> |
||||
|
<wsdl:output> |
||||
|
<soap:body use="literal" /> |
||||
|
</wsdl:output> |
||||
|
</wsdl:operation> |
||||
|
</wsdl:binding> |
||||
|
<wsdl:service name="PostcodeAnywhere"> |
||||
|
<wsdl:port name="PostcodeAnywhere_Soap" binding="tns:PostcodeAnywhere_Soap"> |
||||
|
<soap:address location="http://services.postcodeanywhere.co.uk/Capture/Interactive/Find/v1.10/soapnew.ws" /> |
||||
|
</wsdl:port> |
||||
|
</wsdl:service> |
||||
|
</wsdl:definitions> |
@ -0,0 +1,6 @@ |
|||||
|
EXEC mobile_proc_GetCalculation @flag='get-exRateDetails' |
||||
|
check sagentid |
||||
|
|
||||
|
change |
||||
|
<add key="ServiceType_Resource" > |
||||
|
|
@ -0,0 +1,25 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Linq; |
||||
|
using System.Text; |
||||
|
using System.Threading.Tasks; |
||||
|
using System.Xml.Serialization; |
||||
|
|
||||
|
namespace Common.Model.Addressy |
||||
|
{ |
||||
|
|
||||
|
public class Address |
||||
|
{ |
||||
|
|
||||
|
public string Id { get; set; } |
||||
|
|
||||
|
public string Type { get; set; } |
||||
|
|
||||
|
|
||||
|
|
||||
|
public object Address1 { get; set; } |
||||
|
|
||||
|
|
||||
|
public string City { get; set; } |
||||
|
} |
||||
|
} |
@ -0,0 +1,23 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Linq; |
||||
|
using System.Text; |
||||
|
using System.Threading.Tasks; |
||||
|
|
||||
|
namespace Common.Model.Addressy |
||||
|
{ |
||||
|
public class QueryAddressDto |
||||
|
{ |
||||
|
public string UserId { get; set; } |
||||
|
public string PostalCode { get; set; } |
||||
|
} |
||||
|
|
||||
|
public class QueryResponse |
||||
|
{ |
||||
|
public List<Address> Addresses { get; set; } |
||||
|
public List<NativeCountry> NativeCountry { get; set; } |
||||
|
public List<Gender> Gender { get; set; } |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
@ -1,3 +1,7 @@ |
|||||
<?xml version="1.0" encoding="utf-8" ?> |
<?xml version="1.0" encoding="utf-8" ?> |
||||
<configuration> |
<configuration> |
||||
|
<system.serviceModel> |
||||
|
<bindings /> |
||||
|
<client /> |
||||
|
</system.serviceModel> |
||||
</configuration> |
</configuration> |
@ -0,0 +1,27 @@ |
|||||
|
[ |
||||
|
|
||||
|
{ |
||||
|
"Code": "ONLINE", |
||||
|
"Name": "Online Banking(Best Rate)", |
||||
|
"Description": "If the customer selects Fill Now than he will be redirected to KYC Process.", |
||||
|
"Value": "0", |
||||
|
"Icon": "online.Png" |
||||
|
|
||||
|
}, |
||||
|
{ |
||||
|
"Code": "EBANKING", |
||||
|
"Name": "E-Banking/ (Good rate)", |
||||
|
"Description": "If the customer selects Fill Now than he will be redirected to KYC Process.", |
||||
|
"Value": "0", |
||||
|
"Icon": "ebanking.Png" |
||||
|
}, |
||||
|
{ |
||||
|
"Code": "DEBIT_CARD", |
||||
|
"Name": "DEBIT CARD", |
||||
|
"Description": "If the customer selects Fill Now than he will be redirected to KYC Process.", |
||||
|
"Value": "0.15", |
||||
|
"Icon": "debit.Png" |
||||
|
} |
||||
|
] |
||||
|
|
||||
|
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue