I use WSDL2Java to generate client stubs and interfaces for some service. I found 
that to add attachment to the soap request I invoke addAttachment() on client stub. 
But is often needed to get Content-ID of the attachment part to place it into 
href="cid:..."; attribute of the SOAP envelope. How do I do that? Now I managed to hack 
Call.java and Message.java to allow replacement of AttachmentsImpl class. But there 
should be another, legal way. Please help.

Reply via email to