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
  • 1.  How Inspect Pipeline References Working

    Posted Thu November 22, 2012 03:56 PM

    Hi ,

    Please help to understand how “Inspect Pipeline References” is working. I have knowledge on functionality of Inspect Pipeline References but how it is checking. Can we create our own java code to check similar kind of functionality? If anyone tried before please share the code of that service.

    Thanks,
    Mohankumar


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


  • 2.  RE: How Inspect Pipeline References Working

    Posted Mon November 26, 2012 05:46 AM

    Why do you want to write an “inspect Pipeline”? If you are interested in some value from Pipeline, then get it instead. Try to keep Pipeline to its bare minimum anyway.


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


  • 3.  RE: How Inspect Pipeline References Working

    Posted Tue November 27, 2012 09:35 AM

    Thanks for ur reply amank, I can get pipeline value, i hope that is not a concern here. But I want to write a code to inspect the flow what we written just for quality check like inspect pipeline reference (will give broken reference). So I guess how “Inspect Pipeline References” works internally will help me? Please anyone have an idea do update here…


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


  • 4.  RE: How Inspect Pipeline References Working

    Posted Tue February 05, 2013 01:07 PM

    Hi ,

    Re-open my old post, is any back ground service will run in IS if use “Inspect Pipeline References” from developer?


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


  • 5.  RE: How Inspect Pipeline References Working

    Posted Wed February 20, 2013 05:51 AM

    I am assuiming the flow service is complete, then you can inspect the physical file “flow.xml” and make head tail out of it.

    Or the easiest way is to write a java service and traverse the pipeline some where in runtime…with something like
    Object object = null;
    IDataCursor idc = pipeline.getCursor();
    if(idc.first(“object”))
    object = idc.getValue();
    if(object == null)
    throw some exception

    Then you need to dig further and check what is the type of Object that you have on hand, it could be array of objects or a node

    3rd Option is try playing with pub.schema:validatePipeline


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


  • 6.  RE: How Inspect Pipeline References Working

    Posted Sat February 23, 2013 10:38 AM

    Yes, Now I am checking with flow.xml file using java service. Do u have any example code for this kind of check could you post here?

    pub.schema:validatePipeline - I don’t have much idea on this. Let me check further on this.


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


  • 7.  RE: How Inspect Pipeline References Working

    Posted Tue February 26, 2013 08:29 AM

    Hi Mohan,
    What do you mean by “any back ground service will run in IS”. And i do not understand the reason for checking pipeline reference. Whenever you write any flow service always drop the unnecessary variables immediately no need to keep it for long so that you need to check it at later point of time whether it is in use or not.
    It will reduce memory usage as well. Memory used by unwanted variables.
    Apart from this if you have any specific reason of using “Inspect Pipeline References” service then please mention it.

    Regards,
    Vikas


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


  • 8.  RE: How Inspect Pipeline References Working

    Posted Tue February 26, 2013 01:56 PM

    Hi Vikas,

    [FONT=Verdana]I assumed that some service will be called when we click “Inspect Pipeline References” in developer. I am doing an util service to check the quality of flow service, as part of this I have to check any broken reference is present in the flow. This feature available in Developer so I just want re-uses.

    Simply want to replicate “Inspect Pipeline References” functionality in my code. Could u share your idea?

    Thanks
    Mohan
    [/FONT]


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