I am sending attachments via message web service, like this:
Call call = new Call(url);
call.setReturnQName(new
QName("http://www.w3.org/2001/XMLSchema",
"anyType"));
call.setOperationStyle(org.apache.axis.constants.Style.MESSAGE);
call.setClientHandlers(null, new MM7SoapHandler());
call.setRequestMessage(new Message(xml));
MimeMultipartDataSource datasource = new
MimeMultipartDataSource(
"contentid", multipart);
DataHandler dh = new DataHandler(datasource);
call.addAttachmentPart(dh);
call.invoke();
However, the call is showing up at the other side with just the xml,
not the attachments.
Any ideas? (axis 1.2.1, bea jrockit 1.5, jboss4, tomcat5)
Thanks in advance,
--
Javier Gonzalez Nicolini