MIME Attachments with SOAP/HTTP

Hi All,

Could u help me out in resolving MIME Attachments with SOAP/HTTP?
I tried out sending an MIME attachment from a java client and i could access it in webMethods.
As a next step,i sent it to the broker and using PublishAndWait service and i got the reply back from Broker.
But when i try to send it as an attachment back to Java client,i m getting an error saying SOAP body is not properly formed.
can anyone help me out in this pls?
Thanks in advance

-akila