Upload content using php api

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2007 09:51 AM
Hi,
I couldn't find how can i upload file using the php API ?
can you please help ?
10x
I couldn't find how can i upload file using the php API ?
can you please help ?
10x
Labels:
- Labels:
-
Archive
12 REPLIES 12

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2008 08:03 PM
Thanks for posting the examples here guys- It'd be great if Roy from Alfresco could update the PHP wiki pages as he promised last year…

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2013 11:29 PM
hi,
i have try this code, but i found this error.
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost:9090/alfresco/api/AuthenticationService?wsdl' : failed to load external entity "http://localhost:9090/alfresco/api/AuthenticationService?wsdl" in D:\xampp\htdocs\phpclient\alfresco-php-library\Alfresco\Service\WebService\AlfrescoWebService.php:36 Stack trace: #0 D:\xampp\htdocs\phpclient\alfresco-php-library\Alfresco\Service\WebService\AlfrescoWebService.php(36): SoapClient->SoapClient('http://localhos…', Array) #1 D:\xampp\htdocs\phpclient\alfresco-php-library\Alfresco\Service\WebService\WebServiceFactory.php(29): AlfrescoWebService->__construct('http://localhos…', Array) #2 D:\xampp\htdocs\phpclient\alfresco-php-library\Alfresco\Service\Repository.php(63): WebServiceFactory::getAuthenticationService('http://localhos…') #3 D:\xampp\htdocs\phpclient\alfrescodocument.php(25): Repository->authenticate('admin', 'admin') #4 {main} thrown in D:\xampp\htdocs\phpclient\alfresco-php-library\Alfresco\Service\WebService\AlfrescoWebService.php on line 36
can anyone give some solution?
thank
i have try this code, but i found this error.
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost:9090/alfresco/api/AuthenticationService?wsdl' : failed to load external entity "http://localhost:9090/alfresco/api/AuthenticationService?wsdl" in D:\xampp\htdocs\phpclient\alfresco-php-library\Alfresco\Service\WebService\AlfrescoWebService.php:36 Stack trace: #0 D:\xampp\htdocs\phpclient\alfresco-php-library\Alfresco\Service\WebService\AlfrescoWebService.php(36): SoapClient->SoapClient('http://localhos…', Array) #1 D:\xampp\htdocs\phpclient\alfresco-php-library\Alfresco\Service\WebService\WebServiceFactory.php(29): AlfrescoWebService->__construct('http://localhos…', Array) #2 D:\xampp\htdocs\phpclient\alfresco-php-library\Alfresco\Service\Repository.php(63): WebServiceFactory::getAuthenticationService('http://localhos…') #3 D:\xampp\htdocs\phpclient\alfrescodocument.php(25): Repository->authenticate('admin', 'admin') #4 {main} thrown in D:\xampp\htdocs\phpclient\alfresco-php-library\Alfresco\Service\WebService\AlfrescoWebService.php on line 36
can anyone give some solution?
thank
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2013 12:21 AM
authentication wsdl addresss is
http://localhost:9090/alfresco/wsdl/authentication-service.wsdl
