Contributions
Response window (XML tab) has stopped showing any responses (blank all the time)
As the subject says, I no longer get XML responses, only the Response Raw tab shows the response (and yes, it is an XML SOAP envelope just to be clear). I initially thought it was because the response was too large, so I increased UI Settings / Size of Raw Response Message to Show, but it still did not help; even for small XML responses, only the RAW response window shows data, the XML window is still blank. Why is this suddenly happening, it was working as expected for more than a year !412Views0likes0CommentsRe: SOAPUI - How to Force POST Request from SOAPUI to send an MTOM style message with Attachment parts?
Thanks David, but I don't see the logic in your answer.. unless it's specific to SOAPUI. <inc:Include href="cid:xxxxxxx.zip" xmlns:inc="http://www.w3.org/2004/08/xop/include" /> The MTOM / XOP specifications does not say anything about xxxxx being a Unique Identifier (in the sense of UUID or GUID). It is just a string. So in my case I set xxxxxx=YourZipFile.zip , it could be any string really ! See here https://docs.oracle.com/cd/E39820_01/doc.11121/gateway_docs/content/conversion_insert_mtom.html where a URL was used, or here https://www.ibm.com/support/knowledgecenter/SSGMCP_5.3.0/com.ibm.cics.ts.webservices.doc/mtomxop/dfhws_attachments_and_SOAP.html where an email was used.1.3KViews0likes1CommentSOAPUI - How to Force POST Request from SOAPUI to send an MTOM style message with Attachment parts?
As per the Title, I've set `enabled MTOM = true` and `force MTOM=true` and I read all the info in this page https://www.soapui.org/docs/soap-and-wsdl/attachments/ But when I look at the raw message in SoapUI, it looks like SOAPUI is NOT generating the section that starts with ------=_Part_7_163289738.1476693003095 Content-Type: application/zip; name=etc...etc The target service is an Oracle Fusion service, sample payload looks like this: <soapenv:Body> <ucm:GenericRequest webKey="cs"> <ucm:Service IdcService="CHECKIN_UNIVERSAL"> <ucm:User/> <ucm:Document> <ucm:Field name="dDocTitle">Department Load File</ucm:Field> <ucm:Field name="dDocType">Document</ucm:Field> <ucm:Field name="dDocAuthor">HCM_IMPL</ucm:Field> <ucm:Field name="dSecurityGroup">FAFusionImportExport</ucm:Field> <ucm:Field name="dDocAccount">hcm$/dataloader$/import$</ucm:Field> <ucm:Field name="primaryFile">YourZipFile.zip</ucm:Field> <ucm:File href="YourZipFile.zip" name="primaryFile"> <ucm:Contents> <inc:Include href="cid:YourZipFile.zip" xmlns:inc="http://www.w3.org/2004/08/xop/include" /> </ucm:Contents> </ucm:File> </ucm:Document> </ucm:Service> </ucm:GenericRequest> </soapenv:Body> taken from here: https://docs.oracle.com/en/solutions/load-data-into-hcm-cloud/use-native-java-apis-upload-hcm-data-loader-zip-files-hcm-webcenter-content-server.html1.3KViews0likes3CommentsRe: Response is MTOM with Attachment - What format is the Dump File in (and how do I decode it) ?
Answering my own question, I struggled with this un-necessarily. Could the powers that be please document more info on the Dump File ? After examining the raw response, I could see"Content-Encoding: gzip"; I guess this would be dependent on the config of the web-server / service. So I pulled out my fav lib GZipStream (C#) to decode the dump file, and got an intelligible format for the dump file. And the answer is the Dump File contains only the Body Response (+ Attachment embedded in there as a binary for my case).2KViews0likes0CommentsResponse is MTOM with Attachment - What format is the Dump File in (and how do I decode it) ?
I have a WebService (Oracle Fusion to be exact) which is meant to download a file as an MTOM Attachment; In the Request on SOAP-UI I left all properties as default, except "Enable MTOM"= true, and "Dump File" I specify the path of a file. After I execute the request, the Response comes back ok (Just a normal soap / xml response, including the following fragment:: <ns2:File name="" href="Some-File-name-etc-which-is-a-Microsoft-Excel-File-whatever.xlsx"> <ns2:Contents> <xop:Include href="cid:c1cb91f1-e389-41ce-a941-4347afe74036" xmlns:xop="http://www.w3.org/2004/08/xop/include" /> </ns2:Contents> </ns2:File> In the SOAP-UI attachments section of the Response, the Content-Type= application/octet-stream and Type=XOP The Dump File gets written to disk - But what exactly are the contents of the Dump file ? And what format is it ? And how do I decode it ? Does the dump file include the request soapenv, the response soapenv, both request/response soap, just the attachment ? Is this documented anywhere on the SoapUI site ?Solved1.9KViews0likes1Comment