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

Creating a simple integration

  • 1.  Creating a simple integration

    Posted Fri February 21, 2003 01:44 AM

    Hi,

    I want to create a simple integration that involved receiving the file from a remote server and converting it to a XML file and send out another partner using HTTP.

    Are there any graphical tools available with WM or do I have write a code or use existing codes to that?

    thanks !


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


  • 2.  RE: Creating a simple integration

    Posted Fri February 21, 2003 02:01 AM

    I don’t know what software you have installed, but you will need the developer IDE. If you plan to write your own java code, then you will need to run JCode. Information on both can be obtained in the Developer’s user guide and the developer tutorial.

    Ray


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


  • 3.  RE: Creating a simple integration

    Posted Fri February 21, 2003 03:36 AM

    Thanks Ray for the kind reply , I have installed Integration server and webMethods Developer.


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


  • 4.  RE: Creating a simple integration

    Posted Fri February 21, 2003 04:25 AM

    This is a good tutorial that will help you understand how the objects in webMethods IS relate to other things you have worked with in the past. Also, there is a built-in services guide. I suggest you print this guide out since it contains the most crucial information for a developer. Hope this helps.

    Ray


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


  • 5.  RE: Creating a simple integration

    Posted Fri February 21, 2003 06:25 AM

    I am probably doing the most simple thing on earth , but cant get it to work

    I cant event doa simple FTP get and FTP send, I am trying that now.

    I am picking a file from remote server using and sending to a nother server !

    I get errors,

    I am using first service as FTP, second as get and third as put

    Any particular manual , if are aware of point me to ?


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


  • 6.  RE: Creating a simple integration

    Posted Fri February 21, 2003 03:27 PM

    Did you try ISBuiltInServicesGuide? This one has the descriptions about the ftp services.
    Good Luck and dont worry. You can do it!


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


  • 7.  RE: Creating a simple integration

    Posted Fri February 21, 2003 04:16 PM

    Note that an FTP put to an Integration Server is an invoke of a service.

    What errors do you get?
    What operation are you performing when you get the errors?


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


  • 8.  RE: Creating a simple integration

    Posted Sat February 22, 2003 12:57 PM

    First of all, I thought by "common sense " Ill be able to run this ,

    this is what I want to do:

    1. Pick ffile from local machine ( windows 2000) and send it to remore machine which is Unix using FTP

    I had created a new Flow Service called " FTP"

    To this I Added the following

    pub.clinet.ft ----> pub.client.ftp.get ------> pub.client.ftp.put

    I have specified the local gile as c:\test\abcd and remote file as /home/test/abc and have specified user name and password, the error that get is :

    2003-02-22 23:20:43 GMT+11:00 com.wm.app.b2b.server.ServiceException: Not logged in!
    at com.wm.util.LocalizedException.(LocalizedException.java:65)
    at com.wm.app.b2b.server.ServerException.(ServerException.java:35)
    at com.wm.app.b2b.server.ServiceException.(ServiceException.java:20)
    at com.wm.app.b2b.server.Service.throwError(Service.java:360)
    at pub.client.ftp.get(ftp.java:459)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:288)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:688)
    at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:64)
    at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:166)
    at com.wm.app.b2b.server.HTTPDispatch.run(HTTPDispatch.java:457)
    at com.wm.util.pool.PooledThread.run(PooledThread.java:103)
    at java.lang.Thread.run(Thread.java:498)


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


  • 9.  RE: Creating a simple integration

    Posted Sat February 22, 2003 01:32 PM

    I have probably worked it out , I have this used only “ftp” and within that I have specified command as “put” and I was thinking that I need to specify the flow as to first pick the file using pub.client.get and then user pub.client.ftp and then pub.client.ftp.put in the flow.

    thanks all of you for your time.

    I now getting this different error : Command STOR failed


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