Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5A28F10666 for ; Mon, 20 Jan 2014 08:41:23 +0000 (UTC) Received: (qmail 32025 invoked by uid 500); 20 Jan 2014 08:41:23 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 31881 invoked by uid 500); 20 Jan 2014 08:41:21 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 31854 invoked by uid 99); 20 Jan 2014 08:41:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jan 2014 08:41:20 +0000 Date: Mon, 20 Jan 2014 08:41:20 +0000 (UTC) From: "Andrey Poltavtsev (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CXF-5502) WsdlServiceFactory does not fill service endpoints. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-5502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrey Poltavtsev updated CXF-5502: ----------------------------------- Attachment: patch Path for WSDLServiceFactory is in attachment. > WsdlServiceFactory does not fill service endpoints. > --------------------------------------------------- > > Key: CXF-5502 > URL: https://issues.apache.org/jira/browse/CXF-5502 > Project: CXF > Issue Type: Bug > Components: Core > Affects Versions: 2.7.8 > Reporter: Andrey Poltavtsev > Attachments: patch > > > *How 2 reproduce:* > JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance(); > Client client = dcf.createClient("Library.wsdl"); > Endpoint epc = client.getEndpoint(); > System.out.println("Service name: " + epc.getService().getName()); > Map epm = epc.getService().getEndpoints(); // the problem is: epm = null > > *The reason of problem:* > "WsdlServiceFactory" (/cxf-rt-core/src/main/java/org/apache/cxf/wsdl11/WSDLServiceFactory.java) does not create endpoints during service creation. > This problem is not actual for simple frontend. Simple frontend uses ReflectionServiceFactoryBean (/cxf-rt-core/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java) > instead of WsdlServiceFactory. Endpoints in this case are filled during service creation without any problems (see ReflectionServiceFactoryBean:createEndpoints() for details). -- This message was sent by Atlassian JIRA (v6.1.5#6160)