Getting OpenEdge.Net to work under AIX

Posted by sebastien.vandonge@bertus.com on 03-Aug-2016 03:20

I have some code like this and is working fine from eclipse:

using OpenEdge.Net.HTTP.ClientBuilder from propath.

define variable c# as ClientBuilder no-undo.

 

On Aix however it resulted in:

 | Could not find class or interface OpenEdge.Net.HTTP.ClientBuilder. (12886) |
 |  ** /ota/repo/wrkdev/svd/amdir/otashelve/svd/svd_scratchpad3.p Could not   |
 |                          understand line 1. (196)                          |

Ok, so corrected the propath to fix this issue. But now the problem is:

  |  Invalid datatype specified: ClientBuilder. Specify a datatype such as   |
  |                'character' or the name of a class. (5638)                |
  | ** /ota/repo/wrkdev/svd/amdir/otashelve/svd/svd_scratchpad3.p Could not  |
  |                         understand line 3. (196)                         |
  |                                                                          |

 

This is weird. The class is found in the propath, because the problem changed from line 1 to line 3, but it still doesnt recognize this class where it does on windows.

Listing the sources in the PL on AIX shows me that the class does exist in the PL.

 

* New information:

We have extracted the PL itself and put the sources in the propath. Then it started to complain about OpenEdge.Core.PL (that one was already default in the propath). We also extracted this PL and put it in the propath and now it works.

 

This workarround is nice but we are still convinced that this is not the way to go.

Posted by sebastien.vandonge@bertus.com on 03-Aug-2016 05:07

Turns out that we did make an error in the propath:

/progress/dlc116A/scr/netlib/OpenEdge.Net.pl

needs to be

/progress/dlc116A/tty/netlib/OpenEdge.Net.pl

Apperently it has trouble when already using pl's from tty (that are compiled) to mix it with uncompiled versions. Kind of makes sence, because it would probably miss includes.

I still find it weird that this is not in the default propath but it is solved.

All Replies

Posted by sebastien.vandonge@bertus.com on 03-Aug-2016 05:07

Turns out that we did make an error in the propath:

/progress/dlc116A/scr/netlib/OpenEdge.Net.pl

needs to be

/progress/dlc116A/tty/netlib/OpenEdge.Net.pl

Apperently it has trouble when already using pl's from tty (that are compiled) to mix it with uncompiled versions. Kind of makes sence, because it would probably miss includes.

I still find it weird that this is not in the default propath but it is solved.

Posted by Peter Judge on 04-Aug-2016 08:09

By this I mean that in 11.7+ the HTTP client will be available without having to make propath changes in the application.

This thread is closed