EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
  • 1.  Error accessing Local EGL Service via interface.

    Posted Thu September 19, 2019 09:26 AM

    Guys, I'm trying to access an interface via RUI and I get the message:

    ServiceBindingException=[[CRRUI3651E] A chave de ligação de serviços : "imovatestadorhservice" não existe no descritor de implementação "wgrh1099rui"] 

    Bug Search:

    CRRUI3651E Service binding key : key_name does not exist in the deployment descriptor descriptor_name

    Already search the literature:

    https://www.ibm.com/support/knowledgecenter/en/SSMQ79_9.5.1/com.ibm.egl.pg.doc/topics/pegl_serv_accessing.html

    https://www.ibm.com/support/knowledgecenter/en/SSMQ79_9.5.1/com.ibm.egl.pg.doc/topics/pegl_ui_richui_rest_synchronous.html

    https://www.ibm.com/support/knowledgecenter/SSMQ79_9.5.1/com.ibm.egl.pg.doc/topics/pegl_serv_local_service.html

    https://www.ibm.com/support/knowledgecenter/SSMQ79_9.5.1/com.ibm.egl.pg.doc/topics/pegl_serv_binding_variable_tsk.html

    What am I doing:

    1. I have an EGL project for Services.
      1. In this project I have data access services;
      2. In the package "br.com.xpto.rui.common.daccess", I have the "dedicated service
      3. In the package "br.com.xpto.rui.common.db.interfaces", I have the interface of this service "IMovAtestadoRhServic
    2. I have another EGL RUI project
      1. I am trying to access the interface through RUI and return me the error described above.
      2. The project was defined with the name: WGRH1099Rui
      3. Created the package "br.com.xpto.rui.common.db.interfaces";
        1. This project has the same interface mentioned in item 1.c "IMovAtestadoRhService", imported from that project.
      4. Created the package "br.com.xpto.rui.rh.esocialUI.handlers";
        1. In this project there are three Rui´s, and I am working with Rui "WGRH1098".
      5. The DD file is named "WGRH1099Rui.egldd":
        1. Service Bindings was created as instructed in literature.
        2. Target on the Overview tab is named WGRH1098
    3. Project images attached
    ojomenezes


  • 2.  Re: Error accessing Local EGL Service via interface.

    Posted Fri September 20, 2019 02:04 AM


  • 3.  Re: Error accessing Local EGL Service via interface.

    Posted Fri September 20, 2019 06:26 AM

    Hi Osvaldo,

     

    It looks like this is using a Dedicated Service where that needs to be declared using the @DedicatedService annotation, not the @BindService annotation as you have.
    myInterfaceService IMovAtestadoRhService{@dedicatedService }
    You already have the related doc describing that in your description ie:
    https://www.ibm.com/support/knowledgecenter/SSMQ79_9.5.1.1/com.ibm.egl.pg.doc/topics/pegl_serv_local_service.html

    As you can see you are trying to access it as a local EGL service and that is not supported in Rich UI which only supports Web services and dedicated services.
    Refer to https://www.ibm.com/support/knowledgecenter/SSMQ79_9.5.1.1/com.ibm.egl.pg.doc/topics/pegl_serv_access_detail_richui.html
    Section "Services that can be accessed from Rich UI"
    With Dedicated Services it is not needed to create service binding, they do not use the deployment descriptor.
    Can you alter this and let us know the result please?

    If you then still have additional problems,errors feel free to raise a support ticket so I can spend some time on investigating it.

    Thanks and Regards
    Mark

    Mark Hall

    HCL Technologies
    RBD L2 Support

    ----------------------------------------------------
    My access to my IBM email address has been removed so please feel free to mail me directly via hallm@hcl.com in future.

     

    mrhall