Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3209

Service is builtFromWSDL twice

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 2.3.1
    • None
    • JAX-WS Runtime
    • None

    Description

      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

      Attachments

        Activity

          People

            ema Jim Ma
            ema Jim Ma
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: