views:

420

answers:

0

We need to access a legacy webservice that uses the RPC/literal webservice style and also to provide webservice endpoints for it. If you use webservices of document/literal style with Spring WebserviceTemplates / WebserviceEndpoints, you can use JAXB2 to generate / marshal / unmarshal the webservice requests. But how do you do this with RPC/literal style? The org.jvnet.jaxb2.maven2:maven-jaxb2-plugin does not seem to be able to generate Java classes for the requests / responses.