[Progress Communities] [Progress OpenEdge ABL] Forum Post: .Net classes are giving run time error.

  • Thread starter Thread starter Sivarami Reddy Marella
  • Start date Start date
Status
Not open for further replies.
S

Sivarami Reddy Marella

Guest
Hi, I am able to compile the below code successfully, when I am calling this program I am getting the below run time error. Could not access element 'GetHash' of class 'OpenEdge.Core.ByteBucket' using object of type 'OpenEdge.Core.ByteBucket' - caller compilation is out of sync with class compilation. (12882) USING Progress.Lang.Object. USING OpenEdge.Core.WidgetHandle. USING OpenEdge.Core.String. USING Progress.Json.ObjectModel.*. USING OpenEdge.Net.HTTP.IHttpRequest. USING OpenEdge.Net.HTTP.RequestBuilder. USING OpenEdge.Net.HTTP.IHttpClientLibrary. USING OpenEdge.Net.HTTP.lib.ClientLibraryBuilder. USING OpenEdge.Net.HTTP.IHttpResponse. USING OpenEdge.Net.HTTP.ClientBuilder. USING OpenEdge.Net.HTTP.ResponseBuilder. IF (ipc_Action = "Create") THEN DO: PUT "CREATE - POST" SKIP. PUT "gc_URL:" SKIP. PUT gc_URL FORMAT "x(1000)" SKIP. http_Request = RequestBuilder:POST( gc_URL, obj_Json ) :ContentType('application/json') :AcceptJson() :Request NO-ERROR. END. /* PUT (Update) to CRM */ IF (ipc_Action = "Update") THEN DO: PUT "UPDATE - PUT" SKIP. PUT "gc_URL:" SKIP. PUT gc_URL FORMAT "x(1000)" SKIP. http_Request = RequestBuilder:PUT( gc_URL, obj_Json ) :ContentType('application/json') :AcceptJson() :Request NO-ERROR. END. ASSIGN http_Lib = ClientLibraryBuilder:Build():sslVerifyHost(NO):library http_Client = ClientBuilder:Build():UsingLibrary(http_Lib):Client http_Response = ResponseBuilder:Build():Response . http_Client:Execute(http_Request, http_Response) /* NO-ERROR */. I am getting the error while running this line - http_Client:Execute(http_Request, http_Response) /* NO-ERROR */. Thanks, Sivarami Reddy

Continue reading...
 
Status
Not open for further replies.
Back
Top