Thursday 23 February 2017

Adding a list of SDL Web (Tridion) components to Workflow using the SDL Web Core Service in Java

Here is a code snippet demonstrating how a list of updated components can be added to a new Workflow instance in SDL Web using the Core Service API.

First step to building a Java SDL Web (Tridion) Core Service Client

I've recently written a SDL Web (Tridion) Core Service client in Java. I was able to get started quite quickly by using the jaxws-maven-plugin as shown below.

The classes will be generated inside the /target/generated-sources/wsimport/ folder in your project. You only need to assign this folder as a source folder in your IDE and start coding!