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.


Topics - alex.kolaric

Pages: [1] 2 3 4
1
The Rest - Ask For Help / POST, SOAP and SSL
« on: March 19, 2013, 03:23:25 PM »
Hi,

I have serious problem with one request I'm trying to send to SOAP server with SSL. Still using Nettalk 5 but I was able to access secure SOAP services with it before. This is the code I use:

LOC:AuthStr    =  'userid:password'
LOC:AuthStrLen = LEN(CLIP(LOC:AuthStr))  

ThisWebClient.SetAllHeadersDefault()
ThisWebClient.ConnectionKeepAlive = 0  
ThisWebClient._HTTPVersion            = 'HTTP/1.0'
ThisWebClient.ContentType       = 'text/xml; charset=utf-8'
ThisWebClient.CanUseProxy       = 0
ThisWebClient.HeaderOnly       = 0
ThisWebClient.Cookie          = ''
ThisWebClient.CustomHeader            = ''
ThisWebClient.Referer          = ''
ThisWebClient.UserAgent         = 'Evision Sourcing'
ThisWebClient.AcceptEncoding            = 'gzip,deflate'
ThisWebClient.Accept_          = ''
ThisWebClient.AcceptLanguage            = ''
ThisWebClient.ContentLength            = len (clip(PostString))
ThisWebClient.Authorization               = 'Basic ' & NetBase64Encode (LOC:AuthStr, LOC:AuthStrLen)   

ThisWebClient.AsyncOpenTimeOut = 1200      
ThisWebClient.InActiveTimeout  = 2000        

ThisWebClient.SSL = 1
ThisWebClient.SSLCertificateOptions.CertificateFile = ''
ThisWebClient.SSLCertificateOptions.PrivateKeyFile = ''
ThisWebClient.SSLCertificateOptions.DontVerifyRemoteCertificateCommonName = 1
ThisWebClient.SSLCertificateOptions.DontVerifyRemoteCertificateWithCARoot = 1
ThisWebClient.SSLCertificateOptions.CARootFile = '.\Ca_Roots.pem'

ThisWebClient.Post(PostURL,PostString)

I'm receiving the following error all the time

Error Code: -53
Error Message: The requested connection could not be opened. The Open command timed out or failed to connect. The error number was -53 which means Open Timeout or Failure error. - [SSL Error = 11]

Passed Message: The requested connection could not be opened. The Open command timed out or failed to connect
Function: NetSimple.TakeEvent

CA_Roots.pem is in the app directory as well as all 4 DLLs needed for SSL. Please help. It is urgent.

Thanks,
Alex

P.S. I'm trying both https://wstest.aviall.com/services/SOAPProcessor and https://wstest.aviall.com/services/SOAPProcessor:443 as post urls but nothing changes



2
E-Mail - Ask For Help / Sending mail over Yahoo SMTP server
« on: February 28, 2013, 04:47:16 AM »
Hi,

I have sending email procedure using Nettalk. If I'm sending using gmail
smtp it works ok, but if I use yahoo smtp it doesn't work and I get error
message saying that Remote Certificate Failed Verification.

Yahoo SMTP settings are:

server: smtp.mail.yahoo.com
port: 465
SSL: yes

Any help is appreciated.

Alex

3
Web Server - Ask For Help / SSL certificates - help needed
« on: June 13, 2012, 12:52:31 PM »
Hi,

I successfully created test certificate for our app to use it as secure based on the help from Nettalk documents. Our customer wanted certificate from godaddy so we created CSR file for them (again using the batch files from Nettalk) and they sent it. Now they are sent us 2 CRT files instead of one:

1) CRT file named as our website
2) gd_bundle.CRT

when I put them together with the .KEY  file generated by CSR batch file in the certificates directory of the web server and recompile to point to the new cert file nothing happens. Web site doesn't work anymore. I tried to put the second certificate file contents into the first file but still nothing.

Any help is appreciated. I don't know how to solve this issue.

Thanks,
Alex


4
Web Server - Ask For Help / Page caching and back button - NT5
« on: May 22, 2012, 10:28:20 AM »
Hi,

is there a way to bypass the reload message in IE which shows up when the you hit back button because of the fact that page generated by nettalk is by default using NO-CACHE in the page header? What I want is to allow the user to see the some cached pages when clicking on the back button instead of reloading.

Thanks,
Alex

5
Web Server - Ask For Help / NT and credit card processing - need help
« on: February 02, 2012, 02:54:07 AM »
Hi,

