PxPlus User Forum

Twitter Twitter Twitter

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

Pages: [1] 2
1
Nomads / Re: Convert NOMADS file to XML (need IOLIST)
« on: March 14, 2024, 08:09:02 PM »
Thank you Jane!

I thought I had already replied to your post, but I don't see it.
I think the *plus/proj/pxpnl program looks promising to come up with a more readable comparison.  Thank you for the suggestion.

Phil

2
Nomads / Re: Convert NOMADS file to XML (need IOLIST)
« on: March 14, 2024, 09:09:29 AM »
Thanks Mike and Stéphane,

I've written a quick and ugly XML conversion which is adequate, but I may look at the other option to make something prettier.  The way it's working now, I can easily see if the compared libraries have been changed, but identifying the changes adequately requires me to go back to NOMADS utilities.  Using the SVN utility may well work better, though it means another folder level.  However, that will help narrow down exactly where the change is, which should make things more efficient.

I know the NOMADS library IOLIST doesn't change very often, but grabbing the IOLIST from the object will insure that I get the correct columns for the version I'm working with.  That will be better.

Phil

3
Nomads / Re: Convert NOMADS file to XML (need IOLIST)
« on: March 13, 2024, 03:37:34 PM »
Thanks Loren!  That looks familiar. - Phil

4
Nomads / Convert NOMADS file to XML (need IOLIST)
« on: March 13, 2024, 03:13:51 PM »
I am writing a utility to convert PVXPlus program and library files to text so that Beyond Compare (a compare utility from Scooter Software) can easily spot changes.  Converting the program to text is easy and done.  I've decided to convert the NOMADS library files to XML.  I can do this with made-up column names (i.e. Field1, Field2, etc), but I'd rather have the meaningful names that go with the columns.

Have any of you already written a conversion of NOMADS library files to XML that you'd be willing to share?

Where would I find the IOLIST for a NOMADS library file?

Thanks - Phil

P.S. I'll be happy to share my conversion program and the Beyond Compare configuration to anyone interested.  It's quite useful.

5
Web Services / Re: Publishing a PDF through PXPlus web engine
« on: March 08, 2024, 08:27:01 AM »
Thanks Mike,
That's too easy.  :-)

The piece I was missing is the %Content-type$ global variable.  I'm sure there are many other variables used by the web engine that I don't know about.

I appreciate the help.

- Phil

6
Web Services / Re: Publishing a PDF through PXPlus web engine
« on: March 07, 2024, 06:21:11 PM »
Well, Mike.  I'm sure I'm doing something wrong.  I've tried using an HTML format with <head> and <body> putting the content-type: application/pdf and content-size in the <head> and the binary in the <body>.  I've also tried an HTTP POST format, which I've never used to send *to* a web browser.  Neither one worked. 

I've also tried using <embed>, <object> and <img> with encoding/decoding the pdf data.

What format should I be using?  I'm testing with just the web engine directly.  Eventually I'll probably be using IIS or Apache, but those aren't set up to use, yet.  I've never used the web engine except with iNOMADS, Webster+ and the old Sage 100 eBusiness stuff.

- Phil

7
Web Services / Re: Publishing a PDF through PXPlus web engine
« on: March 06, 2024, 04:07:29 PM »
Thanks Mike,
I think that the application/pdf might well work.  I'm not sure why I didn't think of that.  It should work fine with the IIS front end, I believe.

I appreciate the quick response.  I hope you're enjoying retirement as much as I am.  :-)

Phil

Philip Whirley
phil@whirley.org

8
Web Services / Publishing a PDF through PXPlus web engine
« on: March 06, 2024, 02:30:45 PM »
I need to create a label of a specific size, format, font, etc and present it to be printed on the website.  The PVXPlus web engine will be running on one server and the website is on another server.  The website host will not have access to the folders for the application. The only access is through the web engine.

I'm using the *PDF* special file to create the PDF, but I do not know how to get the web server to publish that back to the website.  I'm sure it's simple.

Thanks - Phil

