This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1] 2
1
The Rest - Ask For Help / correct link/dll mode
« on: March 17, 2017, 06:00:21 PM »
Hi,
For a multi-dll application, what are the correct values for link / dll mode?
Both in the datadll app. and the rest of the apps.
thank you
Ramiro M B
For a multi-dll application, what are the correct values for link / dll mode?
Both in the datadll app. and the rest of the apps.
thank you
Ramiro M B
2
Web Server - Ask For Help / Supress the div header and footer from a NetwebSource
« on: June 20, 2016, 12:57:40 PM »
Hello to every body.
excuseme but I would like to know if it is possible to supress the div header and footer from a netWebSource procedure. I've tried creating a new source (clarion) procedure and passing the p_web object as parameter and adding all the necesary things for the NetWebSource to work. and it does compile, but it does not run could I delete the divs from the netwebsource procedure or what can I do?. can anyone help me?
My Code:
!!! <summary>
!!! Generated from procedure template - Source
!!! </summary>
Login2 PROCEDURE (NetWebServerWorker p_web) ! Declare Procedure
! Start of "Data Section"
! [Priority 1300]
loc:divname string(252)
loc:parent string(252) ! should always be a lower-case string
loc:user STRING(30) !usuario
loc:passwd STRING(30) !
! End of "Data Section"
! Start of "Local Data After Object Declarations"
! [Priority 4000]
packet StringTheory
timer long
loc:options StringTheory ! options for jQuery calls
! End of "Local Data After Object Declarations"
CODE
! Start of "Processed Code"
! [Priority 4000]
GlobalErrors.SetProcedureName('Login')
loc:user = p_web.GetValue('loc_user')
MESSAGE('Yes')
IF CLIP(loc:user) <> '' AND clip(loc:passwd) <> ''
packet.Append('i = 0;')
ELSE
packet.Append('i = 0;')
END
do SendPacket
GlobalErrors.SetProcedureName()
Return
! End of "Processed Code"
! Start of "Procedure Routines"
! [Priority 3500]
SendPacket routine
p_web.ParseHTML(packet,1,0,NET:NoHeader)
packet.SetValue('')
MESSAGE('yes')
! [Priority 8500]
! End of "Procedure Routines"
! Start of "Local Procedures"
! [Priority 5000]
! End of "Local Procedures"
excuseme but I would like to know if it is possible to supress the div header and footer from a netWebSource procedure. I've tried creating a new source (clarion) procedure and passing the p_web object as parameter and adding all the necesary things for the NetWebSource to work. and it does compile, but it does not run could I delete the divs from the netwebsource procedure or what can I do?. can anyone help me?
My Code:
!!! <summary>
!!! Generated from procedure template - Source
!!! </summary>
Login2 PROCEDURE (NetWebServerWorker p_web) ! Declare Procedure
! Start of "Data Section"
! [Priority 1300]
loc:divname string(252)
loc:parent string(252) ! should always be a lower-case string
loc:user STRING(30) !usuario
loc:passwd STRING(30) !
! End of "Data Section"
! Start of "Local Data After Object Declarations"
! [Priority 4000]
packet StringTheory
timer long
loc:options StringTheory ! options for jQuery calls
! End of "Local Data After Object Declarations"
CODE
! Start of "Processed Code"
! [Priority 4000]
GlobalErrors.SetProcedureName('Login')
loc:user = p_web.GetValue('loc_user')
MESSAGE('Yes')
IF CLIP(loc:user) <> '' AND clip(loc:passwd) <> ''
packet.Append('i = 0;')
ELSE
packet.Append('i = 0;')
END
do SendPacket
GlobalErrors.SetProcedureName()
Return
! End of "Processed Code"
! Start of "Procedure Routines"
! [Priority 3500]
SendPacket routine
p_web.ParseHTML(packet,1,0,NET:NoHeader)
packet.SetValue('')
MESSAGE('yes')
! [Priority 8500]
! End of "Procedure Routines"
! Start of "Local Procedures"
! [Priority 5000]
! End of "Local Procedures"
3
The Rest - Ask For Help / Error returned in ErrorTrap
« on: July 22, 2015, 02:36:56 PM »
Hi Bruce,
an app. with netsimple(server) using wholepacket produces the error:
"Could not allocate memory for BigPacketQueue"
The app. It is new, HOWEVER been working for a month without problems receiving and sending packages, many packages, just over 250,000
To solve the problem, where I can start?
thank you
Ramiro
an app. with netsimple(server) using wholepacket produces the error:
"Could not allocate memory for BigPacketQueue"
The app. It is new, HOWEVER been working for a month without problems receiving and sending packages, many packages, just over 250,000
To solve the problem, where I can start?
thank you
Ramiro
4
Web Server - Ask For Help / TLS_RSA_WITH_AES_256_CBC_SHA cipher
« on: April 28, 2015, 09:09:11 AM »
Is it possible to include this cipher on N8 for a web service with SSL?
TLS_RSA_WITH_AES_256_CBC_SHA cipher
Thank you
Ramiro
TLS_RSA_WITH_AES_256_CBC_SHA cipher
Thank you
Ramiro
5
The Rest - Ask For Help / web client N8.45 Exception error
« on: April 28, 2015, 08:54:17 AM »
a Web client app. working well, now with N8 fails, the error appears in the picture attached, the error is generated in the POST to a web service using SSL.
Something we need in our app. to compile including nettalk8
[attachment deleted by admin]
Something we need in our app. to compile including nettalk8
[attachment deleted by admin]
6
Web Server - Ask For Help / Does anyone developed interface with iHotelier?
« on: April 23, 2015, 07:38:59 AM »
web service and SSL problem,
SOAPUI testing work correctly, and IE, Chrome, Firefox too
SSL connection drops, ihotelier reports timeout
Thank you
Ramiro
Clarion8
NetTalk8
SOAPUI testing work correctly, and IE, Chrome, Firefox too
SSL connection drops, ihotelier reports timeout
Thank you
Ramiro
Clarion8
NetTalk8
7
Web Server - Ask For Help / SSL issue
« on: April 20, 2015, 05:31:03 PM »
Client when trying to connect to my web service with SSL received this:
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
Is there any ide what kind of problem is this?
Without SSL no problem
Thank You
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
Is there any ide what kind of problem is this?
Without SSL no problem
Thank You
8
Web Server - Ask For Help / web service with soap+xml
« on: January 13, 2015, 11:59:57 AM »
I am developing a web service with NetTalk 6.08 and Clarion8
apparently if the Content-Type of request is "application/Soap + xml"
not return the XML string and it is not posible process the response.
Is this a bug in this version? if so,
Do I need to upgrade to version 8 NetTalk?
Thank you in advance
apparently if the Content-Type of request is "application/Soap + xml"
not return the XML string and it is not posible process the response.
Is this a bug in this version? if so,
Do I need to upgrade to version 8 NetTalk?
Thank you in advance
9
Web Server - Ask For Help / web service, I can not get the xml string
« on: November 26, 2014, 11:55:08 AM »
Hi,
I am creating a web service with C8 and NetTalk 6.08.
No use Xfiles, the problem is I can not get the XML string to parse and generate a response, in the log of the web server the POST full featured, no problem, the source code I have is:
...
p_web.SetValue('_parentPage','reservaciones')
p_web.publicpage = 1
if p_web.sessionId = 0 then p_web.NewSession().
! Start of "Before Header"
! [Priority 5000]
! End of "Before Header"
do Header
! [Priority 1200]
xmlrequest = p_web.GetValue('xml')
xmlLenght = len(clip(xmlrequest))
packet = ''
do ProcesaRequest
! envĂa resultado
XmlRespLen = len(clip(XmlResp))
p_web.ParseHTML(XmlResp,1,XmlRespLen,Net:NoHeader)
to check the contents of the variable XMLRequest find it empty
Thanks
best regards
Ramiro M B
I am creating a web service with C8 and NetTalk 6.08.
No use Xfiles, the problem is I can not get the XML string to parse and generate a response, in the log of the web server the POST full featured, no problem, the source code I have is:
...
p_web.SetValue('_parentPage','reservaciones')
p_web.publicpage = 1
if p_web.sessionId = 0 then p_web.NewSession().
! Start of "Before Header"
! [Priority 5000]
! End of "Before Header"
do Header
! [Priority 1200]
xmlrequest = p_web.GetValue('xml')
xmlLenght = len(clip(xmlrequest))
packet = ''
do ProcesaRequest
! envĂa resultado
XmlRespLen = len(clip(XmlResp))
p_web.ParseHTML(XmlResp,1,XmlRespLen,Net:NoHeader)
to check the contents of the variable XMLRequest find it empty
Thanks
best regards
Ramiro M B
10
The Rest - Ask For Help / Net Simple server and qserverconnections
« on: September 16, 2014, 12:24:26 PM »
Possible cause for which the entries in the queue (qserverconnections) are not deleted when the server closes the connection or when the client closes.
we are working with SSL and wholepacket.
Thank you all.
we are working with SSL and wholepacket.
Thank you all.
11
FTP - Ask For Help / NetSimple server BufferUsed corrupt...
« on: March 19, 2014, 10:46:44 AM »
Netsimple Server with Wholepack and SSL.
Upon receiving a packet from a client about 170,000 bytes in errortrap have this error:
Error - BufferUsed corrupt in BigQueue or you are trying to clear too much data
however, the packet is received correctly, but this error could generate other errors later?
thanks in advance.
Upon receiving a packet from a client about 170,000 bytes in errortrap have this error:
Error - BufferUsed corrupt in BigQueue or you are trying to clear too much data
however, the packet is received correctly, but this error could generate other errors later?
thanks in advance.
12
The Rest - Ask For Help / Netsimple and SSL
« on: March 04, 2014, 05:35:24 PM »
NetSimple and SSL.
To use Netsimple with SSL is it mandatory to use certificate and key on client-side?
regards
To use Netsimple with SSL is it mandatory to use certificate and key on client-side?
regards
13
The Rest - Ask For Help / Netsimple client
« on: March 03, 2014, 08:35:28 AM »
Netsimple.
In a single connection is it possible to send multiple packets to the same server?
the next packet is sent after receiving the server response.
If I open one connection per package works well, but with one open NO
source code:
CASE LOC:IPROCESS
OF 1
MyClient.AsyncOpenUse = 1
MyClient.AsyncOpenTimeOut = 1200 !12sec
MyClient.InActiveTimeout = 9000 !90sec
MyClient.SSL = 0
MyClient.Open (CLIP(SIS:SERVER), SIS:PORT)
OF 2 !Espera respuesta del servidor
OF 3 !Establece el id hotel en caso de ser todos
IF LOC:IAll = TRUE
CLEAR(EXCAHOT)
SET(ECH:KEY_NUMERO)
WriteActivity('SET EXCAHOT')
END
LOC:IProcess = 4
OF 4
IF LOC:IAll = TRUE
NEXT(EXCAHOT)
IF NOT ERRORCODE()
LOC:IDHOTEL = ECH:NUMERO
WriteActivity('NEXT:'&LOC:IDHOTEL&' - '&CLIP(ECH:NOMBRE))
LOC:IProcess = 5
ELSE
LOC:IProcess = 99
END
ELSE
LOC:IPROCESS = 5
END
OF 5 !Arma paquete y envia
DO ArmaStringSend
!---Informa sobre los datos que se enviaran
WriteActivity('Enviando:('&LEN(CLIP(StringSend))&')'&CLIP(StringSend))
UpdateEXLOGSIS('Enviando:('&LEN(CLIP(StringSend))&')'&CLIP(StringSend))
MyClient.WholePacketUseLengthField = 1
MyClient.WholePacketSend(StringSend, LEN(CLIP(StringSend)))
LOC:IPROCESS = 6
OF 6 !Espera respuesta del servidor
strwaiting = CLIP(strwaiting)&'.'
WriteActivity(CLIP(strwaiting))
UpdateEXLOGSIS(CLIP(strwaiting))
OF 7 !Salva datos recibidos
DO SaveDataDownloaded
LOC:IPROCESS = 4
UpdateEXLOGSIS('SALVANDO...')
OF 99
MyClient.CLOSE()
WriteActivity('Proceso Terminado')
UpdateEXLOGSIS('Proceso Terminado')
SETCURSOR
LOC:IPROCESS = 0
END
In a single connection is it possible to send multiple packets to the same server?
the next packet is sent after receiving the server response.
If I open one connection per package works well, but with one open NO
source code:
CASE LOC:IPROCESS
OF 1
MyClient.AsyncOpenUse = 1
MyClient.AsyncOpenTimeOut = 1200 !12sec
MyClient.InActiveTimeout = 9000 !90sec
MyClient.SSL = 0
MyClient.Open (CLIP(SIS:SERVER), SIS:PORT)
OF 2 !Espera respuesta del servidor
OF 3 !Establece el id hotel en caso de ser todos
IF LOC:IAll = TRUE
CLEAR(EXCAHOT)
SET(ECH:KEY_NUMERO)
WriteActivity('SET EXCAHOT')
END
LOC:IProcess = 4
OF 4
IF LOC:IAll = TRUE
NEXT(EXCAHOT)
IF NOT ERRORCODE()
LOC:IDHOTEL = ECH:NUMERO
WriteActivity('NEXT:'&LOC:IDHOTEL&' - '&CLIP(ECH:NOMBRE))
LOC:IProcess = 5
ELSE
LOC:IProcess = 99
END
ELSE
LOC:IPROCESS = 5
END
OF 5 !Arma paquete y envia
DO ArmaStringSend
!---Informa sobre los datos que se enviaran
WriteActivity('Enviando:('&LEN(CLIP(StringSend))&')'&CLIP(StringSend))
UpdateEXLOGSIS('Enviando:('&LEN(CLIP(StringSend))&')'&CLIP(StringSend))
MyClient.WholePacketUseLengthField = 1
MyClient.WholePacketSend(StringSend, LEN(CLIP(StringSend)))
LOC:IPROCESS = 6
OF 6 !Espera respuesta del servidor
strwaiting = CLIP(strwaiting)&'.'
WriteActivity(CLIP(strwaiting))
UpdateEXLOGSIS(CLIP(strwaiting))
OF 7 !Salva datos recibidos
DO SaveDataDownloaded
LOC:IPROCESS = 4
UpdateEXLOGSIS('SALVANDO...')
OF 99
MyClient.CLOSE()
WriteActivity('Proceso Terminado')
UpdateEXLOGSIS('Proceso Terminado')
SETCURSOR
LOC:IPROCESS = 0
END
14
The Rest - Ask For Help / NT6 compatibility
« on: January 07, 2014, 12:13:41 PM »
Net Talk 6 is compatible with Clarion9?
15
The Rest - Ask For Help / net web client, is forced a window?
« on: August 10, 2013, 11:01:04 AM »
I have an application that periodically connects to a web service for information, but as I have a thread in a window whenever the application makes POST to the web service, the window opens and that bothers the user. web client object can include in a source procedure, or through WinEvent can avoid this?
Regards
Ramiro M B
Regards
Ramiro M B
Pages: [1] 2