I'm using Apache CXF's wsdl2java tool to generate java interface classes from
a web service with which I'm trying to interact. 

I'd like to use these generated classes in some manner to build up a Java
object, then serialize to a SOAP message which I must be able to send
through a separate transport (outside of CXF). 

Once I've sent the serialized SOAP (as a string of XML) to the web service,
and receive a response back, I'd like to then utilize the generated classes
again to parse the SOAP response (as a string) and build appropriate objects
for me. 

How can this be done?

Thus far, I've been able to successfully generate java classes, but have
been unsuccessful in trying to build a simple request object using them,
(utilizing the xmlbeans databinding during wsdl2java generation). When I try
to simply use one of the generated object factories to create a new
instance, I receive the following error:

java.lang.ExceptionInInitializeError

-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/manual-SOAP-generation-via-wsdl2java-generated-classes-tp3400886p3400886.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to