Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

(I asked this question on stackoverflow and they pointed me to the existence of, so I repost it here.)

For our automated tests I want to connect to Tridion from our Java testsuite we setup with Cucumber. I want to do this through a webservice. There is a manual on on how to do this, but when I try to get the appropriate .jar files, I can't find them.

The manual from tells me:

Add the following import statements to your proxy client class:

import org.w3c.dom.*;  
import com.sdltridion.contentmanager.coreservice.*;  
import com.sdltridion.contentmanager.r6.*; 

The latter two get not recognized, so I have to get the correct references.
I added the following Tridion jar files as libraries to my project structure:

  • C:\Program Files\Tridion\lib
  • C:\Software\Tridion\Content Delivery\roles\api\java\lib
  • C:\Software\Tridion\Content Delivery\roles\api\java\third-party-lib

And now I can import from com.tridion.*, but still not from com.sdltridion.*. What am I missing?

share|improve this question
up vote 4 down vote accepted

SDL owned packages always start with com.tridion.* or com.sdl.*, not with com.sdltridion.* (and especially not com.sdltridion.contentmanager.*).

It seems like you're using custom jars (maybe from here?) and you should keep track - or contact the author - of those.

Update I just found the chapter in the documentation you mention and it also states

To get the Java proxy client up and running, generate a proxy (Java XmlBeans is recommended as a proxy generator)

In other words, you need to generate the classes yourself by pointing at the Core Service's WSDL.

Mihai has some examples of how to do this on his blog.

share|improve this answer
The manual I try to follow is from As I could see from this question:…, so it seems there are more people using it with these imports. – AutomatedChaos Apr 9 '14 at 12:04
Updated my answer - those jars don't exist pre-packaged, you need to generate them. – Nuno Linhares Apr 9 '14 at 12:04
Thank you for finding that. I created the proxy client, but was oblivious of the fact that it would create the classes. I will try the steps from the blog and update my findings. – AutomatedChaos Apr 9 '14 at 12:09
This solved it for me. I tried to generate the files through the manual I linked earlier, but that didn't quite work out. So I did it through the method from the blog you posted and that worked fine. – AutomatedChaos Apr 9 '14 at 12:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.