we are developing a webservice which can handle attachments. A filed was declared base64 content type. from SOUP UI…while testing we are cache the attachment and send the file over that field. At webMethods service we are able to receive the encoded content of that file. every thing is going well…
in the below screen shot, cid:LrPhoto.log
If we test… we are retrieving the content of LrPhoto in the encoded format into webMethods service.
here… i need to retrieve the value “cid:LrPhoto.log” of that tag along with the encoded content to webMethods.
If you are uing the latest version of IS, and the client SOAP UI is configured using MTOM, your receiving service should have a
XOPObject in the pipeline once the request reach your service.
you can use: pub.soap.utils:getXOPObjectContent to get base64String, bytes or stream.
make sure you set the SOAP UI to have use_MTOM=true, the default is false, which it will put the whole file under your node, which is not taking advantage of MTOM.