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.
1
Web Server - Ask For Help / Web service JSON input
« on: May 07, 2018, 05:46:48 AM »
I wish to call a NetTalk web service with a JSON string as the input parameter. I have 2 questions:
1. Do I do a GET or POST?
2. What does the url look like?
Thanks,
1. Do I do a GET or POST?
2. What does the url look like?
Thanks,
2
Web Server - Ask For Help / Re: Passing Parameters to a Web Service
« on: May 04, 2018, 11:07:40 AM »
Clear explanation.
Thank you,
Thank you,
3
Web Server - Ask For Help / Re: Passing Parameters to a Web Service
« on: May 03, 2018, 09:28:34 AM »
Just to be clear, we should avoid these in our data, so:
Bruce & Sons Lumber Co. should be Bruce and Sons Lumber Co.
Bruce's Cabinet Shop should be Bruces Cabinet Shop
Correct?
Bruce & Sons Lumber Co. should be Bruce and Sons Lumber Co.
Bruce's Cabinet Shop should be Bruces Cabinet Shop
Correct?
4
Web Server - Ask For Help / Passing Parameters to a Web Service
« on: May 03, 2018, 05:37:19 AM »
In my testing I've noticed that an & in the data stream can cause problems (when passing the parameter as a string to the url).
Are there other characters that should be off limits?
Also I'm having trouble understanding the "Clarion" way of calling this web service and passing it a JSON string with multiple records. Any sample code excerpts would be very welcome.
Are there other characters that should be off limits?
Also I'm having trouble understanding the "Clarion" way of calling this web service and passing it a JSON string with multiple records. Any sample code excerpts would be very welcome.
5
Your Views and Comments / NT Webinar
« on: May 03, 2018, 04:10:52 AM »
I see the NT webinars have moved to Tuesday each week. Do I need to register for these? If so, how, where?
Thank you,
Thank you,
6
Web Server - Ask For Help / Re: JSON File In and Out
« on: April 26, 2018, 03:12:46 AM »
I've watched 300 but will get to 302 and 304 shortly then I'll check one of the webinars.
Thank you,
Thank you,
7
Web Server - Ask For Help / JSON File In and Out
« on: April 25, 2018, 09:31:46 AM »
A vendor wants to "call" a web service with a JSON file as the parameter. I need to process and pass back a JSON file with different information.
The output I think I define as a queue and specify JSON as the return format. How do I handle the parameter input? I would like to drop it in a queue.
Thank you,
Rich Bowman
The output I think I define as a queue and specify JSON as the return format. How do I handle the parameter input? I would like to drop it in a queue.
Thank you,
Rich Bowman
8
Web Server - Ask For Help / Re: webserver / webservice compile errors
« on: April 25, 2018, 05:31:01 AM »
Thank you
9
Web Server - Ask For Help / webserver / webservice compile errors
« on: April 25, 2018, 03:59:30 AM »
Using latest Clarion and NT.
Followed instructions in CIDC 2017 NT book and I'm getting 15 compile errors. See attached screenshot. Tables defined in data dll. The last 2 errors are on a table definition that has an "OVER" attribute.
Any help appreciated.
Thank you,
Followed instructions in CIDC 2017 NT book and I'm getting 15 compile errors. See attached screenshot. Tables defined in data dll. The last 2 errors are on a table definition that has an "OVER" attribute.
Any help appreciated.
Thank you,
10
FTP - Ask For Help / Re: Recovering from error message
« on: April 10, 2015, 03:14:30 AM »
Yes you are right!
When you made that suggestion I saw one thing and thought another. Wait until you're my age -- growing old sucks.
Thank you for your help. I should have read this correctly the first time.
Rich
When you made that suggestion I saw one thing and thought another. Wait until you're my age -- growing old sucks.
Thank you for your help. I should have read this correctly the first time.
Rich
11
FTP - Ask For Help / Re: Recovering from error message
« on: April 05, 2015, 11:38:56 AM »
I tried the post(event:close window) before the parent call followed by a Return (see attached), and after the parent call, but the window still displays and will not close.
My program that downloads files from the ftp server is fine, it's just the program that uploads files.
My goal is for this to run unattended. When there is an error I write to a log file.
Rich
[attachment deleted by admin]
My program that downloads files from the ftp server is fine, it's just the program that uploads files.
My goal is for this to run unattended. When there is an error I write to a log file.
Rich
[attachment deleted by admin]
12
FTP - Ask For Help / Re: Recovering from error message
« on: March 30, 2015, 07:39:18 AM »
Hold that thought. I'll try a different test or two.
13
FTP - Ask For Help / Re: Recovering from error message
« on: March 30, 2015, 06:56:37 AM »
Using NetTalk 7.39
I tried the post:event close window but that didn't work either. In fact I think it is still in the code example I sent (but commented).
I tried the post:event close window but that didn't work either. In fact I think it is still in the code example I sent (but commented).
14
FTP - Ask For Help / Re: Recovering from error message
« on: March 30, 2015, 02:19:39 AM »
I wish it did retry, but it doesn't seem too. After the server is rebooted the error remains on the screen until I click Close, then it resumes. I need this to run unattended.
15
FTP - Ask For Help / Recovering from error message
« on: March 28, 2015, 06:16:36 AM »
I have an ftp process that runs 24/7 to and from an in-house server. When that server is rebooted the ftp process errors. I put a RETURN just before the Parent call in MyFTPControl.ErrorTrap but I still get an error. Attached is a pdf with a screenshot of the error and the code I put in the ErrorTrap procedure.
Suggestions?
Thank you,
Rich Bowman
p.s. Bruce, this is the same situation we corresponded about a few days ago. I thought I should put my follow-up question here.
[attachment deleted by admin]
Suggestions?
Thank you,
Rich Bowman
p.s. Bruce, this is the same situation we corresponded about a few days ago. I thought I should put my follow-up question here.
[attachment deleted by admin]