[ https://issues.apache.org/jira/browse/CXF-3209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jimma reopened CXF-3209: ------------------------ This fix introduced another problem . When the ClientProxyFactory is configured with MTOMFeature, the databinding can not be set to enable the MTOM. > Service is builtFromWSDL twice > ------------------------------ > > Key: CXF-3209 > URL: https://issues.apache.org/jira/browse/CXF-3209 > Project: CXF > Issue Type: Improvement > Components: JAX-WS Runtime > Affects Versions: 2.3.1 > Reporter: jimma > Assignee: jimma > Fix For: 2.3.2, 2.4 > > > If there is no port Qname passed in to get the port : > Greeter greeter = service.getPort(Greeter.class); > The service will be created twice, here is the log : > Dec 21, 2010 3:59:29 PM > org.apache.cxf.service.factory.ReflectionServiceFactoryBean > buildServiceFromWSDL > INFO: Creating Service {http://apache.org/hello_world_soap_http}SOAPService > from WSDL: > file:/code/cxf/2.3.x-fixes/testutils/src/main/resources/wsdl/hello_world.wsdl > Dec 21, 2010 3:59:30 PM > org.apache.cxf.service.factory.ReflectionServiceFactoryBean > buildServiceFromWSDL > INFO: Creating Service {http://apache.org/hello_world_soap_http}SOAPService > from WSDL: > file:/code/cxf/2.3.x-fixes/testutils/src/main/resources/wsdl/hello_world.wsdl -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.