NetTalk Central

Show Posts

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.


Messages - ralonso2001

Pages: [1] 2 3 4
1
Web Server - Ask For Help / JWT (Jason Web Tokens)
« on: March 26, 2019, 04:26:45 AM »
Hi, I need to implement JWT to work with a web service that requires that my post send a token constructed by JWT.
How can I do it?
Thank you!

2
Hi, Bruce, I will try to make an app and send it to you!
Thank you!

3
Hi, I updated to version 9.21 and start having a strange behavior on a form.
This form has about 4 lookups an a child browse.
When I open the form to insert a record, and then I open a Lookup, the routine preupdate is called...

What I'm doing wrong?

Thank you!!!!

4
Web Server - Ask For Help / Re: URGENT! Web Service Problem
« on: November 20, 2015, 07:36:47 AM »
Thank you Urayoan!!!!

5
Web Server - Ask For Help / URGENT! Web Service Problem
« on: November 20, 2015, 04:35:14 AM »
Hi, I´ve been using a goverment web server for a few years for electronic invoices in Argentina.
Since last 4 days its not working.
I test the dummy method via browser and it responds perfect (https://serviciosjava.afip.gob.ar/wsmtxca/services/MTXCAService/dummy)

Here is my POST:

POST /wsmtxca/services/MTXCAService/dummy/ HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: en
Content-Type: text/xml;charset=utf-8
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 ( .NET CLR 3.5.30729; .NET4.0C)
Host: serviciosjava.afip.gob.ar
Content-Length: 165
Connection: Close

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body/></soapenv:Envelope>

Here is my response:
HTTP/1.1 500 Internal Server Error
Date: Fri, 20 Nov 2015 13:16:15 GMT
X-Powered-By: Servlet/3.0; JBossAS-6
Connection: close
Content-Type: text/xml;charset=utf-8
Set-Cookie: TS01274670=01439f1ddf70259b94ad2d5231c91301d3567db78444fd0b916b66c1453419310f68f3061d; Path=/

<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault xmlns:axis2ns10249="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>axis2ns10249:Client</faultcode><faultstring>The endpoint reference (EPR) for the Operation not found is http://serviciosjava.afip.gob.ar/wsmtxca/services/MTXCAService/dummy/ and the WSA Action = null</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope>

Here is a POST from SOAPUI that is working fine..
POST https://serviciosjava.afip.gob.ar/wsmtxca/services/MTXCAService HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://impl.service.wsmtxca.afip.gov.ar/service/dummy"
Content-Length: 115
Host: serviciosjava.afip.gob.ar
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.3.1 (java 1.5)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body/>
</soapenv:Envelope>

Thank you!!!!

6
Web Server - Ask For Help / CLOSE SESSIONS - BUSY MESSAGE
« on: August 31, 2015, 04:55:39 AM »
Hi, I have two quetions (for today)

1) I'm looking at my performance monitor in my web server and see too many session in order of the users I can track as logedin. This web server has 25 users but im seein about 100 sessions. Why is this happening I how can I close sessions.

2) I have a code (that "took" from NT) to display a "busy message" in case of x amount of threads opened.
 The code in the web server - Start New Thread

 g:ThreadHighLimit   = self.MaxThreads
 g:ThreadReopenLevel = 20
 
 SELF._Trace('WebServer Mem: Threads:'&self.performance.NumberOfThreads&' '&|
             '/Max Usado: '&self.performance.MaximumThreads&' /Max:'&self.MaxThreads&'')       

 If (g:ThreadHighLimit > 0 AND self.performance.NumberOfThreads >= g:ThreadHighLimit)
     g:NoService = TRUE
 END
 IF g:NoService AND self.performance.NumberOfThreads =< g:ThreadReopenLevel
     g:NoService = FALSE
 END
 IF g:NoService
     SELF._Trace('No Service Threads='&self.performance.NumberOfThreads&' /Max:'&g:ThreadHighLimit&' - Not processing this request')
     self.senderror(500,'Servidor Ocupado','El servidor está ocupado realizando operaciones, por favor reintente en '&|
                        'unos minutos.')
     Return
 End

