I need to integrate an external SOAP Service into my system. I have only the wsdl and no test server so far. I figured out how to generate stubs for the server using CXF in order to build a mocking server to implement against.
On the client side the spring webservices WebServiceTemplate seems the perfect match for my use case. Two of the methods are sending MTOM attachments as a result. And I'm not sure what I will see when looking at the response documents. Does spring-ws handle the attachment tranparently? Or do I need to access it in a special way?
And how do I generate an MTOM attachment on the server with my CXF generated classes?