Error al consultar cancelaciones pendientes
This commit is contained in:
@@ -18,8 +18,8 @@ Partial Class Inicio
|
|||||||
Dim retorno As Boolean = False
|
Dim retorno As Boolean = False
|
||||||
Try
|
Try
|
||||||
|
|
||||||
Dim objServicio As Cancelacion.CancelacionSoapClient = New Cancelacion.CancelacionSoapClient()
|
Dim objServicio As New Cancelacion2022.CancelacionSoapClient()
|
||||||
Dim resp As Cancelacion.StructCancel = objServicio.ObtienePendientes(RFC, "UserTest", "1234567890")
|
Dim resp As Cancelacion2022.StructCancel = objServicio.ObtienePendientes(RFC, "UserTest", "1234567890")
|
||||||
If resp.Estado = 0 Then
|
If resp.Estado = 0 Then
|
||||||
Dim XmlPendientes As String = System.Text.Encoding.UTF8.GetString(Convert.FromBase64String(resp.Xml))
|
Dim XmlPendientes As String = System.Text.Encoding.UTF8.GetString(Convert.FromBase64String(resp.Xml))
|
||||||
Dim theReader As IO.StringReader = New IO.StringReader(XmlPendientes)
|
Dim theReader As IO.StringReader = New IO.StringReader(XmlPendientes)
|
||||||
@@ -1256,11 +1256,11 @@ Partial Class Inicio
|
|||||||
' Dim filePath As String = $"{Server.MapPath("~")}\Documentacion\140\{DirectCast(sender, LinkButton).Attributes("NombreArchivo")}"
|
' Dim filePath As String = $"{Server.MapPath("~")}\Documentacion\140\{DirectCast(sender, LinkButton).Attributes("NombreArchivo")}"
|
||||||
|
|
||||||
|
|
||||||
' Dim Archivo As New System.IO.FileInfo(filePath)
|
' Dim Archivo As New System.IO.FileInfo(filePath)
|
||||||
|
|
||||||
|
|
||||||
' Dim mimeType As String = Nothing
|
' Dim mimeType As String = Nothing
|
||||||
|
|
||||||
' If Archivo.Exists Then
|
' If Archivo.Exists Then
|
||||||
|
|
||||||
' HttpContext.Current.Response.Buffer = True
|
' HttpContext.Current.Response.Buffer = True
|
||||||
|
|||||||
Reference in New Issue
Block a user