IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Bindings empty in a existing importing CAF project

  • 1.  Bindings empty in a existing importing CAF project

    Posted Fri January 20, 2023 02:51 PM

    What product/components do you use and which version/fix level are you on?

    webMethods CAF 10.5

    Is your question related to the free trial, or to a production (customer) instance?

    Production Instance

    What are you trying to achieve? Please describe it in detail.

    Im trying to import an existing CAF project but when I do this that project is imported with errors and Bindings empty. This projects are not mine, they are in a git. I’ve downloaded and import like this:
    File > Import > General > Existing Projects into Workspace
    File > Import > General > Archive File
    File > Import > General > Projects from Folder or Archive
    File > Import > Software AG > Existing CAF Projects into Workspace
    File > Import > Git > Projects from Git

    All above options works fine, but when the UI project is showed in Solution > Default Solution > User Interface and I open the project, the Bindings just show something like this:
    image

    With out objects, variables and webServices consumes. Just providers and beans. And in the problems tab a lot of errors are shown:

    ApplicationScoped cannot be resolved to a type
    BaseTaskDetailsPageBean cannot be resolved to a type
    BeanType cannot be resolved to a variable

    Do you think this is about Designer version? Or is just the project was not well exported?


    #webMethods
    #MWS-CAF-Task-Engine


  • 2.  RE: Bindings empty in a existing importing CAF project

    Posted Fri January 20, 2023 04:12 PM

    Hello Jesus

    Delete the project from your Designer Workspace to start again.

    The method you should use to import the CAF project is:

    File > Import > Software AG > Existing CAF Projects into Workspace
    Then select the archive file, and the project within it.

    See if the bindings look ok. If not, I believe you can right-click on the project and select Refresh or Repair (I don’t have Designer available right now, but I’ve done a lot of imports in the past. It’s just been awhile :slight_smile: )
    I believe on the Designer menu there is also a Repair option under the Projects.

    Anyway, typically a refresh or repair will fix this.

    Let us know what happens.

    Wayne


    #MWS-CAF-Task-Engine
    #webMethods


  • 3.  RE: Bindings empty in a existing importing CAF project

    Posted Fri January 20, 2023 06:04 PM

    Hello, Wayne.
    There is not an archive file, actually is just a folder with the project inside it. I’ve imported the project as you said but didn’t work. Ive refreshed and repaired it and didn’t work neither. Ive cleaned the project as well and didnt work.

    Is there a way to download the project from MWS?


    #MWS-CAF-Task-Engine
    #webMethods


  • 4.  RE: Bindings empty in a existing importing CAF project

    Posted Sun January 22, 2023 03:08 PM

    Are you sure it’s a webMethods CAF project?
    Do you know how it was originally created in Designer?


    #webMethods
    #MWS-CAF-Task-Engine


  • 5.  RE: Bindings empty in a existing importing CAF project

    Posted Mon January 23, 2023 11:21 AM

    Yes, it must be because I can see the portlet in MWS. That project was created by other company, now my company is going to develop new features in it. That project is on git repository and it supposed to be a valid CAF project. This is it structure:
    image


    #MWS-CAF-Task-Engine
    #webMethods


  • 6.  RE: Bindings empty in a existing importing CAF project

    Posted Mon January 23, 2023 11:33 AM

    Hi Jesus. Like I said, I don’t have Designer access right now, but in the back of my memory I recall a Refresh icon in the bindings view.
    Can you look in the Bindings view and if you see a refresh icon, then try it?
    bindings refresh

    I will ask around to some of my colleagues.


    #webMethods
    #MWS-CAF-Task-Engine


  • 7.  RE: Bindings empty in a existing importing CAF project

    Posted Mon January 23, 2023 11:55 AM

    Hello. I’ve tried with that icon but nothing happens. I mean, it refresh of course but I cant see the bindings well yet.
    I think the project is not a valid one. Thank you so much for your help anyways.


    #webMethods
    #MWS-CAF-Task-Engine


  • 8.  RE: Bindings empty in a existing importing CAF project

    Posted Mon January 23, 2023 12:05 PM

    Yes, it does seem broken somehow, or is not a webMethods CAF project.


    #MWS-CAF-Task-Engine
    #webMethods


  • 9.  RE: Bindings empty in a existing importing CAF project

    Posted Mon January 23, 2023 02:24 PM

    @JesusVass
    I received some info from a colleague saying “Probably they just need to add the MWS runtime as a classpath dependency of their CAF project”.
    This is something you can look into.


    #MWS-CAF-Task-Engine
    #webMethods


  • 10.  RE: Bindings empty in a existing importing CAF project

    Posted Wed January 25, 2023 12:40 PM

    Gorgeous! That was the solution! Thank to you and your colleague so much, Wayne!


    #webMethods
    #MWS-CAF-Task-Engine