Contributions
I am trying to send filename,id and format in request and expecting physical file from service
I am getting follow error Thu Feb 08 13:10:09 CST 2018:ERROR:javax.mail.MessagingException: Missing start boundary javax.mail.MessagingException: Missing start boundary at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:713) at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:383) at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:229) at com.eviware.soapui.impl.wsdl.submit.transports.http.support.attachments.MultipartMessageSupport.<init>(MultipartMessageSupport.java:60) at com.eviware.soapui.impl.wsdl.submit.transports.http.support.attachments.MimeMessageResponse.<init>(MimeMessageResponse.java:78) at com.eviware.soapui.impl.wsdl.submit.transports.http.support.attachments.WsdlMimeMessageResponse.<init>(WsdlMimeMessageResponse.java:57) at com.eviware.soapui.impl.wsdl.submit.filters.HttpPackagingResponseFilter.wsdlRequest(HttpPackagingResponseFilter.java:68) at com.eviware.soapui.impl.wsdl.submit.filters.HttpPackagingResponseFilter.afterAbstractHttpResponse(HttpPackagingResponseFilter.java:49) at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.afterRequest(AbstractRequestFilter.java:64) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:272) at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:119) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) I tried to set request header but with no success , Request POST https://plmdev17x.3m.com/internal/services/AttachmentService HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: text/xml;charset=UTF-8 SOAPAction: "" Content-Length: 706 Host: plmdev17x.3m.com Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5) <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://webservice.web.ematrix.mmm.com"> <soapenv:Header/> <soapenv:Body> <web:getAttachmentWebService soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <oid xsi:type="xsd:string">6793.21112.14592.53466</oid> <format xsi:type="xsd:string">pdf</format> <fileName xsi:type="xsd:string">EmiratesETicket-1762310721900.pdf</fileName> <lock xsi:type="xsd:boolean">false</lock> </web:getAttachmentWebService> </soapenv:Body> </soapenv:Envelope> Response HTTP/1.1 200 OK Date: Thu, 08 Feb 2018 19:10:09 GMT X-Frame-Options: SAMEORIGIN Strict-Transport-Security: max-age=63072000; includeSubDomains Content-Type: multipart/related; type="text/xml"; start="<D958624BE2260963741CF91D90873DB3>"; boundary="----=_Part_8_384892756.1518117009153" Served-By: e-di01 X-XSS-Protection: 1; mode=block Cache-Control: no-cache, no-store, must-revalidate Keep-Alive: timeout=15, max=1000 Connection: Keep-Alive Transfer-Encoding: chunked7 years agoPlace ReadyAPI QuestionsReadyAPI Questions928Views0likes1Comment