14 years ago
soapUI 3.6.1 MTOM attachments
Hi,
We developed a service which will accept zip file as parameter. While testing from the java client it is working fine. But when testing from SoapUI, if the attachment is greater than 80KB, SoapUI is sending a null content to the service. following are request settings.
enable MTOM === true.
force MTOM === true.
following is the xsd of the service request object:
<xs:complexType name="createDatasetRequest">
<xs:sequence>
<xs:element minOccurs="1" name="contactName" type="xs:string" />
<xs:element minOccurs="1" name="institutionName" type="xs:string" />
<xs:element minOccurs="1" name="contactEmail" type="xs:string" />
<xs:element minOccurs="1" name="requestType" type="xs:string" />
<xs:element minOccurs="1" name="format" type="xs:string" />
<xs:element minOccurs="1" name="fileType" type="xs:string" />
<xs:element minOccurs="1" name="mutipleSubmissions" type="xs:boolean" default="true"/>
<xs:element minOccurs="1" name="profileFileData" type="xs:base64Binary"
xmime:expectedContentTypes="application/zip" />
</xs:sequence>
</xs:complexType>
THanks,
CM
We developed a service which will accept zip file as parameter. While testing from the java client it is working fine. But when testing from SoapUI, if the attachment is greater than 80KB, SoapUI is sending a null content to the service. following are request settings.
enable MTOM === true.
force MTOM === true.
following is the xsd of the service request object:
<xs:complexType name="createDatasetRequest">
<xs:sequence>
<xs:element minOccurs="1" name="contactName" type="xs:string" />
<xs:element minOccurs="1" name="institutionName" type="xs:string" />
<xs:element minOccurs="1" name="contactEmail" type="xs:string" />
<xs:element minOccurs="1" name="requestType" type="xs:string" />
<xs:element minOccurs="1" name="format" type="xs:string" />
<xs:element minOccurs="1" name="fileType" type="xs:string" />
<xs:element minOccurs="1" name="mutipleSubmissions" type="xs:boolean" default="true"/>
<xs:element minOccurs="1" name="profileFileData" type="xs:base64Binary"
xmime:expectedContentTypes="application/zip" />
</xs:sequence>
</xs:complexType>
THanks,
CM