I feel like I'm close on this, I can generate java files from maven using
wsdl2java, get a request to and response from the server (I can see these
SOAP messages in a http proxy debugger), but for some reason the reply
cannot be constructed properly by the client. I am getting this error:

[17:54:16,235 WARN  PhaseInterceptorChain]: Interceptor for
{https://printon.fx.com}Fx_0020Office_0020Print_0020Web_0020ServiceService#{https://printon.fx.com}sendMessage
has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Unmarshalling Error: Unable to create an
instance of https.printonline_fx.CountryContext 
        at
org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:791)

[snip]

Caused by: javax.xml.bind.UnmarshalException: Unable to create an instance
of https.prinon_fx.CountryContext
 - with linked exception:
[java.lang.InstantiationException]
        ... 31 more
Caused by: java.lang.InstantiationException
        at
sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)


I'm not exactly sure where to check next. That class is in my classpath...it
is generated off the wsdl, but its an abstract class (i.e., public abstract
class CountryContext {}).

Any pointers appreciated, thanks. (just getting started learning/using SOAP)

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Just-Getting-things-going-tp4828088p4828088.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to