I have the following problem. My webservice is a two-way inteface. From one side it is a REST interface which takes a POST method that accepts a MultiPart message (it is a audio file). Now I need to send this file again to another server with a
SOAP interface as a base64binary attachment. I tried to this like this:
But this doesn't work (the server does not recognize the file and when i try to save it it's size is 0kb. I found a way to overcome this- I first save the multipart message to HDD and read it again with :
However this is a little bit dull first to save the file and read it again from the HDD. Does any one have another idea on how to convert more 'directly' the MultiPart to Base64binary DataHandler?