I am using the RPC style services; I have java classes with methods that
contains
either parameters or return type of InputStream and File. Like below:
public interface XSLTProcessorService
{
public InputStream transform(InputStream xmlDoc);
public File getXSLTSrc();
}
I need the return value to be return as attachments, and the input parameter
to
be supplied from an attachments.
I realized using DataHandler is a solution; however, I don't have control of
the
interface and would like to seek an dynamic solution where I can serialize
any
inputstream & file to/from SOAP attachments.
Any thought on the best way to achieve this ?