Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
OpenCMIS 1.0.0
-
None
-
Java 8
Description
I want to use WebServices as a client, but fail to get an instance of service class (ex. RepositoryService).
Here the code that fails:
org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider#getPortObject L.456
// create service object
CmisServiceHolder serviceholder = initServiceObject(service);
I found org.apache.chemistry.opencmis.commons.impl.jaxb.RepositoryService class has annotations like
@WebServiceClient(name = "RepositoryService",
wsdlLocation = "file:/home/florian/projects/opencmis-release/trunk/target/checkout/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/resources/wsdl/cmis11/CMISWS-Service.wsdl",
targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/")
or
url = new URL("file:/home/florian/projects/opencmis-release/trunk/target/checkout/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/resources/wsdl/cmis11/CMISWS-Service.wsdl");
In addition org.apache.chemistry.opencmis.commons.impl.jaxb package is not included in the source code from the official site.
I guess they might come from Florian's local configuration.
Is it a bug? Or should I generate client-side WSDL service classes on my own?