Hi,

I'm trying to figure out if a workaround is feasible.

I want to have the ability to have have arbitrary xml and map that to some
generated JAX-WS Client classes and then invoke it as a regular service.

I've been able to use JAXB to map the xml string into Request Wrapper
objects generated by XJC (using the maven cxf plugin), however I don't know
what to do with the request wrapper object, because normally you'd invoke
the WebMethod from the Service Interface.  But in my case I want to invoke
the service using the request wrapper. Is this possible?

I had a look at what methods were available on the Service, and I found you
can create a Dispatch Object from a JAXBContext, but I couldn't figure out
how that is supposed to be used.  

I realise what I'm doing is probably a non-standard usage of the JAX-WS api,
but it is it possible with CXF somehow?

Thanks,

Joel



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Possible-to-use-arbitrary-xml-with-a-JAX-WS-client-and-JAXB-tp5743219.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to