Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Open Studio ESB - route

Hello,
I can not launch my way to perform a test, I explain the context:

In order to understand ESB, I do some tests on Talend Open Studio for ESB.
On our ESB, we connected a database, and two applications. The first application is a thin client that sends requests to retrieve an attribute of the object stored in the database. Application 2 is a heavy client that retrieves an attribute set from the object.

A web service has been developed to answer the request of the application 1.

0683p000009LyN2.png

I tried to develop a route on Talend. It runs from an http request.

0683p000009LyzY.png

Nevertheless, the route does not run, I have an error with a cxf component. I can not install them, have you ever encountered this problem? Thank you for your help,


Mathieu
Labels (2)
12 Replies
Anonymous
Not applicable
Author

Did this error in the Studio or in the Karaf (runtime)? Can you send us the error?

Anonymous
Not applicable
Author

in the Studio.

 

Errors : 

Démarrage du job test2 a 11:28 30/07/2018.
[statistics] connecting to socket on port 3377
[statistics] connected
Failed to resolve endpoint: cxf://locator://locator/?allowStreaming=false&dataFormat=PAYLOAD&defaultOperationName=API_masseEauOperation&defaultOperationNamespace=http%3A%2F%2Fwww.talend.org%2Fservice%2F&endpointName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEauPort&headerFilterStrategy=%23CXF_PAYLOAD_HEADER_FILTER&in=%24%7Bin.header.id%29&properties.id=cSOAP_1&serviceName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEau&wsdlURL=%2FUsers%2Fmathieuperdrieau%2FDesktop%2FTOS_ESB-20180411_1414-V7.0.1%2FStudio%2Fworkspace%2FSANDRE_TEST%2Fservices%2FAPI_masseEau_0.1.wsdl due to: Failed to resolve endpoint: cxf://locator://locator/?allowStreaming=false&dataFormat=PAYLOAD&defaultOperationName=API_masseEauOperation&defaultOperationNamespace=http%3A%2F%2Fwww.talend.org%2Fservice%2F&endpointName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEauPort&headerFilterStrategy=%23CXF_PAYLOAD_HEADER_FILTER&in=%24%7Bin.header.id%29&properties.id=cSOAP_1&serviceName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEau&wsdlURL=%2FUsers%2Fmathieuperdrieau%2FDesktop%2FTOS_ESB-20180411_1414-V7.0.1%2FStudio%2Fworkspace%2FSANDRE_TEST%2Fservices%2FAPI_masseEau_0.1.wsdl due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{in=${in.header.id)}]
org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: cxf://locator://locator/?allowStreaming=false&dataFormat=PAYLOAD&defaultOperationName=API_masseEauOperation&defaultOperationNamespace=http%3A%2F%2Fwww.talend.org%2Fservice%2F&endpointName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEauPort&headerFilterStrategy=%23CXF_PAYLOAD_HEADER_FILTER&in=%24%7Bin.header.id%29&properties.id=cSOAP_1&serviceName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEau&wsdlURL=%2FUsers%2Fmathieuperdrieau%2FDesktop%2FTOS_ESB-20180411_1414-V7.0.1%2FStudio%2Fworkspace%2FSANDRE_TEST%2Fservices%2FAPI_masseEau_0.1.wsdl due to: Failed to resolve endpoint: cxf://locator://locator/?allowStreaming=false&dataFormat=PAYLOAD&defaultOperationName=API_masseEauOperation&defaultOperationNamespace=http%3A%2F%2Fwww.talend.org%2Fservice%2F&endpointName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEauPort&headerFilterStrategy=%23CXF_PAYLOAD_HEADER_FILTER&in=%24%7Bin.header.id%29&properties.id=cSOAP_1&serviceName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEau&wsdlURL=%2FUsers%2Fmathieuperdrieau%2FDesktop%2FTOS_ESB-20180411_1414-V7.0.1%2FStudio%2Fworkspace%2FSANDRE_TEST%2Fservices%2FAPI_masseEau_0.1.wsdl due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{in=${in.header.id)}]
	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:763)
	at org.apache.camel.builder.BuilderSupport.endpoint(BuilderSupport.java:377)
	at sandre_test.test2_0_1.test2.getCxfEndpoint(test2.java:138)
	at sandre_test.test2_0_1.test2.doConfig(test2.java:170)
	at sandre_test.test2_0_1.test2.configure(test2.java:147)
	at org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:462)
	at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:402)
	at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:383)
	at org.apache.camel.impl.DefaultCamelContext$1.call(DefaultCamelContext.java:1032)
	at org.apache.camel.impl.DefaultCamelContext$1.call(DefaultCamelContext.java:1029)
	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3268)
	at org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.java:1029)
	at org.apache.camel.main.MainSupport.postProcessCamelContext(MainSupport.java:612)
	at org.apache.camel.main.MainSupport.postProcessContext(MainSupport.java:550)
	at org.apache.camel.main.Main.doStart(Main.java:136)
	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
	at org.apache.camel.main.MainSupport.run(MainSupport.java:170)
	at sandre_test.test2_0_1.test2.run(test2.java:317)
	at sandre_test.test2_0_1.test2.runJobInTOS(test2.java:423)
	at sandre_test.test2_0_1.test2.main(test2.java:393)
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: cxf://locator://locator/?allowStreaming=false&dataFormat=PAYLOAD&defaultOperationName=API_masseEauOperation&defaultOperationNamespace=http%3A%2F%2Fwww.talend.org%2Fservice%2F&endpointName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEauPort&headerFilterStrategy=%23CXF_PAYLOAD_HEADER_FILTER&in=%24%7Bin.header.id%29&properties.id=cSOAP_1&serviceName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEau&wsdlURL=%2FUsers%2Fmathieuperdrieau%2FDesktop%2FTOS_ESB-20180411_1414-V7.0.1%2FStudio%2Fworkspace%2FSANDRE_TEST%2Fservices%2FAPI_masseEau_0.1.wsdl due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{in=${in.header.id)}]
	at org.apache.camel.impl.DefaultComponent.validateParameters(DefaultComponent.java:215)
	at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:139)
	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:716)
	... 19 more

