Hi,
I am trying to use OpenEdge.Net.pl file by adding the path of this file to propath as it is not included in propath by default. The path is DLC/tty/netlib/OpenEdge.Net.pl but even after adding the path to propath, compiler is giving below error messages:
Could not find class or interface OpenEdge.Net.HTTP.ClientBuilder. (12886)
** Could not understand line 4. (196)
Could not find class or interface OpenEdge.Net.HTTP.IHttpRequest. (12886)
** Could not understand line 5. (196)
Could not find class or interface OpenEdge.Net.HTTP.IHttpResponse. (12886)
** Could not understand line 6. (196)
Could not find class or interface OpenEdge.Net.HTTP.RequestBuilder. (12886)
** Could not understand line 7. (196)
Invalid datatype specified: IHttpRequest. Specify a datatype such as 'character' or the name of a class. (5638)
** Could not understand line 11. (196)
OpenEdge version - 11.4 and OS - Windows.
I have tried this way in OpenEdge version 11.6 and it did work there, but unable to use this library file in openedge version 11.4.
Thanks in advance,
Rohan
According to this article, it was only introduced in 11.5.1, so I wouldn't even bother to try even further in 11.4
knowledgebase.progress.com/.../Is-there-an-HTTP-client-for-OpenEdge
For the GUI App OS-GETENV probably won't return the DLC folder.
Try
GET-KEY-VALUE SECTION "Startup":U KEY "DLC":U VALUE dlcValue
instead.
Instead of the tty version , can you try it with the gui version ?
<DLC>\gui\netlib\OpenEdge.Net.pl
And I think it was only supported from 11.5 SP 1 onwards
No, it is not working
But according to this document it can be used in Openedge 11.4, and why the file is available in openedge version 11.4
According to this article, it was only introduced in 11.5.1, so I wouldn't even bother to try even further in 11.4
knowledgebase.progress.com/.../Is-there-an-HTTP-client-for-OpenEdge
Thanks for your help....Is there any other method to make rest calls of type 'post' from openedge version 11.4?
in the article I provided , there is a suggestion on how to do it with the WebClient from the System package
What are the differences between the tty and gui OpenEdge.Net.pl's should we include both in the propath when looking to use OpenEdge.Net?
Hi,
I have errors too, except that I'm using 11.7.4...
On OE STUDIO everyting is fine but when I run my Gui App these errors are raised :
We are using webspeed too and I was forced to add in my abl code : PROPATH = PROPATH + ";" + OS-GETENV("DLC") + "\tty\netlib\OpenEdge.Net.pl" to make it works with webspeed but this trick doesn't work with my Gui App.
Do you have any idea ?
For the GUI App OS-GETENV probably won't return the DLC folder.
Try
GET-KEY-VALUE SECTION "Startup":U KEY "DLC":U VALUE dlcValue
instead.
Thanks Mike it seems to work.
I'm just wondering why we need to explicitly and dynamically change the PROPATH.
I may have miss something. (maybe we need to wait OE12 ?)
Thank you anyway !
Damien
|