OpenEdge.Net.pl - Forum - OpenEdge Development - Progress Community
 Forum

OpenEdge.Net.pl

This question is not answered

Hi,

I am trying to use OpenEdge.Net.pl. The propath is C:/JCA/OpenEdge.Net.pl and I have include the libray, compiler is giving below error messages:

Impossibile trovare la classe o interfaccia OpenEdge.Net.HTTP.RequestBuilder. (12886)

** Impossibile interpretare linea 1. (196)
Impossibile trovare la classe o interfaccia OpenEdge.Net.HTTP.IHttpRequest. (12886)
** Impossibile interpretare linea 2. (196)
Tipo di dati specificato non valido: IHttpRequest. Specificare un tipo di dati come 'character' o il nome di una classe. (5638)
** Impossibile interpretare linea 5. (196)

OpenEdge V. 11.7 and OS - Windows.

Thanks in advance,

G.

All Replies
  • I disabled firewall and antivirus.
    Working only with http not with https.
    Besides sometimes OE shows another error:
     
    Considering that http://obsv:5493/sdata/SageStart/SageStart/SAGE/Clients is internal resource on my PC.
     
    Da: Mike Fechner [mailto:bounce-mikefechner@community.progress.com]
    Inviato: sabato, 12. maggio 2018 09:02
    A: TU.OE.Development@community.progress.com
    Oggetto: RE: [Technical Users - OE Development] OpenEdge.Net.pl
     
    Update from Progress Community
     
    Server not accessible? Server software not started?
     
    (Personal) firewall active?
     
    Try to open a web browser on that address:
     
     
     
    Von: Giancarlo Alberto Somma <bounce-obonelinux@community.progress.com>
    Gesendet: Samstag, 12. Mai 2018 08:58
    An: TU.OE.Development@community.progress.com
    Betreff: RE: [Technical Users - OE Development] OpenEdge.Net.pl
     
    /cfs-file/__key/communityserver-discussions-components-files/19/81351.image001.png
    Update from Progress Community
    /cfs-file/__key/communityserver-discussions-components-files/19/2746.image002.jpg
     
    Thanks Mike. That’s right. But I have another error:
     
     
    In both code.
     
    oRequest = RequestBuilder:POST(httpUrl, oXMLRequestData):ContentType("application/xml")
                     :AcceptXml()
                     // Add credentials to the request
                     //:UsingBasicAuthentication(oCredentials)
                     :Request.  */
                    
                   
    DEF VAR lcXml AS LONGCHAR.
    COPY-LOB FILE "c:/jca/temp/entity.xml" to lcXml.
    oRequest = RequestBuilder:POST(httpUrl, NEW OpenEdge.Core.String(lcXml))
                   :AcceptJson() /* we want to get JSON back */
                   // :UsingBasicAuthentication(oCredentials)
                   :Request.
     
     
    Da: Mike Fechner [mailto:bounce-mikefechner@community.progress.com]
    Inviato: venerdì, 11. maggio 2018 23:52
    A: TU.OE.Development@community.progress.com
    Oggetto: RE: [Technical Users - OE Development] OpenEdge.Net.pl
     
    Update from Progress Community
     
    If xmlfile is a Character variable holding a file-name, the first parameter of the LOAD method should be “FILE”
     
    Von: Giancarlo Alberto Somma <bounce-obonelinux@community.progress.com>
    Gesendet: Freitag, 11. Mai 2018 22:21
    An:
    TU.OE.Development@community.progress.com
    Betreff: RE: [Technical Users - OE Development] OpenEdge.Net.pl
     
    /cfs-file/__key/communityserver-discussions-components-files/19/380367.image001.png
    Update from Progress Community
    /cfs-file/__key/communityserver-discussions-components-files/19/5430.image002.jpg
     

    Hi Peter,

    I tried a lot of solutions without success. My problem is to define object for XML data file. An help is appreciate. Thx a lot in advance.

    xmlfile = "c:/jca/temp/entity.xml".

    hXmlRequestData:LOAD("LONGCHAR", xmlfile, FALSE).

    httpUrl = "obsv:5493/.../Clients".

    oXmlRequestData = NEW WidgetHandle(hXmlRequestData).

    oRequest = RequestBuilder:POST(httpUrl, oXMLRequestData):ContentType("application/xml")

                    :AcceptXml()

                    :Request.

    View online

     

    You received this notification because you subscribed to the forum.  To unsubscribe from only this thread, go here.

    Flag this post as spam/abuse.

    Das Bild wurde vom Absender entfernt.
     

    View online

     

    You received this notification because you subscribed to the forum.  To unsubscribe from only this thread, go here.

    Flag this post as spam/abuse.

    Das Bild wurde vom Absender entfernt.
     
     
    Das Bild wurde vom Absender entfernt.
    Mail priva di virus. www.avast.com

    View online

     

    You received this notification because you subscribed to the forum.  To unsubscribe from only this thread, go here.

    Flag this post as spam/abuse.

    Das Bild wurde vom Absender entfernt.
     

    View online

     

    You received this notification because you subscribed to the forum.  To unsubscribe from only this thread, go here.

    Flag this post as spam/abuse.

     
  • This for https:
     
     
    Da: Mike Fechner [mailto:bounce-mikefechner@community.progress.com]
    Inviato: sabato, 12. maggio 2018 09:02
    A: TU.OE.Development@community.progress.com
    Oggetto: RE: [Technical Users - OE Development] OpenEdge.Net.pl
     
    Update from Progress Community
     
    Server not accessible? Server software not started?
     
    (Personal) firewall active?
     
    Try to open a web browser on that address:
     
     
     
    Von: Giancarlo Alberto Somma <bounce-obonelinux@community.progress.com>
    Gesendet: Samstag, 12. Mai 2018 08:58
    An: TU.OE.Development@community.progress.com
    Betreff: RE: [Technical Users - OE Development] OpenEdge.Net.pl
     
    /cfs-file/__key/communityserver-discussions-components-files/19/81351.image001.png
    Update from Progress Community
    /cfs-file/__key/communityserver-discussions-components-files/19/2746.image002.jpg
     
    Thanks Mike. That’s right. But I have another error:
     
     
    In both code.
     
    oRequest = RequestBuilder:POST(httpUrl, oXMLRequestData):ContentType("application/xml")
                     :AcceptXml()
                     // Add credentials to the request
                     //:UsingBasicAuthentication(oCredentials)
                     :Request.  */
                    
                   
    DEF VAR lcXml AS LONGCHAR.
    COPY-LOB FILE "c:/jca/temp/entity.xml" to lcXml.
    oRequest = RequestBuilder:POST(httpUrl, NEW OpenEdge.Core.String(lcXml))
                   :AcceptJson() /* we want to get JSON back */
                   // :UsingBasicAuthentication(oCredentials)
                   :Request.
     
     
    Da: Mike Fechner [mailto:bounce-mikefechner@community.progress.com]
    Inviato: venerdì, 11. maggio 2018 23:52
    A: TU.OE.Development@community.progress.com
    Oggetto: RE: [Technical Users - OE Development] OpenEdge.Net.pl
     
    Update from Progress Community
     
    If xmlfile is a Character variable holding a file-name, the first parameter of the LOAD method should be “FILE”
     
    Von: Giancarlo Alberto Somma <bounce-obonelinux@community.progress.com>
    Gesendet: Freitag, 11. Mai 2018 22:21
    An:
    TU.OE.Development@community.progress.com
    Betreff: RE: [Technical Users - OE Development] OpenEdge.Net.pl
     
    /cfs-file/__key/communityserver-discussions-components-files/19/380367.image001.png
    Update from Progress Community
    /cfs-file/__key/communityserver-discussions-components-files/19/5430.image002.jpg
     

    Hi Peter,

    I tried a lot of solutions without success. My problem is to define object for XML data file. An help is appreciate. Thx a lot in advance.

    xmlfile = "c:/jca/temp/entity.xml".

    hXmlRequestData:LOAD("LONGCHAR", xmlfile, FALSE).

    httpUrl = "obsv:5493/.../Clients".

    oXmlRequestData = NEW WidgetHandle(hXmlRequestData).

    oRequest = RequestBuilder:POST(httpUrl, oXMLRequestData):ContentType("application/xml")

                    :AcceptXml()

                    :Request.

    View online

     

    You received this notification because you subscribed to the forum.  To unsubscribe from only this thread, go here.

    Flag this post as spam/abuse.

    Das Bild wurde vom Absender entfernt.
     

    View online

     

    You received this notification because you subscribed to the forum.  To unsubscribe from only this thread, go here.

    Flag this post as spam/abuse.

    Das Bild wurde vom Absender entfernt.
     
     
    Das Bild wurde vom Absender entfernt.
    Mail priva di virus. www.avast.com

    View online

     

    You received this notification because you subscribed to the forum.  To unsubscribe from only this thread, go here.

    Flag this post as spam/abuse.

    Das Bild wurde vom Absender entfernt.
     

    View online

     

    You received this notification because you subscribed to the forum.  To unsubscribe from only this thread, go here.

    Flag this post as spam/abuse.

     
  • Hi Mike, Peter,
     
    what I have to looking for this error.
    Thx a lot.
     
    Da: Mike Fechner [mailto:bounce-mikefechner@community.progress.com]
    Inviato: sabato, 12. maggio 2018 09:02
    A: TU.OE.Development@community.progress.com
    Oggetto: RE: [Technical Users - OE Development] OpenEdge.Net.pl
     
    Update from Progress Community
     
    Server not accessible? Server software not started?
     
    (Personal) firewall active?
     
    Try to open a web browser on that address:
     
     
     
    Von: Giancarlo Alberto Somma <bounce-obonelinux@community.progress.com>
    Gesendet: Samstag, 12. Mai 2018 08:58
    An: TU.OE.Development@community.progress.com
    Betreff: RE: [Technical Users - OE Development] OpenEdge.Net.pl
     
    /cfs-file/__key/communityserver-discussions-components-files/19/81351.image001.png
    Update from Progress Community
    /cfs-file/__key/communityserver-discussions-components-files/19/2746.image002.jpg
     
    Thanks Mike. That’s right. But I have another error:
     
     
    In both code.
     
    oRequest = RequestBuilder:POST(httpUrl, oXMLRequestData):ContentType("application/xml")
                     :AcceptXml()
                     // Add credentials to the request
                     //:UsingBasicAuthentication(oCredentials)
                     :Request.  */
                    
                   
    DEF VAR lcXml AS LONGCHAR.
    COPY-LOB FILE "c:/jca/temp/entity.xml" to lcXml.
    oRequest = RequestBuilder:POST(httpUrl, NEW OpenEdge.Core.String(lcXml))
                   :AcceptJson() /* we want to get JSON back */
                   // :UsingBasicAuthentication(oCredentials)
                   :Request.
     
     
    Da: Mike Fechner [mailto:bounce-mikefechner@community.progress.com]
    Inviato: venerdì, 11. maggio 2018 23:52
    A: TU.OE.Development@community.progress.com
    Oggetto: RE: [Technical Users - OE Development] OpenEdge.Net.pl
     
    Update from Progress Community
     
    If xmlfile is a Character variable holding a file-name, the first parameter of the LOAD method should be “FILE”
     
    Von: Giancarlo Alberto Somma <bounce-obonelinux@community.progress.com>
    Gesendet: Freitag, 11. Mai 2018 22:21
    An:
    TU.OE.Development@community.progress.com
    Betreff: RE: [Technical Users - OE Development] OpenEdge.Net.pl
     
    /cfs-file/__key/communityserver-discussions-components-files/19/380367.image001.png
    Update from Progress Community
    /cfs-file/__key/communityserver-discussions-components-files/19/5430.image002.jpg
     

    Hi Peter,

    I tried a lot of solutions without success. My problem is to define object for XML data file. An help is appreciate. Thx a lot in advance.

    xmlfile = "c:/jca/temp/entity.xml".

    hXmlRequestData:LOAD("LONGCHAR", xmlfile, FALSE).

    httpUrl = "obsv:5493/.../Clients".

    oXmlRequestData = NEW WidgetHandle(hXmlRequestData).

    oRequest = RequestBuilder:POST(httpUrl, oXMLRequestData):ContentType("application/xml")

                    :AcceptXml()

                    :Request.

    View online

     

    You received this notification because you subscribed to the forum.  To unsubscribe from only this thread, go here.

    Flag this post as spam/abuse.

    Das Bild wurde vom Absender entfernt.
     

    View online

     

    You received this notification because you subscribed to the forum.  To unsubscribe from only this thread, go here.

    Flag this post as spam/abuse.

    Das Bild wurde vom Absender entfernt.
     
     
    Das Bild wurde vom Absender entfernt.
    Mail priva di virus. www.avast.com

    View online

     

    You received this notification because you subscribed to the forum.  To unsubscribe from only this thread, go here.

    Flag this post as spam/abuse.

    Das Bild wurde vom Absender entfernt.
     

    View online

     

    You received this notification because you subscribed to the forum.  To unsubscribe from only this thread, go here.

    Flag this post as spam/abuse.

    Immagine rimossa dal mittente.
     
  • For HTTPS you will need to add the relevant certificate(s) to the OpenEdge certificate store using the certutil tool. There is more info in the documentation at https://documentation.progress.com/output/ua/OpenEdge_latest/gsins/managing-certificate-stores-for-openedge-clients.html#
     
  • Thanks Judge. But my error is also with http protocol. I don’t know what’s the problem now. What’s do you can suggest me? I’m locked. Many thanks.
     
    Da: Peter Judge [mailto:bounce-pjudge@community.progress.com]
    Inviato: lunedì, 14. maggio 2018 15:14
    A: TU.OE.Development@community.progress.com
    Oggetto: RE: [Technical Users - OE Development] OpenEdge.Net.pl
     
    Update from Progress Community
     
    For HTTPS you will need to add the relevant certificate(s) to the OpenEdge certificate store using the certutil tool. There is more info in the documentation at https://documentation.progress.com/output/ua/OpenEdge_latest/gsins/managing-certificate-stores-for-openedge-clients.html#
     

    View online

     

    You received this notification because you subscribed to the forum.  To unsubscribe from only this thread, go here.

    Flag this post as spam/abuse.

     

     Mail priva di virus. www.avast.com
  • This is a connection error, although that looks like an odd port for a web server you should still try to connect to the same URL (http://obsv:5493) in a web browser on the same machine where you try to connect from the Progress session. If it fails in the browser too then check the name resolution (DNS), doing a ping to 'obsv' does it at least translate the host name to an IP address (ping packages might not go through though). If the host name is resolved to an IP address then there might be other network related issues that makes the host unreachable, like being in a different network and no bridge set-up or simply a firewall on the server or somewhere in between (a router maybe). If the host name is not resolved to an IP address then you need to get the DNS setup fixed or obtain the server IP address and use that instead of the host name.

    If it does work from the browser then the browser have a proxy set-up so it does not connects directly to the server but through a middle man that is allowed to pass through the firewall, you need to check what kind of proxy is that (http, socks) and then it might be possible to talk with the middle man although the dialect is a bit different... no idea if Peter's implementation supports proxies, if not .NET WebClient should work fine for you since you've started the thread with a .NET migration of some sort. 

     
    Marian Edu

    Acorn IT 
    +40 740 036 212