Hi guys,

I am trying to JAX-WS webservice that accepts FPML message and an attachment with the message over MTOM. Could you please point me to an example?

My problem is that the xml can be any format. I wonder how to express this in Java. I will get a soap message with some xml in it and an attachment.

public <MyTO> serviceMethod(<XML with attachments TO> inputTO) {}

How do I express the <XML with attachments TO>?

Thanks!