CMIS over SOAP with PHP SoapClient

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2012 06:40 AM
I trying to develop a simple PHP-client using native PHP SoapClient but I have problem with createDocument method. I have error 'cmis:objectTypeId must be set'.
My request xml contains
<ns1:properties>
<ns1:property propertyDefinitionId="cmis:objectTypeId">
<ns1:value>cmis:document</ns1:value>
</ns1:property>
</ns1:properties>
Maybe I do it wrong, but I didn't find any examples of the request xml.
How can I pass parameters to method?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2012 07:46 AM
I found the solution. The problem was in the namespaces. But I have a new problem. How can I pass content stream to the method or set contents of file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2012 09:15 AM
Have you taken a look at the Apache Chemistry CMIS PHP client available at http
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2012 12:25 PM
Please open a new Question on this site if you have a new question, don't piggyback on a previous one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2012 02:09 PM
This was more of a comment/suggestion than a true question. My intent was to ensure that the question asker was aware of the FOSS PHP client as opposed to working directly with the native PHP SoapClient. Since CMIS is a complex web services interface, working directly with the SOAP interface can be cumbersome.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2012 03:51 PM
My comment was not for you ron, but for the original poster who asks "but I have a new problem...".

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2012 01:48 AM
Ron, yes I have looked at Apache Chemistry PHP Client, but this library uses Atom and CURL. I need to upload files via SOAP.
