code: private void processClassesInWebXML(EndpointInfoBuilder endpointInfoBuilder, EndpointInfoBuilderContext ctx, WebAppConfig webAppConfig,
                                          JaxWsModuleInfo jaxWsModuleInfo, Set<String> presentedServices) throws UnableToAdaptException {
  
          Iterator<IServletConfig> cfgIter = webAppConfig.getServletInfos();
  
          while (cfgIter.hasNext()) {
              IServletConfig servletCfg = cfgIter.next();
  
              String servletClassName = servletCfg.getClassName();
              if (servletClassName == null
                  || presentedServices.contains(servletClassName)
                  || !JaxWsUtils.isWebService(ctx.getInfoStore().getDelayableClassInfo(servletClassName))) {
                  continue;
              }
  
              String servletName = servletCfg.getServletName();
              // add the servletName into EndpointInfoContext env
              ctx.addContextEnv(JaxWsConstants.ENV_ATTRIBUTE_ENDPOINT_SERVLET_NAME, servletName);
  
              jaxWsModuleInfo.addEndpointInfo(servletName, endpointInfoBuilder.build(ctx, servletClassName, EndpointType.SERVLET));
          }
      }
docs: Process the serviceImplBean classes in web.xml file.
  
  @param ctx
  @param webAppConfig
  @param jaxWsModuleInfo
  @throws Exception