Search found 132 matches: xmlhttp

Return to advanced search

Re: HTML code in a TPanel class

... always had problems in the various operating systems that the famous CreateObject( "MSXML2.DOMDocument" ) and CreateObject( "MSXML2.XMLHTTP" ) protocols did not work. give me erros as Error description: (DOS Error -2147352567) WINOLE/1007 Download della risorsa specificata non ...
by Silvio.Falconi
Mon Jan 22, 2024 8:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HTML code in a TPanel class
Replies: 9
Views: 1348

Re: Soap Web Service - timeout request

Darrell intenta con 'MSXML2.ServerXMLHTTP' que tiene el metodo setTimeouts(lResolve, lConnect, lSend, lReceive) 'MSXML2.XMLHTTP' es distinto de 'MSXML2.ServerXMLHTTP' Yo lo uso asi oHttp := CreateObject( 'MSXML2.ServerXMLHTTP' )oHttp:setTimeouts( ...
by RSalazarU
Thu Jan 11, 2024 6:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Soap Web Service - timeout request
Replies: 4
Views: 694

Soap Web Service - timeout request

... request for a web service request? I added to IF oHttp:status=200 to check status but sometimes request hangs. TRY oHttp := CreateObject( 'MSXML2.XMLHTTP' ) CATCH oHttp := CreateObject( 'Microsoft.XMLHTTP' ) END cHttpSend := [<?xml version="1.0"?>] cHttpSend += [<soapenv:Envelope ...
by cdmmaui
Mon Jan 08, 2024 9:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Soap Web Service - timeout request
Replies: 4
Views: 694

Subuir un fichero a un servidor

... cFile := "X:\PDFS\FICHERO.PDF" xDoc := CreateObject( "MSXML2.DOMDocument" ) ohttp := CreateObject( "MSXML2.XMLHTTP" ) ohttp:Open( "POST" , cUrl, .f.) oHttp:SetRequestHeader("Content-Type" , "multipart/form-data" ) oHttp:SetRequestHeader("file", ...
by miarcod
Sun Nov 26, 2023 11:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Subuir un fichero a un servidor
Replies: 18
Views: 2265

XML, CON ARCHIVO ADJUNTO PDF

... marca donde empieza el PDF y Finaliza,, estas son %PDF-1.4 dfhaskfhhuiahakjabv,cxzngiajfmknvjsfjgsdlnl %%EOF TRY oHttp := CreateObject( 'MSXML2.XMLHTTP.6.0' ) CATCH oHttp := CreateObject( 'Microsoft.XMLHTTP' ) END doc = CreateObject("MSXML2.DOMDocument.6.0") oHttp:Open( "POST" ...
by elmoiquique
Thu Sep 28, 2023 10:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XML, CON ARCHIVO ADJUNTO PDF
Replies: 35
Views: 2257

Re: Usando webservice de un tercero

Con MSXML2.XMLHTTP podrías tranquilamente Te dejo un ejemplo por si te sirve STATIC oOleFUNCTION VerXml(cdesde)LOCAL oError, aRecordLOCAL aResp, cToken , lHuboErroes := .f., aErrores := {}LOCAL cJson,cContentType:="application/json",cAuthorization:=""Try  ...
by cmsoft
Tue Jun 06, 2023 11:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Usando webservice de un tercero
Replies: 4
Views: 411

Usando webservice de un tercero

... me he conectado por SOAP sin problemas y leo algunos datos desde otra webservice, pero esta vez quede en duda si usar CreateObject( "MSXML2.XMLHTTP" ) o CURL Si alguien tiene un ejemplo o lineamiento para seguir se lo agradeceria Saludos
by Adolfo
Tue Jun 06, 2023 10:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Usando webservice de un tercero
Replies: 4
Views: 411

Re: Webservice connecting to https

Thank you Marc. Is there a sample for HTTPS connection to retrieve the JSON data or can I use code below? TRY oHttp := CreateObject( 'MSXML2.XMLHTTP' ) CATCH oHttp := CreateObject( 'Microsoft.XMLHTTP' ) END TRY oHttp:Open( "GET", cUrl, .F.) oHttp:SetRequestHeader( "KeyId", ...
by cdmmaui
Tue Dec 06, 2022 1:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Webservice connecting to https
Replies: 2
Views: 374

Re: Capturar el motivo del error petición web (curl)

Buenas noches para todos Error: 1001 SubC: 1001 OSCode: 1001 SubSystem: MSXML2.XMLHTTP Envio de CURL: DISP_E_MEMBERNOTFOUND hemos logrado detectar que el error mencionado con anterioridad, solo sale cuando direccionamos al servidor nuevo, en el anterior funciona ...
by leandro
Wed Nov 02, 2022 2:06 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Capturar el motivo del error petición web (curl)
Replies: 16
Views: 1194

Re: Where do I start the Web Service?

... Windows version: 6.2, Build 9200 Time from start: 0 hours 0 mins 0 secs Error occurred at: 07/20/22, 20:09:25 Error description: Error MSXML2.XMLHTTP/3 DISP_E_MEMBERNOTFOUND: SEND Args: [ 1] = C Stack Calls =========== Called from: => TOLEAUTO:SEND( 0 ) Called from: testws.prg => MAIN( ...
by dutch
Wed Jul 20, 2022 1:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Where do I start the Web Service?
Replies: 6
Views: 458

Where do I start the Web Service?

... Windows version: 6.2, Build 9200 Time from start: 0 hours 0 mins 0 secs Error occurred at: 07/20/22, 16:42:18 Error description: Error MSXML2.XMLHTTP/3 DISP_E_MEMBERNOTFOUND: SEND Args: [ 1] = C #include "fivewin.ch"REQUEST DBFCDXfunction Main()   local odoc  := CreateObject( ...
by dutch
Wed Jul 20, 2022 9:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Where do I start the Web Service?
Replies: 6
Views: 458

Re: Win 10 and getUrl

Silvio,
in one of my programs I see that I use now:

// static cHttpClass := "Microsoft.XmlHttp"
// static cHttpClass := "MSXML2.ServerXMLHTTP.6.0"
static cHttpClass := "WinHTTP.WinHTTPRequest.5.1"


Best regard,
Otto
by Otto
Mon Jun 13, 2022 8:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Win 10 and getUrl
Replies: 4
Views: 546

Re: WIN_OLECREATEOBJECT() DUDAS

... espacio de nombres que utiliza en su biblioteca/librerías en las nuevas versiones. Sin entrar en detalles: las nuevas versiones son: "MSXML2.XMLHTTP.6.0", por lo que se supone que es la recomendada a utilizar, pero si estás utilizando ordenadores con SO más antiguos, la que utilizas ...
by cnavarro
Sat May 07, 2022 3:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: WIN_OLECREATEOBJECT() DUDAS
Replies: 3
Views: 341

WIN_OLECREATEOBJECT() DUDAS

... de facturación que usa Factura Electronica a AFIP Para establecer la comunicación con el WebService antes usabamos WIN_OLECREATEOBJECT('MSXML2.XMLHTTP') y lo cambiamos a WIN_OLECREATEOBJECT('Microsoft.XMLHTTP'),porque parece que este es mas rápido...esto es correcto ? Esta función anda en cualquier ...
by rterraz
Sat May 07, 2022 2:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: WIN_OLECREATEOBJECT() DUDAS
Replies: 3
Views: 341
Next

Return to advanced search

cron