RE: [internet-l] WebService de Banxico

Quedó solucionado, personal de Artech me envió lo siguiente

 

Work Around

Setearle la baseUrl manualmente:

&location = getlocation('DgieWS')
&location.BaseUrl = 'DgieWSWeb'


&char = &dgiews.inflacionBanxico()

 

 

 

Saludos

 

 

 

 

-----Mensaje original-----
De: Cristian [mailto:cverau@gmail.com]
Enviado el: Lunes, 04 de Octubre de 2010 02:00 p.m.
Para: internet-l@gxtech.com.uy
Asunto: Re: [internet-l] WebService de Banxico

 

Maria Angelica,

 

Debes importar la siguiente URL http://www.banxico.org.mx/DgieWSWeb/DgieWS?WSDL ya que incluye el web service descriptor.

 

Saludos

El 4 de octubre de 2010 16:49, Ing. María Angélica Cervantes Pacheco <acervantes@coliman.com> escribió:

Buenas tardes:

Alguno de los foristas ha implementado con éxito el webservice de Banco de México, Banxico?

http://www.banxico.org.mx/DgieWSWeb/DgieWS

 He intentado, si lo puedo importar y codificar, sin embargo, no funciona en tiempo de ejecución, genera el siguiente error (cualquier comentario o sugerencia en el tema es bienvenido):

 

Server Error in '/ws' Application.


The remote server returned an error: (404) Not Found.(-10001)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: The remote server returned an error: (404) Not Found.(-10001)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

 
[Exception: The remote server returned an error: (404) Not Found.(-10001)]
   GeneXus.Programs.SdtDgieWS.tiposdecambiobanxico() +1670
   GeneXus.Programs.banxico.E12052() +39
   GeneXus.Programs.banxico.EVT052() +610
   GeneXus.Programs.banxico.DispatchEvents() +5
   GeneXus.Programs.appmasterpage.EVT012() +1166
   GeneXus.Programs.appmasterpage.webExecute() +131
   GeneXus.Programs.banxico.webExecute() +251
   GeneXus.Http.GXHttpHandler.ProcessRequest(HttpContext httpContext) +423
 
[Exception: GXApplication exception]
   GeneXus.Http.GXHttpHandler.ProcessRequest(HttpContext httpContext) +512
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

 


Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3614

 

 

 

0 Response to "RE: [internet-l] WebService de Banxico"

Publicar un comentario