AnsweredAssumed Answered

soapUI:how to fill <ns:extension> element

Question asked by _valerio_ on Mar 15, 2010
Latest reply on Mar 17, 2010 by _valerio_
hi everybody
using soapUI to test the webservices exposed by alfresco on http://localhost:8080/alfresco/cmis I met some difficulties to fill some field of the soap envelope; as example, in the method getProperties exposed by ObjectServicePort I don't know to fill the <ns:extension> element

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://docs.oasis-open.org/ns/cmis/messaging/200908/">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:getProperties>
         <ns:repositoryId>I know how to fill this field</ns:repositoryId>
         <ns:objectId>I know how to fill this field</ns:objectId>
         <ns:filter>?</ns:filter>
         <ns:extension>
            <!–You may enter ANY elements at this point–>
         </ns:extension>
      </ns:getProperties>
   </soapenv:Body>
</soapenv:Envelope>
having a look at the wisdl definition of <ns:extension> I found this:

<xs:element name="getProperties">
   <xs:complexType>
       <xs:sequence>
         <xs:element name="repositoryId" type="xs:string"/>
         <xs:element name="objectId" type="xs:string"/>
         <xs:element name="filter" type="xs:string"/>
     <xs:element name="extension" type="tns:cmisExtensionType"/>
       </xs:sequence>
   </xs:complexType>
</xs:element>

but I'm not able to understand what kind of type is tns:cmisExtensionType and how to fill the <ns:extension> element

thanks in advance

Outcomes