code: public void useNewSOAPService(boolean direct) throws Exception {
          URL wsdlURL = getClass().getResource("/CustomerServiceNew.wsdl");
          org.customer.service.CustomerServiceService service = 
              new org.customer.service.CustomerServiceService(wsdlURL);
          
          org.customer.service.CustomerService customerService = 
              direct ? service.getCustomerServicePort() : service.getCustomerServiceNewPort();
  
          System.out.println("Using new SOAP CustomerService with new client");
          
          customer.v2.Customer customer = createNewCustomer("Barry New SOAP");
          customerService.updateCustomer(customer);
          customer = customerService.getCustomerByName("Barry New SOAP");
          printNewCustomerDetails(customer);
      }
docs: New SOAP client uses new SOAP service.