Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8A558200B96 for ; Wed, 21 Sep 2016 10:15:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 89141160ACF; Wed, 21 Sep 2016 08:15:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C744B160ADE for ; Wed, 21 Sep 2016 10:15:26 +0200 (CEST) Received: (qmail 8321 invoked by uid 500); 21 Sep 2016 08:15:21 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 8061 invoked by uid 99); 21 Sep 2016 08:15:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2016 08:15:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BF16F2C2A5F for ; Wed, 21 Sep 2016 08:15:20 +0000 (UTC) Date: Wed, 21 Sep 2016 08:15:20 +0000 (UTC) From: =?utf-8?Q?Florian_M=C3=BCller_=28JIRA=29?= To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CMIS-998) Cannot get an instance of client-side WSDL service class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 21 Sep 2016 08:15:27 -0000 [ https://issues.apache.org/jira/browse/CMIS-998?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D155091= 72#comment-15509172 ]=20 Florian M=C3=BCller commented on CMIS-998: ------------------------------------- I'll look into this. The JAXB code is never included in the source package. It is generated duri= ng the build. > 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=C3=BCller > > I want to use WebServices as a client, but fail to get an instance of se= rvice class (ex. RepositoryService). > Here the code that fails: > org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPor= tProvider#getPortObject L.456 > // create service object > CmisServiceHolder serviceholder =3D initServiceObject(service); > I found org.apache.chemistry.opencmis.commons.impl.jaxb.RepositoryService= class has annotations like > @WebServiceClient(name =3D "RepositoryService",=20 > wsdlLocation =3D "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 =3D "http://docs.oasis-open.org/ns/cmis= /ws/200908/")=20 > or=20 > url =3D new URL("file:/home/florian/projects/opencmis-release/trunk/targ= et/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 no= t 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)