Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Carte Web Services

  1. #1
    Join Date
    May 2007

    Default Carte Web Services

    I am trying to integrate carte in a web application.
    I have my vibed web server running and I would like to use the carte web services to execute transformations and jobs. While I can successfully execute a transformation using "" I believe the proper way to achieve a performant result would be to load the transformation(s) on start up and then run them. I have tried "" and this produces the following result. The attached file is the xml I am using in the body of the post. Any guidance or link to some examples would be sincerely appreciated.

    <TITLE>Add transformation</TITLE>
    at java.lang.AbstractStringBuilder.
    at java.lang.StringBuilder.
    at org.pentaho.di.http://www.AddTransServlet.doGet(
    at javax.servlet.http.HttpServlet.service(
    at javax.servlet.http.HttpServlet.service(
    at org.eclipse.jetty.servlet.ServletHolder.handle(
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(
    at org.eclipse.jetty.servlet.ServletHandler.doScope(
    at org.eclipse.jetty.server.session.SessionHandler.doScope(
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(
    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(
    at org.eclipse.jetty.server.handler.HandlerList.handle(
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
    at org.eclipse.jetty.server.Server.handle(
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(
    at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(
    at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(
    at org.eclipse.jetty.http.HttpParser.parseNext(
    at org.eclipse.jetty.http.HttpParser.parseAvailable(
    at org.eclipse.jetty.server.BlockingHttpConnection.handle(
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
    at org.eclipse.jetty.util.thread.QueuedThreadPool$

    Attached Files Attached Files

  2. #2
    Join Date
    Jun 2012


    Did you try /addTrans with a simpler transformation?
    You can add your Report later, and output redirection as soon as the Report is run successfully.

    BTW: Documentation says you should use registerTrans instead of addTrans - addTrans is deprecated since version 6.
    So long, and thanks for all the fish.

  3. #3
    Join Date
    May 2007



    I tried the registerTrans service with no better result using the same xml. The I tried a simpler transformation and still encountered an error which indicates that the fault was a premature eof.

    The xml used is an exact copy of the .ktr file and using the indicated the file contained valid xml.

    Are there any samples available. Looking at the xml i could not find the execution or configuration tags required according to the documentation.

    Thanks for quick response and the I appreciate any assistance you can provide.


  4. #4
    Join Date
    May 2007


    Too anyone who finds the post,
    I was using the wrong URL which had an error in the path. Secondly, as pointed out by Marabu I should be using registerTrans instead of addTrans. And lastly what was not clear to my experience person is the .ktr file xml simply must be enclosed with a
    <tansformation_configuration> .........</transformation_configuration>

Tags for this Thread

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.