GitHub user eleonora011 added a comment to the discussion: Trigger a pipeline
through an API
Good morning,
I am trying to configure a WebService and then schedule it.
When I invoke the call to trigger the WebService, I get the following error:
`org.apache.hop.core.exception.HopException:
Unable to find web service 'test_service'. You can set the metadata_folder in
the Hop server XML configuration
org.apache.hop.www.WebServiceServlet.doGet(WebServiceServlet.java:107)
org.apache.hop.www.HopServerServlet.doGet(HopServerServlet.java:69)
jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564)
jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
`
>From the configuration we are not able to identify the error. I am attaching
>the configurations.
WebService:
`{
"transformName": "Generate rows",
"virtualPath": "",
"fieldName": "id",
"filename": "${PROJECT_HOME}/test.hpl",
"bodyContentVariable": "",
"headerContentVariable": "",
"listingStatus": false,
"name": "test_service",
"runConfigurationName": "local",
"contentType": "application/json",
"enabled": true,
"statusCode": ""
}`
Hop Server XML:
```
<hop-server-config>
<hop-server>
<name>server-8181</name>
<hostname>localhost</hostname>
<port>8181</port>
<shutdownPort>8182</shutdownPort>
</hop-server>
<joining>true</joining>
<max_log_lines>0</max_log_lines>
<max_log_timeout_minutes>1440</max_log_timeout_minutes>
<object_timeout_minutes>1440</object_timeout_minutes>
<metadata_folder></metadata_folder>
</hop-server-config>
```
I tried to define the metadata folder in the XML without success, as follows:
/usr/local/tomcat/webapps/root/config/projects/default/metadata
For clarity, this is the image I am using to bring up the container:
apache/hop-web:latest
GitHub link:
https://github.com/apache/hop/discussions/6129#discussioncomment-15209162
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]