cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Poltavtsev (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-5502) WsdlServiceFactory does not fill service endpoints
Date Mon, 20 Jan 2014 14:12:22 GMT

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

Andrey Poltavtsev updated CXF-5502:
-----------------------------------

    Description: 
*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/WSDLServiceFactory.java)
does not create endpoints during service creation. 
			This problem is not actual for JAXWS frontend. JAXWS 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).

  was:
*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/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).


> 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<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/WSDLServiceFactory.java)
does not create endpoints during service creation. 
> 			This problem is not actual for JAXWS frontend. JAXWS 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)

Mime
View raw message