It works, but the self.senderror statement doesnt display a error message window in the browser...what Im doing wrong?

Thank you!

7
Web Server - Ask For Help / Browse in form refresh
« on: August 26, 2015, 07:29:57 AM »
Hi, I have some problems with Browse in form (parent child update) with the filter (using SQL() for filter expresion).
If I use PAGE loaded, when I add the second child record "NO RECORDS" are displayed, if I refresh the browse,  records reapear.
With the same configuration I check FILE loaded for the browse and the refreshing works fine.

First,question: Is there a problem using FILE instead of PAGE loaded browses?

Second question: Any ideas why this behavior?

Thank you!!!

8
Web Server - Ask For Help / Re: Crash - PLEASE HELP!
« on: August 26, 2015, 07:24:13 AM »
Thank you Bruce!

9
Web Server - Ask For Help / Re: Crash - PLEASE HELP!
« on: August 23, 2015, 05:47:13 PM »
Hi Brian. No Im not using SSL.
Could SSL improve the performance ? I know its better for security reasons.
Its a lot of work to make my site SSL?

Thank you!!

10
Web Server - Ask For Help / Re: Crash - PLEASE HELP!
« on: August 20, 2015, 04:36:13 AM »
Thank you Kevin.
I've made severar tweaks based on yours (and Bruce's) suggestions and it's been 24 hours without a hang!!!
I'm very happy!
I'll let you know how it continues.
Thank you very much (thanks to Bruce also!!!)

11
Web Server - Ask For Help / Re: Crash - PLEASE HELP!
« on: August 19, 2015, 03:37:24 AM »
Hi Bruce, hi Kevin.

Thank you both, I feel im getting closer to the solution with your tips.

Bruce, about the locking, its just a guess, dont really know if thats the problem.
I dont undestand much how the threads work but I going to look at the code (and the get/post log) to detect some bug.
I have some users that generate large reports all the time, so Im thinking of separating them in other instance on a "offline" database so they can work on reports on that database and not in the working one.
I will investigate the 11 threads!
Thank you very much!!!!

12
Web Server - Ask For Help / Re: Crash - PLEASE HELP!
« on: August 18, 2015, 08:05:42 AM »
Bruce, here are 2 print screen of performance. The web server was responding ok but the web page was very, very slow, imposible to the users to work. The print screen are of that moment.
The CPU procesos was at 98% total with my exe consuming most of the procesor.
I close the web server and open it again and everything start workin ok...
How can I change the sql lockin time, I think it could be that my sql locks and that causes de web server to get so slow...


[attachment deleted by admin]

13
Web Server - Ask For Help / Re: Crash - PLEASE HELP!
« on: August 18, 2015, 07:57:49 AM »
Is this driver string for FM3 ok for my web server?

/MULTIPLEACTIVERESULTSETS=TRUE /BUSYHANDLING=2 /BUSYRETRIES=5 /BUSYMESSAGE=La conexion esta ocupada. /LOGONSCREEN=FALSE /VERIFYVIASELECT=TRUE

In my app in global properties - File Control - "Enclose RI code in transaccion frame" is unchecked... is this a problem?

14
Web Server - Ask For Help / Re: Crash - PLEASE HELP!
« on: August 18, 2015, 06:46:32 AM »
Im looking for the SQL locking querys.
I will change message box to 100th second!
Thank you!

15
Web Server - Ask For Help / Re: Crash - PLEASE HELP!
« on: August 18, 2015, 04:19:44 AM »
Hi, first of all, thank you all for responding!

Bruce, I didnt have the performance controls populated in my web server window, Im adding them right now to see what the say. The window is responding but if you login to the web page it never logs...

Kevin, how can I check my SQL to see if there are locks going arround? Theres a tool in SQL Management Console?

Rob, Im using Capesoft Message Box so any message window is closed in 5 seconds.

I will work on this tips and tell you what happened.

Again, thank you very much!


Pages: [1] 2 3 4