I am getting an error trying to upload a csv file using mtom/xop:
In arg2 is where I specify the csv file. Here is the xml:
I already enabled mtom, I also set the content-type in the attachement to plain/text and the ContentID to be 12345678 . I also included this in my soapenv: xmlns:xop="http://www.w3.org/2004/08/xop/include".
This is the error I get:
env:Client Unable to parse the incoming request java.io.IOException: Could not parse SOAP message. Remaining stream ... javax.xml.soap.SOAPException: java.io.IOException java.io.IOException javax.xml.stream.XMLStreamException: javax.xml.stream.XMLStreamException: Premature end of file encountered javax.xml.stream.XMLStreamException: Premature end of file encountered
hmm.. you should only have to enter cid:12345678 in your XML (where cid is matched to the ContentID of an attachment in your Request), then enable MTOM for your request and if the arg2 is a binary datatype in your schema you should be all set.. (soapUI adds the XOP:Include stuff itself.. ).. Does that help?