Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Running Transformations via HTTP call or as service

  1. #1

    Default Running Transformations via HTTP call or as service

    Hello,
    I have created a Pentaho job which basically accepts the XML as parameter. Now I have to call this JOB from another application which will pass the XML into this job and do the transformation for it.
    Problem: How can I convert this JOB into Service that it can be called over HTTP as service. I should be able to pass XML as argument into it. I donot need web service. Simple HTTP rest service will work also. MY XML size is big more that 400 lines.

    I want to host this service on my local desktop. there is no remote server for it.
    One of the option I have found is Carte server to run the job as service.
    I have tried it but I am not able to register my job into Carte service.
    I am not using any repository. One of the solution suggested to me to register by Matt is

    http://source.pentaho.org/svnkettler...nsServlet.java


    It reads a TransConfiguration in XML. (use: toXML(), fromXML())
    I don't know what is the format for TransConfiguration and how to create that ?

    I will appreciate if somebody can provide me simple step by step instructions for it. I have spend too much time on it.
    Thanks
    Swadheen
    Last edited by swadhee@searshc.com; 03-03-2009 at 01:27 PM.

  2. #2
    Join Date
    Mar 2009
    Posts
    9

    Default

    We also have a requirement for a similar use case : Exposing the Transformation via a web service. Carte exposes the ability to start/ stop jobs / transformations. It does not provide the functionality to read the input parameters over HTTP (SOAP). That would a feature request.
    Having this functionality would help in integrating the ETL capabilities of Pentaho with external applications / BPM systems (Tibco iProcess Suite, etc).

    btw, TransConfiguration contains the Transformation Metadata, and that is not what you should be looking at to pass your XML input.

    Some docs about Carte :
    http://wiki.pentaho.com/display/EAI/...+Documentation
    http://wiki.pentaho.com/display/EAI/...Transformation

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.