Search found 37 matches: cxml

Return to advanced search

Web Services Security WSS OASIS

... </SOAP-ENV:Body> </SOAP-ENV:Envelope> And follow the example prg trying to reach the same pattern. static procedure DOMElotech() local cXML, oDOMDocument, oXmldsig, oStore, oCertificados local nI, oCert, cSerialCert, oStoreMem cXML := '<?xml version="1.0" encoding="utf-8"?>' ...
by Francisco Valério
Mon Feb 20, 2023 7:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Web Services Security WSS OASIS
Replies: 0
Views: 216

Re: Soap Web Service

... LOCAL cAction := "https://orbisws01.orbisfarma.com.mx/setTransactionInit" First, create a XML var .. cXML := '<?xml version="1.0" encoding="UTF-8" standalone="no"?><SOAP-ENV:Envelope '+; 'xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" ...
by ramirezosvaldo2
Thu Jan 27, 2022 8:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Soap Web Service
Replies: 7
Views: 905

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

... 1 ) // + 1Hs Local cService := 'wsfe' // The WS service name you are asking a TA for ( "wdepmovimientos", "wsfe" ) Local cXML := '' // Variable donde Armo el XML Local cCMS := '' // Variable donde esta el XML y su Firma Electronica Local cTRA := '' // Ticket de requerimiento ...
by dhf27
Tue Sep 28, 2021 12:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS
Replies: 43
Views: 4974

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

... 1 ) // + 1Hs Local cService := 'wsfe' // The WS service name you are asking a TA for ( "wdepmovimientos", "wsfe" ) Local cXML := '' // Variable donde Armo el XML Local cCMS := '' // Variable donde esta el XML y su Firma Electronica Local cTRA := '' // Ticket de requerimiento ...
by rterraz
Thu Sep 23, 2021 1:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS
Replies: 43
Views: 4974

Re: AYUDA PARA LEER XML DE FACTURA ELECTRONICA ( SOLUCIONADO )

... para cargar registro de ventas desde lo xlm Extraigo la informacion con la funcion Extrae() cFileXml := op:temp+"xml\"+aDir[a][1] cXml:=MEMOREAD( cFileXml ) && lee xml tmp->( DbAppend()) tmp->voucher := a tmp->orden := "1" tmp->fecha := Extrae("cbc:IssueDate",,.F.,cXml) ...
by CARLOS ATUNCAR
Thu Apr 01, 2021 3:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA PARA LEER XML DE FACTURA ELECTRONICA ( SOLUCIONADO )
Replies: 6
Views: 1378

Re: TIPCLIENTHTTP problem ( new )

Excuse me, I don't understand your goal well If your goal is to obtain data from a website, what do you send in cXml? ( with Post method ) and imagine that you are using SSL as it is a site that ends in "S" (httpS:) Hbtip library itself does not support https. You need ...
by cnavarro
Wed Oct 30, 2019 8:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TIPCLIENTHTTP problem ( new )
Replies: 7
Views: 1299

TIPCLIENTHTTP problem ( new )

... from: httpcli.prg => TIPCLIENTHTTP:NEW( 96 ) Opening the object is followed by creating an XML document, and then: oHttp:open() oHttp:Post( cXml) cRet := oHttp:readAll( ) oHttp:close() Looking this up on the Forum yielded a post showing that the harbour library has been "problematic" ...
by TimStone
Wed Oct 30, 2019 7:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TIPCLIENTHTTP problem ( new )
Replies: 7
Views: 1299

New Class TXMLtoHash

... //----------------------------------------------------------------------------// CLASS TXmlToHash DATA oRoot DATA hHash INIT { => } DATA cXml INIT "" DATA cXmlString INIT "" DATA cValString INIT "" DATA aPairsVals INIT {} DATA lRepeat INIT .F. DATA lDataNode ...
by cnavarro
Wed Aug 07, 2019 2:23 am
 
Forum: Utilities / Utilidades
Topic: New Class TXMLtoHash
Replies: 5
Views: 1937

Re: SACAR ESPACIOS Y SALTOS DE LINEA

#include "FiveWin.ch"

...

cXML = StrTran( cXML, CRLF, "" )
cXML = StrTran( cXML, " ", "" )
by Antonio Linares
Wed Aug 30, 2017 8:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: SACAR ESPACIOS Y SALTOS DE LINEA * SOLUCIONADO
Replies: 2
Views: 610

Re: Creating an XML file

... ) I also use from windows: iDLL := LoadLibrary( "wininet.dll" ) Then I create the XML I am going to send them. It's a string called cXML ... contains the format they want. Next, I submit it: IF .NOT. oHttp:open() MsgAlert( "Connection error:", oHttp:lastErrorMessage( ) ...
by TimStone
Thu Jul 27, 2017 2:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating an XML file
Replies: 9
Views: 1933

Re: Creating an XML file

Try this:

MEMOWRIT('c:\response.xml' , cXML , .F.)
by EduardoSP6
Thu Jul 27, 2017 12:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating an XML file
Replies: 9
Views: 1933

Re: Creating an XML file

nFileHandle := FCreate( "MyDoc.xml", 0 )
// cXml would be your response from the server
FWrite( nFileHandle, cXml )
FClose( nFileHandle )

This should work ....
by TimStone
Wed Jul 26, 2017 8:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating an XML file
Replies: 9
Views: 1933

Re: Ayuda acerca de variable con un XML

... Quisiera agradecer a todos los que me ayudaron y dieron sugerencias. GRACIAS !!!! Luego de agregar los CRLF faltantes del xml mediante Strtran( cxml, '><', ( '>'+CRLF+'<' ) ) todo anduvo sobre ruedas. interesante función hb_memowrit :) . El tema ha quedado resuelto no sin vuestra ...
by jose_murugosa
Fri Mar 03, 2017 9:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda acerca de variable con un XML
Replies: 8
Views: 2019

Re: Envio de SMS

... en Venezuela METHOD Enviarsms(cOrden,cTlf) CLASS TServicio LOCAL cMensa:="" LOCAL cHost,lRet:=.F. LOCAL oHttp,cFuncion,oError,cTextohtml,cXml,xDato,nReg:=0,nI:=0 if empty(cTlf) msgstop("No hay celular para enviar mensaje","verifique la ficha") Return Self Endif cMensa:="Informa%20=%20Se%20ha%20cargado%20la%20orden%20de%20servicio%20"+Alltrim(Oemtoansi(cOrden))+"%20"+; ...
by mag071
Fri Jan 27, 2017 3:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Envio de SMS **SOLUCIONADO**
Replies: 9
Views: 4032

Re: Tip Client = Harbour / MSVC 2015 Error

... FUNCTION Main local dummy := SSL_Init() Local oHttp:=TIpClientHttp():new("https://www.testsource.com/1", .F. ) Local cXml := '<request>'+hB_osnewline()+; ' <newdata>' + "" + ; ' </request>'+hB_osnewline() Local cRet LOCAL oXmlDoc := TXmlDocument():new( ...
by Antonio Linares
Mon Apr 25, 2016 8:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tip Client = Harbour / MSVC 2015 Error
Replies: 39
Views: 8721
Next

Return to advanced search

cron