I am not sure whether it is possible or not. I've heard that getting xml contents from wsdl2java classes.
From wsdl files, I can generate java classes waiting to be implemented using wsdl2java from cxf.
It is all good so far but what I also need is to get xml contents instead of getting values from java classes
generated from wsdl2java.
I wonder there is a method called "getXmlContent()", etc
If you use JAXB, then you should have a look at the javax.xml.bind.Marshaller class that is available either in Java SE 6 or JAXB library JAR.
The Javadoc of the Java SE 6 API contains some code snippets that should get you started.