ayasoapui
16 years agoOccasional Contributor
Re: problem uploading file using mtom/xop handler
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:
cid:12345678
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
Please help!
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:
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
Please help!