chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "linzhixing (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CMIS-998) Cannot get an instance of client-side WSDL service class
Date Wed, 21 Sep 2016 07:45:20 GMT

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

linzhixing updated CMIS-998:
----------------------------
    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?

  was:
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?


> 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
>
> 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)

Mime
View raw message