cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Poltavtsev (JIRA)" <>
Subject [jira] [Created] (CXF-5502) WsdlServiceFactory does not fill service endpoints.
Date Mon, 20 Jan 2014 08:39:20 GMT
Andrey Poltavtsev created CXF-5502:

             Summary: WsdlServiceFactory does not fill service endpoints.
                 Key: CXF-5502
             Project: CXF
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.7.8
            Reporter: Andrey Poltavtsev

*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<QName, Endpoint> epm = epc.getService().getEndpoints();  // the problem is:
epm = null
*The reason of problem:*
			"WsdlServiceFactory" (/cxf-rt-core/src/main/java/org/apache/cxf/wsdl11/
does not create endpoints during service creation. 
			This problem is not actual for simple frontend. Simple frontend uses ReflectionServiceFactoryBean
			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

View raw message