Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Post XML as Variable to a Webserver

  1. #1
    Join Date
    Feb 2011
    Posts
    5

    Default Post XML as Variable to a Webserver

    Hi all!

    I have a problem in Kettle and i need your help!


    I have to post a XML as a Variable to a Webserver. And i dont know how can i do this.

    Here is the job definition:

    Code:
    The XML must be POSTed to the webserver with the XML as the variable: "contentstring". 
    The POST target is: 
    http://URL/wo/Services/com/interfaces/ssGenericInterfaceIncoming.php
    this is an example of a working solution

    Code:
    <html>
    <body>
    
    <form name="someForm" method="POST"
    action="http://URL/wo/Services/com/interfaces/ssGenericInterfaceIncoming.php">
    
    <textArea name="contentstring" rows="30" cols="90">
    </textArea>
    
    <button type="submit">OK</button>
    </form>
    
    </body>
    </html>
    but is in html, and i need a solution for Kettle.


    PLEASE HELP ME!


    Ty

    Aminur

  2. #2
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    Did you try to use the "HTTP Post" step?

  3. #3
    Join Date
    Feb 2011
    Posts
    5

    Default

    Yes, i tryed, but i dont found where i can set this variable

  4. #4
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    In the "Fields" tab.

  5. #5
    Join Date
    Feb 2011
    Posts
    5

    Default

    is not working

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.