Hi Light, I hope you are well, and sorry for the delay. The steps you have followed seem correct but I was unable to reproduce your problem.
The only "mistake" I can think of that you possibly made by following the example is in the usage of the "Get Variables" transform. In the Get variables Transform did you fill in the variable in the following format "${ValueA}" if you wrote ValueA without the ${} it will return a fixed value and not the actual value. The parameters are also case sensitive. I see that we have not added a sample on how to use the Web Service Metadata type so I have created a ticket for this [1] kr, Hans [1] https://issues.apache.org/jira/browse/HOP-3905 On Sat, 16 Apr 2022 at 17:25, Light <player5...@yahoo.co.jp> wrote: > Hi all, > > > I have a question regarding Apache Hop Web Service. > > If you happen to have a free moment, I'd be very grateful if you could > give me your comment. > > > *********************************************************************************************************************** > > ã»Environment > > Windows 10 Pro 21 H2 > > Apache Hop 1.2.0 > > Adopt Open JDK 11.0.11 > > (I don't use any container.) > > > ã»Phenomenon > > I'm trying to run the pipeline with the REST API by referring to the > following site. > > https://hop.apache.org/manual/latest/hop-server/web-service.html > > > It seems that REST API can pass some parameters to pipeline according to > Request Example. > > However, in my environment, it didn't work correctly. > > I'd like to set the parameters of the pipeline using URI, but even if I > include the parameters in the URI, the pipeline is executed with the > default values. > > The re-procedure is shown below, so please correct me if I'm wrong. > > 1. Launch the Hop GUI by clicking [hop-gui.bat]. > 2. Create and define a pipeline(named [test1]) with a parameter (named > [ValueA]).(the default value is [TestA].) > 3. Create and define the WebService MetaData by following the above > site. > 4. Launch the HOP Server by clicking [hop-server.bat] with a config > that contains the metadafa folder. > 5. Launch a command prompt with administrator privileges and execute > the following command. > > curl --anyauth --user cluster:cluster -X GET > http://localhost:8083/hop/webService/?service=test1&ValueA=TestB > > 6.The pipeline runs and finish, but the parameter [ValueA] remains the > deafult value(TestA) , not TestB. > > > *********************************************************************************************************************** > > > Kind regards, > > Light >