cancel
Showing results for 
Search instead for 
Did you mean: 

Which wsdl? provided by OASIS or Alfresco?

nikes
Champ on-the-rise
Champ on-the-rise
Hi all,

I am confused regarding which WSDL, XSD documents to use while generating stub classes for web services CMIS interface.

Do all CMIS compliant vendors use WSDL, XSD provided by OASIS TC?

When I generate stubs using Apache CXF for WSDL provided by OASIS TC, it generates JAXBElement for all java data types.

When I generate stubs using Alfresco 3.3g WSDL, it generates proper java data types, but for CmisPropertiesType
it generates method for getting properties as getPropertyHtmlOrPropertyDateTimeOrPropertyUri() instead of
getPropery().

Does it mean using Alfresco 3.3g we can fetch only HTML, DateTime and Uri type of properties?

It would be very helpful if any one can clarify my doubts.

Thanks for any help.
Nikesh
3 REPLIES 3

gclaussn
Champ in-the-making
Champ in-the-making
I would use those, provided by the CMIS specification 1.0 http://docs.oasis-open.org/cmis/CMIS/v1.0/cmis-spec-v1.0.html. Near the top you find the declared XML namespaces like the CMIS core http://docs.oasis-open.org/cmis/CMIS/v1.0/os/CMIS-Core.xsd.

To get more information about the Web Service Binding look here http://docs.oasis-open.org/cmis/CMIS/v1.0/os/cmis-spec-v1.0.html#_Toc243905606.

best regards, gclaussn

nikes
Champ on-the-rise
Champ on-the-rise
Thanks gclaussn,

I tried generating stub classes for provided specification 1.0 wsdl by OASIS TC committee, it generates JAXBElement<javaType> for java types like String, Integer and Boolean instead of pure Boolean, String, Integer java types.

I am using Apache CXF 2.2.6 (Also tried 2.2.9 version)

Are you getting the same result?

gclaussn
Champ in-the-making
Champ in-the-making
Maybe this must be so, the pure types are already existing within java. sorry, i'm not tested it, I also haven't worked with jaxb compiler (know what it is and what it is good for, but not used until now).
Also I am working with the OpenCMIS framework for interacting with content repositories, so there is no purpose to go deeper for me.

best regards, glcaussn