mandy
mandy

Reputation: 765

Spring WS Client using JAXB Marshaller

Is there a way i can refer to a XSD in my Spring WS Client project and not generate the POJO's from the XSD and still be able to refer the JAXB Objects, build request and call a webservice using WebServiceTemplate?

Upvotes: 0

Views: 2123

Answers (1)

evandongen
evandongen

Reputation: 2065

If I understand your question correctly, you want to use JAXB objects but you don't want to generate JAXB objects. If that is the case, then the answer is no.

You can still use Spring-WS at the client side to send a SOAP-request which is not generated by marshalling objects. Check out the reference for examples and more information.

Upvotes: 1

Related Questions