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 while generating service skeleton from WSDL

    Posted Tue June 09, 2015 09:59 AM

    Hi,

    we have problem with generating a service skeleton in RBD 9.1.1 from WSDL

     

    When generating the sevice skeleton there is this message:
    "An error occurred creating EGL model: null"

     

    The definition of this wsdl based on (UN/CEFACT) definitions. (I have attached the definition)

    Can anyone help me with this error?

     

    Regards
    Jan Willem.

    j.w.a.


  • 2.  Re: Error while generating service skeleton from WSDL

    Posted Wed June 10, 2015 02:23 AM

    I used java tool wsimport to parse the wsdl file, it took me more than 10 minutes to generate Java interface. It is really a complicated wsdl, guess RBD stop to parse the wsdl file before it is finished. So the error "model null" show up.

    JoshuaLyn


  • 3.  Re: Error while generating service skeleton from WSDL

    Posted Wed June 17, 2015 06:56 AM

    I have stripped the wsdl and (now local) xsd's, but the result is still the same.

    "An error occurred creating EGL model: null"

     

    This message is reported very soon! So it is not a time out!

     

    When I open the wdsl with "Test WEb Services Explorer" the status is
    IWAB0381I file:/D:/workspaceRBD91/orderservices/Elab101bus/wsdl/GetLaboratoryObservationReportService_v1_02.wsdl was successfully opened

     

    The stripped versions of WSDL and XSD are attached!

     

    Has anyone an other suggestions?

    j.w.a.


  • 4.  Re: Error while generating service skeleton from WSDL

    Posted Tue July 21, 2015 08:43 AM

    The problem is (almost) solved.

    RBD can handle a wsdl that uses unwrapped xsd files. But.........
    1. Be sure that every element has a type definition.
           (Otherwise "generate service skeleton" will end with "An error occurred creating EGL model: null")
    2. The input element of the service should have the same name as the operation
    (Otherwise "generate service skeleton" will end with "EGL only supports RPC and Document Literal Wrapped web services for top down design.........."
    3. Be careful with restrictions
          (If an element has not one of the restricted values the service call will in error: "
    Error 500: java.io.IOException: WSWS3701E: Error: An exception was encountered.  Use the wsdeploy command to deploy your application.")
    4. Empty elements with a restriction can also cause the problem mentioned in case 3.

    All these problems occurred building this service, but the service is up and running now.
    (With a workaround for case 3+4. The final definition is added as an example!)

    One additional problem to be solved: RBD can't handle a xsd:positiveInteger.

    Regards
    Jan Willem.

    j.w.a.