I was investigating possibility of using XWeb HPF credit processing with NT. I successfully integrated their credit card processing form within web page generated by NT and I am able to use it. The issue I have is the following. Xweb HPF must be included within the web page in an iframe and it automatically includes Submit button which does the actual transaction submitting. In order to determine if the transaction was processed ok or not and show the appropriate page I need to poll the Xweb server for the response and process that response.

I don't know at which point I can add the response polling/checking code in NT. Any ideas? Anyone did something like this before?

Any help is appreciated. Thanks in advance.
Alex

P.S. I'm attaching integration PDF which explains the flow of requests/responses. Maybe someone can find it usefull too

[attachment deleted by admin]

6
Hi,

after very long time I found out one potential bug in NT5 (maybe it exists in NT6 too but I don't have it so I can't check it). I will illustrate it on BasicWithLogin (3) example app. When I start web server and go to 127.0.0.1:88, main page opens, Then I click on Login option and login form appears. DEMO and DEMO for user id and pwd are logging ok. However if I sit on the login page until the session expires (I set session timeout to 2 min in the web server options for checking purposes) and then click on login button on this page I go back to the index page but I'm not logged even though uid and pwd are correct. Apparently, login validation code is not executed when Login button is clicked after the session has expired.

How to beat this behavior? My employers are not happy with it at all. Login button which doesn't log the user even though they entered correct uid and pwd. Very confusing for the user and not looking professional.

Any advice is appreciated.

Thanks,
Alex

7
Hi,

is there any way to move the form fields defined in one tab to another tab in NT5 or NT6. Obviously it can't be done through the app editor. Can it be easily done by exporting proc to TXA and modifying the source so when it is imported back the fields belong to another tab?

thanks,
Alex

8
Hi,

I have a form without Save bttn and none of the buttons on the form are marked as default. When I click on any entry field on the form and press Enter on the keyboard page gets submitted. Is this normal behavior? I saw that form has action attribute which points to whatever I put in "Url on save" template field, however my form doesn't have Save bttn. and if I remove this value action gets populated by some other page name - I think it is caller page name.

Is there any way to prevent submit on Enter key?

thanks,
Alex

9
Web Server - Ask For Help / NT5 - timeout question
« on: December 20, 2011, 05:32:53 AM »
Hi,

I want to setup session timeout for one of our apps to be user defined. If I set value of the s_web._SitesQueue.Defaults.SessionExpiryAfterHS to 360001 for 1 hr timeout occurs much earlier for example in 20 min or so. What can be the reason for this?

Any help is appreciated

Alex

10
Web Server - Ask For Help / NetTalk 5 - Problems with navigation buttons
« on: December 15, 2011, 08:37:08 AM »
Hi,

I have weird problem with browse navigation buttons in NT5. When the browse is re-sorted by column different then default sort order column and I click on Next button browse becomes empty and navigation buttons disappear. If I click on Last button browse shows last page of records and navigation buttons remain visible. If the browse box is sorted by default column defined in application everything works as expected. Using NT5.37 with multiple MSSQL tables joined by dictionary or custom join where primary file has unique key with only one component.

Any suggestion is greatly appreciated.

Thanks,
Alex

11
Hi,

Are browses with unique key with multiple components working properly in Nettalk 5? I need to build few pages for some tables in customer DB that have PK defined with multiple components.

thanks,
Alex

12
E-Mail - Ask For Help / Sending email - Exchange server
« on: November 11, 2011, 09:17:40 AM »
Hi,

I need a help with sending of email through exchange server. The way I understood it exchange server should be addressed the same way as any other SMTP server when it comes to NetTalk app. We asked our customers to setup one Outlook email account in order to see settings they use to connect to the exchange server, however there is only server name and mailbox name for exchange server and the account is set in exchange mode. Is it possible to send email using only these 2 values (I doubt it) or I need complete list of values (server name/port/user name/pwd) to access it and is there anything their administrator should do to provide me access with Nettalk.

Thanks,
Alex

13
Hi,

I have one browse with few columns, two of them product ID and description - both editable. I set product ID as lookup where the user must use lookup button to select product from another browse list. What I need is to populate description based on selected product ID and be able to modify it afterwards. I'm using "More Assignments" to assign product desc to appropriate field

PCD:Description = p_web.GSV('OPI:Description')

and I use "Refresh Browse Row DATA ..." checkbox. However, description field stays empty after lookup.

I must be doing something wrong. Please help.

Regards,
Alex

14
Hi,

is there any good scheduling component which can be used with NT to achieve what can be done with Noyantis Calendar and Codejock for standard win based apps.

Any suggestions appreciated.

Thanks,
Alex

15
Hi,

as subject says, is there any way to include script into <head> tag of some page that needs it - not for all pages.

Thanks
Alex

Pages: [1] 2 3 4