Author: jaz
Date: Mon Mar 3 12:51:15 2008
New Revision: 633272
URL:
http://svn.apache.org/viewvc?rev=633272&view=revLog:
content type should be optional; there is code to determine the type based on file extension if it is not known
Modified:
ofbiz/trunk/applications/content/servicedef/services.xml
Modified: ofbiz/trunk/applications/content/servicedef/services.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/servicedef/services.xml?rev=633272&r1=633271&r2=633272&view=diff==============================================================================
--- ofbiz/trunk/applications/content/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/content/servicedef/services.xml Mon Mar 3 12:51:15 2008
@@ -28,7 +28,7 @@
<description>Contains necessary paramters for all file upload requests via service event handler</description>
<attribute name="uploadedFile" type="java.nio.ByteBuffer" mode="IN" optional="true"/>
<attribute name="_uploadedFile_fileName" type="String" mode="IN" optional="true" />
- <attribute name="_uploadedFile_contentType" type="String" mode="IN" optional="false"/>
+ <attribute name="_uploadedFile_contentType" type="String" mode="IN" optional="true"/>
</service>
<!-- Content services? -->