About this task
During the previous build process Maven installed the application's bundles in your local Maven repository. It is from there that Talend ESB will load bundles and activate them. To deploy the web service provider on Talend ESB:
Start Talend ESB from the command-line, from the container/bin folder,
trun.bat(Windows). When the container starts up, you will see a short introduction (similar to the one below) followed by the OSGi console command prompt:
Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown TRUN. karaf@trun>
From the Talend ESB karaf prompt, enter:
install mvn:org.talend.cxf-examples.dev-guide-wsdl-first/dev-guide-wsdl-first-service/For the above bundle,
mvnrefers to the protocol (
file:/are other common alternatives), while the remaining portion refers to the Maven group ID, artifact ID, and version separated by forward slashes.After Talend ESB reports the bundle ID, next enter
start <bundleID>. Typing
listafterwards from the Karaf prompt should show that the web service provider has successfully started. If any failure is indicated, check the container/data/log file for any error information. Prior to calling the client in the next step, make sure you can bring up the web service's WSDL at http://localhost:8040/services/doubleit?wsdl.
For more information on working with Talend ESB including its OSGi commands please see Talend ESB Container Administration Guide.