Job test2 terminé à 11:28 30/07/2018. [Code sortie=1]
Anonymous
Not applicable
Author

Your endpoint looks incorrect. If you look at the error message it points out what it is struggling with. Your error includes this...

 

cxf://locator://locator/?allowStreaming=false&dataFormat=PAYLOAD&defaultOperationName=API_masseEauOperation&defaultOperationNamespace=http%3A%2F%2Fwww.talend.org%2Fservice%2F&endpointName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEauPort&headerFilterStrategy=%23CXF_PAYLOAD_HEADER_FILTER&in=%24%7Bin.header.id%29&properties.id=cSOAP_1&serviceName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEau&wsdlURL=%2FUsers%2Fmathieuperdrieau%2FDesktop%2FTOS_ESB-20180411_1414-V7.0.1%2FStudio%2Fworkspace%2FSANDRE_TEST%2Fservices%2FAPI_masseEau_0.1.wsdl due to: Failed to resolve endpoint: cxf://locator://locator/?allowStreaming=false&dataFormat=PAYLOAD&defaultOperationName=API_masseEauOperation&defaultOperationNamespace=http%3A%2F%2Fwww.talend.org%2Fservice%2F&endpointName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEauPort&headerFilterStrategy=%23CXF_PAYLOAD_HEADER_FILTER&in=%24%7Bin.header.id%29&properties.id=cSOAP_1&serviceName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEau&wsdlURL=%2FUsers%2Fmathieuperdrieau%2FDesktop%2FTOS_ESB-20180411_1414-V7.0.1%2FStudio%2Fworkspace%2FSANDRE_TEST%2Fservices%2FAPI_masseEau_0.1.wsdl due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{in=${in.header.id)}]

Can you share your cHttp configuration?

 

Anonymous
Not applicable
Author

thanks,

0683p000009LyqZ.png0683p000009LypU.png

Anonymous
Not applicable
Author

Untick the Service Locator tick box in the cSoap component. The route may still error, but I suspect the error will be different and will point towards a header error (this was shown in the last error message, but was hidden).

Anonymous
Not applicable
Author

Indeed, it did not change anything: /

 

