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.  Problem calling soap service from egl

    Posted Mon March 09, 2015 02:53 PM

    Hi,

     

    We are consuming an external web service from within our services project (java generation).

    This service ran fine in the past, but since our last update I receive the following error:

    EGL1604E An error occurred when trying to load a Web service. Could not resolve the WSDL port for external service MontovaGateway.

    Does anyone know what the issue might be?

    Thanks in advance,

    Bram

    Bram_Callewaert


  • 2.  Re: Problem calling soap service from egl

    Posted Mon March 09, 2015 03:14 PM

    Bram,

    The wsdlPort as defines at @WebBinding (or in the EGL Deployment Descriptor when @BindService is used) does not match the wsdl:port name in the WSDL. This name is case sensitive!

    Ortwin

    Ortwin


  • 3.  Re: Problem calling soap service from egl

    Posted Mon March 09, 2015 04:22 PM

    Hi Ortwin,

     

    Thanks for the help. I checked and the wsdl does not contain a wsdl:port tag. It does contain a port tag under the service tag.The contents of that tag seem to be correct. I have attached the wsdl and the xsd. Do you see any errors?

     

    I did see however that there is an error in the deployment results:

    Info: IWN.DEP.8302.i 0/0 The com.brain2.montova.gateway.services.soap.MontovaGateway part with the mol_webservicesWebBuildOptions build descriptor is being deployed from the \mol_webservices\EGLSource\mol_webservices.eglbld file.Error: IWN.DEP.8305.e 0/0 Deployment failed for WebBinding name:MontovaGateway.Error: IWN.DEP.8306.e 0/0 The following exception occurred: java.lang.IndexOutOfBoundsException:Index: 0, Size: 0Error: IWN.DEP.8305.e 0/0 Deployment failed for com.brain2.montova.gateway.services.soap.MontovaGateway.

    Would this be the main cause for the error?

    Thanks for your time!

     

    Bram_Callewaert


  • 4.  Re: Problem calling soap service from egl

    Posted Fri March 13, 2015 04:02 PM

    Hi Bram,

    When I import the WSDL I get 'The type BLOB is not supported for target system JAVASCRIPT'. After commenting out the record and the functions that use the BLOB field all generates without errors. I can not test it further for the endpoint is not available to me. I'm working in RBD 9.1.1.

    Hope you share the solution if you get it to work.

    Ortwin

    Ortwin


  • 5.  Re: Problem calling soap service from egl

    Posted Mon March 16, 2015 03:17 AM

    Thanks for trying, but I am generating for target system java.

    Could you try this in a EGL Web Project? That way I know if the issue is with my install only, or with RBD as a whole...

    Thanks!

    Bram_Callewaert


  • 6.  Re: Problem calling soap service from egl

    Posted Mon March 16, 2015 05:19 PM

    Bram,

    In an EGL Web project I do not get any errors at all.

    Generation and Deployment Results all finish succesfully.

    I used RBD 9.1.1

    Ortwin

    Ortwin


  • 7.  Re: Problem calling soap service from egl

    Posted Tue March 17, 2015 03:06 AM

    Thanks for trying. I now know the problem is with my installation. This narrows the search a lot.

     

    Bram_Callewaert