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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Java Source not available

  • 1.  Java Source not available

    Posted Wed March 26, 2014 03:31 AM

    When i trying to create or trying to open existed java service, i am unable to see the source code. It is showing like below image.

    Already existed java services were created by me only. How can make visible the source code.

    Screen.png


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Java Source not available

    Posted Wed March 26, 2014 03:42 AM

    Akash,

    java.frag files are missing in ns directory under the package on your file system. Can you have a look at that.

    Are these java services are coded by you or it is provided by SAG (Eg. WmPublic)


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Java Source not available

    Posted Wed March 26, 2014 03:52 AM

    These java services are coded by me only. And java.frag files are not missing.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 4.  RE: Java Source not available

    Posted Wed March 26, 2014 03:59 AM

    Strange :slight_smile:

    Do you have .java file under /code/source/


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Java Source not available

    Posted Wed March 26, 2014 04:10 AM


  • 6.  RE: Java Source not available

    Posted Wed March 26, 2014 05:08 AM

    Really strange. For now I can only suggest these options:

    1> Reload the package
    2> Copy paste the java service in a different folder under different package, save and compile.
    3> Check if the shared tab is showing something.
    4> Try to run java service with required inputs and see whether you are getting required output.
    5> Last option is to recreate your java service from .java file :slight_smile:


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 7.  RE: Java Source not available

    Posted Wed March 26, 2014 12:39 PM

    on the service under the package navigation tree, right click: Properties
    check permission settings. make sure you have write permission


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 8.  RE: Java Source not available

    Posted Wed March 26, 2014 01:08 PM

    Thanks Tong. Worth trying what he suggested.

    I am still using developer. Not used to designer yet :!:


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 9.  RE: Java Source not available

    Posted Sun April 06, 2014 03:16 AM

    Akash WM,

    Even I faced the same issue on wM 8.2 designer “java service (user created) source not available (the issue is intermittent)”. Even I tried changing the permission on properties, reload, refresh etc but it did not work for me.

    Workaround: Copy paste the java service in a different folder name under same package, save and unlock the java service. Later on you can rename the folder that you created in the first step.

    Let me know if you have any other fix/workaround for this.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 10.  RE: Java Source not available

    Posted Thu May 22, 2014 04:39 PM

    Time to time I have same problem with 9.0, I’m using Java Perspective to refresh the package/project in worst case restarting designer…


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 11.  RE: Java Source not available

    Posted Fri May 23, 2014 02:55 AM

    Martin - Did you try the above workaround?


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 12.  RE: Java Source not available

    Posted Mon November 03, 2014 05:18 PM

    if java service is working in one environment and not working in other environment , check the node.idf file.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB