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 - David

Pages: 1 2 [3] 4 5 ... 8
31
Web Server - Ask For Help / WebClient - Pull SSL Cert Information
« on: May 08, 2014, 11:59:27 AM »
Using the NetWebClient, is there a way to get the SSL Certificate information from a site?  Specifically the Issued To, Issued By, and Valid from.

I would like to fetch the index page from a site and check it's SSL cert information.

32
Web Server - Ask For Help / NT8 - WebServices Method Results
« on: March 18, 2014, 11:16:38 AM »
Inspired by p_web.GSV & p_web.SSV, I wrote my own class that I use to store and retrieve ITEM/VALUES.  I can pass the queue to xml.Save and xml.Load.  I was planing on using my class to send/receive data via WebServices Methods. 

When I set Return Type to Queue and then Return Queue to MyClass.StorageQ, I get a "Could not find MyClass.StorageQ in the Table Schematic".  Is there a way to disable this check?

33
Web Server - Ask For Help / Re: Web Services - Clarification Questions
« on: March 18, 2014, 06:07:12 AM »
Thank you for the reply Bruce.

When your adding the security layer could you please include security for the WSDL and auto-docs.  If I'm using the WebServices between 2 of my Clarion apps, I would want many of the Methods "private" and wouldn't want to leak information on them by way of WSDL and docs.

On the encryption point, SSL is susceptible to Man-In-The-Middle attacks.  The ability to encrypt the data using an encryption method outside of SSL would add an additional layer of security.  However, I understand your point about using SSL to encrypt the connection and this would work for most scenarios.

34
Web Server - Ask For Help / Web Services - Clarification Questions
« on: March 17, 2014, 05:53:46 PM »
Bruce,

I think the web services templates are an awesome addition to NT.  Couple of questions regarding the new Web Services templates....

1. In the NT8 kickoff webinar, you stated that the client side of web services was coming.  Are you shooting for sometime 2nd quarter, next 3 months, or sometime this year?  Just wondering for planning purposes.

2. There are no security settings on either the NetWebService or NetWebServiceMethod.  Are you planning on adding security settings similar to the other NetWeb templates such as "User Must Be Logged In" and "Only Serve IF".  This would mean that the client side would have to have an option to maintain and pass the session key.  I'm looking at the client logging in once and then having the session follow that user for additional connections just like the NetWebPage, NetWebBrowse, and NetWebForm.

3. Down the road could you look to add an option to compress the data assuming that it is going between 2 Clarion applications using the Web Service templates.  This would be useful for a client retrieving large lists of information.  And an option for encrypting the data using Cryptonite would be really interesting.

4. In the webinar you said that putting the Methods under the NetWebServices was somewhat arbitrary.... In your webinar demo you had 2 different NetWebServices with several Methods under each one.  Using the NT Wizard to create a new app and including NetWebServices, each Method was paired with it's own NetWebService.  I understand the purpose of the NetWebMethod's, but what is the purpose of the NetWebService?  Why would I create more than one, why do I need it at all?

Thank you,
David

35
Thank you for your replies.... actually after Friday's NetTalk 8 announcement, and the introduction of the WebServices templates, my question has become irrelevant.  But it is good to know that the data gets moved into 'xml' based on the header information.

I am passing information between 2 Clarion programs using WebClient on the desktop app and WebServer on the server app.  Had wrote my own web services and wanted to start compressing the data during transport.

36
I was using p_web.GetValue('xml'), in the WebHandler procedure, to parse incoming XML using XFiles.  However, now I want to use StringTheory and Cryptonite to compress and encrypt the data between the client and server.

Since the server wont be able to identify the data as "XML", how do I grab the information from p_web object?

37
Web Server - Ask For Help / NT - Force NetAll Debug to Text File
« on: April 29, 2013, 04:54:37 AM »
Is there a way to force NT to write debug messages out to a text file instead of DebugView?  The app is running as a service on a customer site, it would be easier to have them send me a text file then: gain access to their server, install DebugView, keep a user logged into the desktop so DebugView continues to run, then save to disk, send me the file.

David.

38
Improvement: Code tweaked to allow large attachments to be received faster. A lot faster.

Does this mean NT is now writing the uploaded file to disk as it comes in instead of storing the entire file in memory first?

If not, is that something that could be added to the NT7 enhancement list?

39
Web Server - Ask For Help / NT7.02 - Duplicate Comment
« on: January 10, 2013, 06:19:00 PM »
I have a setup page which is a memory form.  This page has a tab for SMTP settings.  For the SMTP port there is a comment must be a number between 1 and 65000.  This comment is also showing for the Use SSL prompt which is next in line.  I have attached 3 screenshots showing the duplicate comment, the page source, and the template that shows I didn't set the comment.

The SMTP Port is a LONG were the Use SSL is a BYTE.  These are just variables to the form procedure and not from a table.  I have checked that the description for the variable wasn't set.  The duplicate comment is showing in both IE and Chrome.

What am I missing?

Thanks
David.

[attachment deleted by admin]

40
Web Server - Ask For Help / NT7 - NetWebForm - InitForm Firing Twice
« on: December 17, 2012, 12:22:54 PM »
C8/NT7.00

I have a NetWebForm with a Form Source of memory, that I use to manage app settings.  In the InitForm embed, I load my app settings into the Form variables.  I have a debug statement so I can see that the variables were loaded.  The debug statement fires 2 times every time I go to the webpage.  Is this expected behavior?

David

41
Thank you Bruce... that was what I was looking for.

42
Web Server - Ask For Help / Is ThisWebServer.Page Stored in p_web anywhere?
« on: December 27, 2011, 03:15:10 PM »
I have a web server that excepts posts of data.  If the data was xml, I would use p_web.GetValue('xml').... but it isn't xml, just text.  Is the body of the post stored in p_web anywhere?

43
Mike,

You might look at the memory utilization.  NT caches uploads into memory until the whole file is there and then writes to disk.  I found that my server stalled out trying to upload a single 800mb file.  If there are lots of people uploading smaller files, depending on timing, you could be running into a memory issue.  I ask Bruce if he could add streaming the file to disk onto his todo list.  I'm hoping it's moved closer to the top.

Here is the link to that thread... http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=1705.0
 

44
E-Mail - Ask For Help / Ready Made Mail Server Object
« on: August 18, 2011, 04:10:32 PM »
Is there a ready made mail server object in NT5?  Instead of my app polling a POP3 server, I want my app to be the email server.  It isn't going to relay mail, instead it is the destination.  Is it as simple as using a NetSimple object and listening on port 25 for the incoming email packet?

Thank you,
David

45
Web Server - Ask For Help / Popup - action view
« on: June 19, 2011, 06:30:29 AM »
Bruce,

For NetwebBrowse button, onClick tab, Open as PopUp, Action.... can you add the View option.  I have a button that when clicked opens a popup form.  I want the form in view mode so it is read only.

Thank you,
David
C8, NT5.28

Pages: 1 2 [3] 4 5 ... 8