Démarrage du job test2 a 15:46 30/07/2018.
[statistics] connecting to socket on port 3589
[statistics] connected
Failed to resolve endpoint: cxf://http://localhost:8091/services/API_masseEau?allowStreaming=false&dataFormat=PAYLOAD&defaultOperationName=API_masseEauOperation&defaultOperationNamespace=http%3A%2F%2Fwww.talend.org%2Fservice%2F&endpointName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEauPort&headerFilterStrategy=%23CXF_PAYLOAD_HEADER_FILTER&in=%24%7Bin.header.id%29&properties.id=cSOAP_1&serviceName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEau&wsdlURL=%2FUsers%2Fmathieuperdrieau%2FDesktop%2FTOS_ESB-20180411_1414-V7.0.1%2FStudio%2Fworkspace%2FSANDRE_TEST%2Fservices%2FAPI_masseEau_0.1.wsdl due to: Failed to resolve endpoint: cxf://http://localhost:8091/services/API_masseEau?allowStreaming=false&dataFormat=PAYLOAD&defaultOperationName=API_masseEauOperation&defaultOperationNamespace=http%3A%2F%2Fwww.talend.org%2Fservice%2F&endpointName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEauPort&headerFilterStrategy=%23CXF_PAYLOAD_HEADER_FILTER&in=%24%7Bin.header.id%29&properties.id=cSOAP_1&serviceName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEau&wsdlURL=%2FUsers%2Fmathieuperdrieau%2FDesktop%2FTOS_ESB-20180411_1414-V7.0.1%2FStudio%2Fworkspace%2FSANDRE_TEST%2Fservices%2FAPI_masseEau_0.1.wsdl due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{in=${in.header.id)}]
org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: cxf://http://localhost:8091/services/API_masseEau?allowStreaming=false&dataFormat=PAYLOAD&defaultOperationName=API_masseEauOperation&defaultOperationNamespace=http%3A%2F%2Fwww.talend.org%2Fservice%2F&endpointName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEauPort&headerFilterStrategy=%23CXF_PAYLOAD_HEADER_FILTER&in=%24%7Bin.header.id%29&properties.id=cSOAP_1&serviceName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEau&wsdlURL=%2FUsers%2Fmathieuperdrieau%2FDesktop%2FTOS_ESB-20180411_1414-V7.0.1%2FStudio%2Fworkspace%2FSANDRE_TEST%2Fservices%2FAPI_masseEau_0.1.wsdl due to: Failed to resolve endpoint: cxf://http://localhost:8091/services/API_masseEau?allowStreaming=false&dataFormat=PAYLOAD&defaultOperationName=API_masseEauOperation&defaultOperationNamespace=http%3A%2F%2Fwww.talend.org%2Fservice%2F&endpointName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEauPort&headerFilterStrategy=%23CXF_PAYLOAD_HEADER_FILTER&in=%24%7Bin.header.id%29&properties.id=cSOAP_1&serviceName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEau&wsdlURL=%2FUsers%2Fmathieuperdrieau%2FDesktop%2FTOS_ESB-20180411_1414-V7.0.1%2FStudio%2Fworkspace%2FSANDRE_TEST%2Fservices%2FAPI_masseEau_0.1.wsdl due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{in=${in.header.id)}]
	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:763)
	at org.apache.camel.builder.BuilderSupport.endpoint(BuilderSupport.java:377)
	at sandre_test.test2_0_1.test2.getCxfEndpoint(test2.java:100)
	at sandre_test.test2_0_1.test2.doConfig(test2.java:132)
	at sandre_test.test2_0_1.test2.configure(test2.java:109)
	at org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:462)
	at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:402)
	at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:383)
	at org.apache.camel.impl.DefaultCamelContext$1.call(DefaultCamelContext.java:1032)
	at org.apache.camel.impl.DefaultCamelContext$1.call(DefaultCamelContext.java:1029)
	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3268)
	at org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.java:1029)
	at org.apache.camel.main.MainSupport.postProcessCamelContext(MainSupport.java:612)
	at org.apache.camel.main.MainSupport.postProcessContext(MainSupport.java:550)
	at org.apache.camel.main.Main.doStart(Main.java:136)
	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
	at org.apache.camel.main.MainSupport.run(MainSupport.java:170)
	at sandre_test.test2_0_1.test2.run(test2.java:266)
	at sandre_test.test2_0_1.test2.runJobInTOS(test2.java:372)
	at sandre_test.test2_0_1.test2.main(test2.java:342)
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: cxf://http://localhost:8091/services/API_masseEau?allowStreaming=false&dataFormat=PAYLOAD&defaultOperationName=API_masseEauOperation&defaultOperationNamespace=http%3A%2F%2Fwww.talend.org%2Fservice%2F&endpointName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEauPort&headerFilterStrategy=%23CXF_PAYLOAD_HEADER_FILTER&in=%24%7Bin.header.id%29&properties.id=cSOAP_1&serviceName=%7Bhttp%3A%2F%2Fwww.talend.org%2Fservice%2F%7DAPI_masseEau&wsdlURL=%2FUsers%2Fmathieuperdrieau%2FDesktop%2FTOS_ESB-20180411_1414-V7.0.1%2FStudio%2Fworkspace%2FSANDRE_TEST%2Fservices%2FAPI_masseEau_0.1.wsdl due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{in=${in.header.id)}]
	at org.apache.camel.impl.DefaultComponent.validateParameters(DefaultComponent.java:215)
	at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:139)
	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:716)
	... 19 more

Job test2 terminé à 15:46 30/07/2018. [Code sortie=1]
Anonymous
Not applicable
Author

It has changed the endpoint that is trying to be reached. Do you have the endpoint ....

http://localhost:8091/services/API_masseEau

....configured anywhere? Have you created your own SOAP service? If so, this must be running. You can run it in your Studio if you have it configured. If you do not have this service configured, it will need to be configured before this route will run. 

 

I suspect that there will be quite a few little issues that will need to be resolved before this works from looking at the error. The best way to learn the ESB product is to go through these one error at a time 🙂

Anonymous
Not applicable
Author

Hello,

Yes, I developed my SOAP service with the studio.
I can run it, and it works perfectly

 

0683p000009Lygt.png

Anonymous
Not applicable
Author

Is it running while you try to run your route?