cancel
Showing results for 
Search instead for 
Did you mean: 

Uploading Files - CMIS and PHP SoapClient

ask45ru
Champ on-the-rise
Champ on-the-rise

As I said in my previous question - I try to develop a simple PHP-client using native PHP SoapClient. How can I pass a content stream or documents' content to createDocument method?

Also I tried to do it with Atom/Rest as it made in Apache Chemistry PHP Library and it works fine for me, but I need to do it with SOAP.

5 REPLIES 5

Florent_Guillau
World-Class Innovator
World-Class Innovator

This is really a PHP + SOAP question, our own Nuxeo expertise won't help here. But others may have the answer.

ask45ru
Champ on-the-rise
Champ on-the-rise

Yes I understood it yesterday. PHP can't send a data stream via SOAP, this is problem of PHP. So I guess it's not good idea to develop a PHP/SOAP client. But maybe is there a possibility to pass document's content encoded in base64 to the method?

ask45ru
Champ on-the-rise
Champ on-the-rise

Is there any guides about restAPI or atom in Nuxeo?

Florent_Guillau
World-Class Innovator
World-Class Innovator

For CMIS the [CMIS Specification](http

ask45ru
Champ on-the-rise
Champ on-the-rise

thank you)