9
iNomads / Re: %inomads'upload_file() times out
« on: July 08, 2022, 01:24:25 PM »
Thanks!   This worked.
I put SET_PARAM 'IZ' in my START_UP and it solved the problem.  Is there another place that is preferable to set the parameter?
 - Phil

10
iNomads / %inomads'upload_file() times out
« on: July 07, 2022, 09:23:09 PM »
Is there a limit to the size file the %inomads'upload_file() function can handle?  I've got my upload working well with small files.  I've tested with 2K file size with success.   The actual files the user will be uploading are generally 22-25MB Excel files.  This does not seem to be a very large file, considering that the upload attempts are either on the same server where EZWEB and iNOMADS are running or are connected with a 300Mb connection.  Whenever I try the larger file it sits for a long time then says that it cannot make a connection.  I then find that EZWEB is no longer running and I have to restart it.
Any idea what might be happening here or where I can begin to look for a cause.  The weird part, to me, is that the issues seems to kill EZWEB.

The server is Windows running PXPlus 2021 Web. 

Thanks!  - Phil

11
Web Services / EZWeb /ShutDown?xxxxxxx-yyyyyyyy not found
« on: January 29, 2022, 09:46:47 AM »
I'm running latest version of PVXPlus with both Pro and Wayfarer licenses, installed in separate folders.  I'm running the EZWeb server from the Wayfarer instance and it's all working well, except that I cannot use the ShutDown directive from a web browser. 
When I try
http://localhost:8758/ShutDown?taskuser-xxxxxx
I get the response:
[font=courier]Not Found
The requested URL /ShutDown can not be provided by this server.
[/font]

I've tried all sorts of variations with no success.  The documentation says to use the 8 digit serial number, but my serial numbers are all 6 digits, unless I use the SSN value, in which case they are much longer.  I get the feeling that I'm missing something.  Since EZWeb is being started in background from task scheduler, I cannot use the system tray to shut it down, so I end up have to kill the process on the server.

Thanks for any help!

- Phil

12
Registration and Setup / Re: License seats requirement calculation
« on: January 07, 2022, 04:31:08 PM »
Thanks Mike,
I believe that answers my questions.
Phil

13
Registration and Setup / License seats requirement calculation
« on: January 07, 2022, 03:28:50 PM »
I'm trying to determine how many licenses of which type to purchase, but am not sure how they are consumed.

We have multiple processes that run from Task Scheduler every day.  They are all started on the server and run as the same user.  I believe these will altogether use 1 license.

We have iNOMADS running from IIS.  The usage is very light, typically only one person logs on to the website at a time.  I think this will use 2 wayfarer licenses.  At what point do we need to bump up the number of Wayfarer licenses? Is it just a matter of of performance because a single license can only handle one task at a time?

Right now we're using Pro licenses for development and to run the scheduled tasks, but we do not use PVXPlus SQL nor ODBC, so I think we can accomplish the same thing with Base licenses.  Is there a way to determine exactly what features we will loses if we move to Base licenses instead of Pro?  Will the Base license support the Wayfarer licenses running iNOMADS?

Thanks - Phil

14
Solution:  Tino Vanholst confirmed for me that I must have two EZWeb instances running.  One will handle Webster+ and the other will handle the iNOMADS transactions.  I will start them both from task scheduler in background mode (-BKG) as the same user account, which will result in only one user seat being taken, hopefully.
Once both are running, I can add menu items in Webster+ to reference the URL for the iNOMADS transaction as:  http://localhost:8888?txid=mytransaction

I have tested this and it works beautifully.

15
Webster Plus / Re: Can Webster+ menu launch iNOMADS programs
« on: November 16, 2021, 10:52:51 AM »
I believe that this question is answered.  Tino Vanholst has confirmed that I cannot use the Webster+ EZWeb instance to run iNOMADS transactions, but I can run a second EZWeb instance to process the iNOMADS.  If I start them both in background mode from the task scheduler using the same user account, they will apparently not take up two users.  This will suffice for my purposes. 

Pages: [1] 2