Unable to get an .xlsx file as an attachement in rest api response
Hi! I'm trying to get a xlsx file as an attachment in response of an REST API, however for some reason I'm failing and the attachment list remains empty.the SoapUI keeps returning an html reponse stating "unsupported content-type [application/vnd.openxmlformats-officedocument.spreadsheetml.sheet]" while the status code is 200 for the data, so the file is there. Also, I double checked with swagger and i was able to download the attachement there without any issues. Anyone knows how to fix this?1.5KViews0likes1CommentAPI Resource housing the `fileid` of attachments
Via the API where can one find the `fileid` for execution attachments? Currently, I am able to access the attachments via http://localhost:2990/jira/rest/zapi/latest/attachment/fileid/file which I access the `fileid` via Jira web app. But I have to manually find the `fileid` for each attachment. What I need to be able to accomplish is making a REST call that programmatically returns the `fileid` so that I can automate the attachment exporting. But I have yet to find the API resource that stores this information for extraction. More in-depth overview: I am building an automated process that iterates over the entire Jira space, exports the execution attachments and stores them for later processing. Resources & Versions Jira Server 8.13.1 Zephyr for Jira 5.6.4 Python 3.7713Views0likes0CommentsSOAPUI response with attachment
I have a SOAP call which gets a file in the response. It is a gz file. I want to get this gz file. In the Attachments tab of the response, I do see a file abc.gz, with Content-type application/gzip, and Type XOP. I have tried setting up the Request Properties - I have Enable MTOM as true. I have also specified a dump file. The dump file is not a gzip file, but a XOP file. It has a header --uuid:273aa462-94dc-405a-9972-82904edfb02e Content-Type: application/xop+xml; charset=UTF-8; type="text/xml" Content-Transfer-Encoding: binary Content-ID: <root.message@cxf.apache.org> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:abcResponse xmlns:ns2="<url>"><return><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:1b73858f-12b5-4709-99d1-66974e55499c-22@cxf.apache.org"/></return></ns2:abcResponse></soap:Body></soap:Envelope> --uuid:273aa462-94dc-405a-9972-82904edfb02e Content-Type: application/gzip Content-Transfer-Encoding: binary Content-ID: <1b73858f-12b5-4709-99d1-66974e55499c-22@cxf.apache.org> Content-Disposition: attachment;name="abc.gz" and the rest is binary data. My question is - how do I extract just the gz file from this?3.4KViews0likes2CommentsTesting DocumentRetrieval service with MTOM from SOAP-UI.(MTOM enabled by value)
Hi Team, I need to test OSB Document retrieve service from SOAP -UI which is MTOM enabled by data. I am passing an Doc ref in id in requestand in response I am receiving below content response. <documentData> <inc:Include href="cid:432f8540-4677-41f2-ac7d-d68b32d92503@example.jaxws.sun.com" xmlns:inc="http://www.w3.org/2004/08/xop/include"/> </documentData> But in attachement section I am not receving proper attachment what was uploaded against the given doc ref Id. after clicking on any tab name,content-id etc I can just see the binary data which is not same as text present in uploded file. How can i get a correct attachment in the attachment section of response? SOAP-UI version-- 5.3.0 Many Thanks.928Views0likes0CommentsSOAP UI Return XML Dumping with Invalid Characters
Introduction:Hello Community! I hope I am posting in the correct place. Precursory Information:I am currently using SOAP UI Free to attempt to validate a WSDL. I have a service that looks like this: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header> </SOAP-ENV:Header> <SOAP-ENV:Body> ...SOAP BODY HERE... </SOAP-ENV:Body> </SOAP-ENV:Envelope> This sends out ok, and I get a return message. Precursory Explination: The way myreturn code is designed is to send a response with an XMLattached. I've done research on Request/Reponsewith attachment's in SOAP UI, and it looks like it can do it. I've read the documentation on attachment's, and done additional research on SOAP UI but I cannot find my exact issue. Issue: When returning the XML, I am recieving a bunch of invalid characters, along with a 'dump' of the attached xml. It looks like: ) ) [Invalid Character Here]uuid:XXXXXXX-YYYY-ZZZZ-AAAA-123456789123 <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body/></soapenv:Envelope> [Invalid Character Here]XXXXXXYYYYYYYYYZZZZZZZZZZ11111112222222233333333333/xml ...CORRECT XML THAT IS SUPPOSED TO BE ATTACHED HERE... Note: I am not sure how much I am allowed to share of the code/digits - but the ...CORRECT... is a correct XML I am expecting, and the XYZA and 1234... are all characters that change every time. Is there a way to prepare SOAP UI for this attached XML and not get this dump? I won't be able to validate this the way it is. What I have tried: I have tried adjusting all of the settings in the Request Properties windows with no luck. Has anyone experienced this? Could someone help me prepare my SOAP UI for the attached XML, rather than dump different characters and the contents? Thanks in advance!Solved3.8KViews1like3Comments