You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//------------------------------------------------------------------------------// <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>//------------------------------------------------------------------------------[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil","2.0.2")][System.ServiceModel.ServiceContractAttribute(Namespace="http://ec.gob.sri.ws.recepcion",ConfigurationName="RecepcionComprobantesOffline")]publicinterfaceRecepcionComprobantesOffline{[System.ServiceModel.OperationContractAttribute(Action="",ReplyAction="*")][System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)][System.ServiceModel.ServiceKnownTypeAttribute(typeof(mensaje[]))][System.ServiceModel.ServiceKnownTypeAttribute(typeof(comprobante[]))]System.Threading.Tasks.Task<validarComprobanteResponse>validarComprobanteAsync(validarComprobanterequest);}/// <remarks/>[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil","2.0.2")][System.Diagnostics.DebuggerStepThroughAttribute()][System.Xml.Serialization.XmlTypeAttribute(Namespace="http://ec.gob.sri.ws.recepcion")]publicpartialclassrespuestaSolicitud{privatestringestadoField;privatecomprobante[]comprobantesField;/// <remarks/>[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified,Order=0)]publicstringestado{get{returnthis.estadoField;}set{this.estadoField=value;}}/// <remarks/>[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified,Order=1)][System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]publiccomprobante[]comprobantes{get{returnthis.comprobantesField;}set{this.comprobantesField=value;}}}/// <remarks/>[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil","2.0.2")][System.Diagnostics.DebuggerStepThroughAttribute()][System.Xml.Serialization.XmlTypeAttribute(Namespace="http://ec.gob.sri.ws.recepcion")]publicpartialclasscomprobante{privatestringclaveAccesoField;privatemensaje[]mensajesField;/// <remarks/>[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified,Order=0)]publicstringclaveAcceso{get{returnthis.claveAccesoField;}set{this.claveAccesoField=value;}}/// <remarks/>[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified,Order=1)][System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]publicmensaje[]mensajes{get{returnthis.mensajesField;}set{this.mensajesField=value;}}}/// <remarks/>[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil","2.0.2")][System.Diagnostics.DebuggerStepThroughAttribute()][System.Xml.Serialization.XmlTypeAttribute(Namespace="http://ec.gob.sri.ws.recepcion")]publicpartialclassmensaje{privatestringidentificadorField;privatestringmensaje1Field;privatestringinformacionAdicionalField;privatestringtipoField;/// <remarks/>[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified,Order=0)]publicstringidentificador{get{returnthis.identificadorField;}set{this.identificadorField=value;}}/// <remarks/>[System.Xml.Serialization.XmlElementAttribute("mensaje",Form=System.Xml.Schema.XmlSchemaForm.Unqualified,Order=1)]publicstringmensaje1{get{returnthis.mensaje1Field;}set{this.mensaje1Field=value;}}/// <remarks/>[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified,Order=2)]publicstringinformacionAdicional{get{returnthis.informacionAdicionalField;}set{this.informacionAdicionalField=value;}}/// <remarks/>[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified,Order=3)]publicstringtipo{get{returnthis.tipoField;}set{this.tipoField=value;}}}[System.Diagnostics.DebuggerStepThroughAttribute()][System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil","2.0.2")][System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)][System.ServiceModel.MessageContractAttribute(WrapperName="validarComprobante",WrapperNamespace="http://ec.gob.sri.ws.recepcion",IsWrapped=true)]publicpartialclassvalidarComprobante{[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://ec.gob.sri.ws.recepcion",Order=0)][System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified,DataType="base64Binary")]publicbyte[]xml;publicvalidarComprobante(){}publicvalidarComprobante(byte[]xml){this.xml=xml;}}[System.Diagnostics.DebuggerStepThroughAttribute()][System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil","2.0.2")][System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)][System.ServiceModel.MessageContractAttribute(WrapperName="validarComprobanteResponse",WrapperNamespace="http://ec.gob.sri.ws.recepcion",IsWrapped=true)]publicpartialclassvalidarComprobanteResponse{[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://ec.gob.sri.ws.recepcion",Order=0)][System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]publicrespuestaSolicitudRespuestaRecepcionComprobante;publicvalidarComprobanteResponse(){}publicvalidarComprobanteResponse(respuestaSolicitudRespuestaRecepcionComprobante){this.RespuestaRecepcionComprobante=RespuestaRecepcionComprobante;}}[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil","2.0.2")]publicinterfaceRecepcionComprobantesOfflineChannel:RecepcionComprobantesOffline,System.ServiceModel.IClientChannel{}[System.Diagnostics.DebuggerStepThroughAttribute()][System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil","2.0.2")]publicpartialclassRecepcionComprobantesOfflineClient:System.ServiceModel.ClientBase<RecepcionComprobantesOffline>,RecepcionComprobantesOffline{/// <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>staticpartialvoidConfigureEndpoint(System.ServiceModel.Description.ServiceEndpointserviceEndpoint,System.ServiceModel.Description.ClientCredentialsclientCredentials);publicRecepcionComprobantesOfflineClient():base(RecepcionComprobantesOfflineClient.GetDefaultBinding(),RecepcionComprobantesOfflineClient.GetDefaultEndpointAddress()){this.Endpoint.Name=EndpointConfiguration.RecepcionComprobantesOfflinePort.ToString();ConfigureEndpoint(this.Endpoint,this.ClientCredentials);}publicRecepcionComprobantesOfflineClient(EndpointConfigurationendpointConfiguration):base(RecepcionComprobantesOfflineClient.GetBindingForEndpoint(endpointConfiguration),RecepcionComprobantesOfflineClient.GetEndpointAddress(endpointConfiguration)){this.Endpoint.Name=endpointConfiguration.ToString();ConfigureEndpoint(this.Endpoint,this.ClientCredentials);}publicRecepcionComprobantesOfflineClient(EndpointConfigurationendpointConfiguration,stringremoteAddress):base(RecepcionComprobantesOfflineClient.GetBindingForEndpoint(endpointConfiguration),newSystem.ServiceModel.EndpointAddress(remoteAddress)){this.Endpoint.Name=endpointConfiguration.ToString();ConfigureEndpoint(this.Endpoint,this.ClientCredentials);}publicRecepcionComprobantesOfflineClient(EndpointConfigurationendpointConfiguration,System.ServiceModel.EndpointAddressremoteAddress):base(RecepcionComprobantesOfflineClient.GetBindingForEndpoint(endpointConfiguration),remoteAddress){this.Endpoint.Name=endpointConfiguration.ToString();ConfigureEndpoint(this.Endpoint,this.ClientCredentials);}publicRecepcionComprobantesOfflineClient(System.ServiceModel.Channels.Bindingbinding,System.ServiceModel.EndpointAddressremoteAddress):base(binding,remoteAddress){}[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]System.Threading.Tasks.Task<validarComprobanteResponse>RecepcionComprobantesOffline.validarComprobanteAsync(validarComprobanterequest){returnbase.Channel.validarComprobanteAsync(request);}publicSystem.Threading.Tasks.Task<validarComprobanteResponse>validarComprobanteAsync(byte[]xml){validarComprobanteinValue=newvalidarComprobante();inValue.xml=xml;return((RecepcionComprobantesOffline)(this)).validarComprobanteAsync(inValue);}publicvirtualSystem.Threading.Tasks.TaskOpenAsync(){returnSystem.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null,null),newSystem.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndOpen));}publicvirtualSystem.Threading.Tasks.TaskCloseAsync(){returnSystem.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null,null),newSystem.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndClose));}privatestaticSystem.ServiceModel.Channels.BindingGetBindingForEndpoint(EndpointConfigurationendpointConfiguration){if((endpointConfiguration==EndpointConfiguration.RecepcionComprobantesOfflinePort)){System.ServiceModel.BasicHttpBindingresult=newSystem.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;returnresult;}thrownewSystem.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.",endpointConfiguration));}privatestaticSystem.ServiceModel.EndpointAddressGetEndpointAddress(EndpointConfigurationendpointConfiguration){if((endpointConfiguration==EndpointConfiguration.RecepcionComprobantesOfflinePort)){returnnewSystem.ServiceModel.EndpointAddress("https://celcer.sri.gob.ec/comprobantes-electronicos-ws/RecepcionComprobantesOffli"+"ne");}thrownewSystem.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.",endpointConfiguration));}privatestaticSystem.ServiceModel.Channels.BindingGetDefaultBinding(){returnRecepcionComprobantesOfflineClient.GetBindingForEndpoint(EndpointConfiguration.RecepcionComprobantesOfflinePort);}privatestaticSystem.ServiceModel.EndpointAddressGetDefaultEndpointAddress(){returnRecepcionComprobantesOfflineClient.GetEndpointAddress(EndpointConfiguration.RecepcionComprobantesOfflinePort);}publicenumEndpointConfiguration{RecepcionComprobantesOfflinePort,}}
Returns this exception:
Exception: Object reference not set to an instance of an object. Stack Trace: at System.Object.GetType()
at [email protected](SyntaxNode node)
at cs2fs.FSharpOutput.getExpr@218[a](FSharpFunc2 errorPrinter, Expr1 e)
at cs2fs.FSharpOutput.getExprNP@319[a](FSharpFunc2 errorPrinter, Expr1 e)
at [email protected](Expr1 e) at Microsoft.FSharp.Collections.Internal.IEnumerator.map@74.DoMoveNext(b& curr) at Microsoft.FSharp.Collections.Internal.IEnumerator.MapEnumerator1.System-Collections-IEnumerator-MoveNext()
at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable1 source) at cs2fs.FSharpOutput.delimLineText(String sep, IEnumerable1 xs)
at cs2fs.FSharpOutput.getExpr@218[a](FSharpFunc2 errorPrinter, Expr1 e)
at cs2fs.FSharpOutput.getMember@175[a](FSharpFunc2 errorPrinter, String className, Expr1 x)
at Microsoft.FSharp.Collections.Internal.IEnumerator.map@74.DoMoveNext(b& curr)
at Microsoft.FSharp.Collections.Internal.IEnumerator.MapEnumerator1.System-Collections-IEnumerator-MoveNext() at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable1 source)
at cs2fs.FSharpOutput.lineblock(IEnumerable1 xs) at cs2fs.FSharpOutput.getExpr@218[a](FSharpFunc2 errorPrinter, Expr1 e) at cs2fs.FSharpOutput.getExpr@218[a](FSharpFunc2 errorPrinter, Expr1 e) at cs2fs.FSharpOutput.getExprNP@319[a](FSharpFunc2 errorPrinter, Expr1 e) at [email protected](Expr1 e)
at Microsoft.FSharp.Collections.Internal.IEnumerator.map@74.DoMoveNext(b& curr)
at Microsoft.FSharp.Collections.Internal.IEnumerator.MapEnumerator1.System-Collections-IEnumerator-MoveNext() at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable1 source)
at cs2fs.FSharpOutput.delimLineText(String sep, IEnumerable1 xs) at cs2fs.FSharpOutput.getExpr@218[a](FSharpFunc2 errorPrinter, Expr1 e) at cs2fs.FSharpOutput.getExprNP@319[a](FSharpFunc2 errorPrinter, Expr1 e) at [email protected](Expr1 e)
at Microsoft.FSharp.Collections.Internal.IEnumerator.map@74.DoMoveNext(b& curr)
at Microsoft.FSharp.Collections.Internal.IEnumerator.MapEnumerator1.System-Collections-IEnumerator-MoveNext() at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable1 source)
at cs2fs.FSharpOutput.delimLineText(String sep, IEnumerable1 xs) at cs2fs.FSharpOutput.getExpr@218[a](FSharpFunc2 errorPrinter, Expr1 e) at cs2fs.FSharpOutput.getExpr@218[a](FSharpFunc2 errorPrinter, Expr1 e) at cs2fs.Convert.convertText(String csharp) at Server.Result.attempt[a](FSharpFunc2 f) in /build/src/Server/Server.fs:line 24
The text was updated successfully, but these errors were encountered:
Returns this exception:
The text was updated successfully, but these errors were encountered: