samuka
5 September 2016 14:59
1
Hi,
I am using Web Service Soap set_entry
Similiar like this:
http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_6.7/Application_Framework/Web_Services/Examples/SOAP/PHP/Creating_Documents/
But I am calling in Java.
The record on database, table “document_revisions” save sucessful.
But file does not save on …/Upload into server CRM directory.
No erro is raised.
I would like to know what could be the problem. Thanks!
I just tested this and is working, you need to upload the file somewhere else in your webserver referenced here in the documentation
//create note attachment --------------------------------------
$contents = file_get_contents ("/path/to/example_file.php");
for example, with your java app or a simple html5 you can test it creating an upload form, upload the file to yoursuitecrm.com/upload_webservice/ and after that call the SOAP file
best regards
samuka
11 September 2016 15:39
3
Hi,
I test again. When the size file is < ~8K, works fine!
But > ~8K does not work.
I already configurated this Apache/PHP variables:
http://support.sugarcrm.com/Knowledge_Base/Troubleshooting/Troubleshooting_Uploading_Large_Files/
But nothing change!
It looks like it has something to do with size limit ( linux , apache , php, http / rest). But I don’t know where…
I think that for web service you need to configure the php.ini located in the CLI folder of your apache
best regards