You can download the RDK (Reference Design Kit) and see if it helps. It is written in Java, however it is old and was written primarily as a Java example (so there isn't any support for it should it not work.)
Here is also a short blog that I wrote that attempts to describe it.
I hope this helps!
I was really looking for some java examples with WS-MAN, as it appears that most of the interfaces are implemented..
Well the only implementation of WS-MAN that I can find for Java is Wiseman, but there does not seem to be many Client examples arround..
I'll keep searching, if I find anything I'll post an example here..