[ 
https://issues.apache.org/jira/browse/CMIS-998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florian Müller resolved CMIS-998.
---------------------------------
       Resolution: Fixed
    Fix Version/s: OpenCMIS 1.1.0

I've fixed this. We probably need a new release soon.

> Cannot get an instance of client-side WSDL service class
> --------------------------------------------------------
>
>                 Key: CMIS-998
>                 URL: https://issues.apache.org/jira/browse/CMIS-998
>             Project: Chemistry
>          Issue Type: Bug
>    Affects Versions: OpenCMIS 1.0.0
>         Environment: Java 8
>            Reporter: linzhixing
>            Assignee: Florian Müller
>             Fix For: OpenCMIS 1.1.0
>
>
> 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?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to