CMIS over SOAP with PHP SoapClient
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?
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?