Tabnine Logo
WSDLModeler.isConflictingServiceClassName
Code IndexAdd Tabnine to your IDE (free)

How to use
isConflictingServiceClassName
method
in
com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler

Best Java code snippets using com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.isConflictingServiceClassName (Showing top 4 results out of 315)

origin: javaee/metro-jax-ws

protected void processService(com.sun.tools.ws.wsdl.document.Service wsdlService, Model model, WSDLDocument document) {
  QName serviceQName = getQNameOf(wsdlService);
  String serviceInterface = getServiceInterfaceName(serviceQName, wsdlService);
  if (isConflictingServiceClassName(serviceInterface)) {
    serviceInterface += "_Service";
  }
  Service service =
      new Service(
          serviceQName,
          new JavaInterface(serviceInterface, serviceInterface + "Impl"), wsdlService);
  setDocumentationIfPresent(service, wsdlService.getDocumentation());
  boolean hasPorts = false;
  for (Iterator iter = wsdlService.ports(); iter.hasNext();) {
    boolean processed =
        processPort(
            (com.sun.tools.ws.wsdl.document.Port) iter.next(),
            service,
            document);
    hasPorts = hasPorts || processed;
  }
  if (!hasPorts) {
    // emit a warning if there are no ports
    warning(wsdlService, ModelerMessages.WSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(wsdlService.getName()));
  } else {
    model.addService(service);
  }
}
origin: com.sun.xml.ws/jaxws-tools

protected void processService(com.sun.tools.ws.wsdl.document.Service wsdlService, Model model, WSDLDocument document) {
  QName serviceQName = getQNameOf(wsdlService);
  String serviceInterface = getServiceInterfaceName(serviceQName, wsdlService);
  if (isConflictingServiceClassName(serviceInterface)) {
    serviceInterface += "_Service";
  }
  Service service =
      new Service(
          serviceQName,
          new JavaInterface(serviceInterface, serviceInterface + "Impl"), wsdlService);
  setDocumentationIfPresent(service, wsdlService.getDocumentation());
  boolean hasPorts = false;
  for (Iterator iter = wsdlService.ports(); iter.hasNext();) {
    boolean processed =
        processPort(
            (com.sun.tools.ws.wsdl.document.Port) iter.next(),
            service,
            document);
    hasPorts = hasPorts || processed;
  }
  if (!hasPorts) {
    // emit a warning if there are no ports
    warning(wsdlService, ModelerMessages.WSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(wsdlService.getName()));
  } else {
    model.addService(service);
  }
}
origin: org.glassfish.metro/webservices-tools

protected void processService(com.sun.tools.ws.wsdl.document.Service wsdlService, Model model, WSDLDocument document) {
  QName serviceQName = getQNameOf(wsdlService);
  String serviceInterface = getServiceInterfaceName(serviceQName, wsdlService);
  if (isConflictingServiceClassName(serviceInterface)) {
    serviceInterface += "_Service";
  }
  Service service =
      new Service(
          serviceQName,
          new JavaInterface(serviceInterface, serviceInterface + "Impl"), wsdlService);
  setDocumentationIfPresent(service, wsdlService.getDocumentation());
  boolean hasPorts = false;
  for (Iterator iter = wsdlService.ports(); iter.hasNext();) {
    boolean processed =
        processPort(
            (com.sun.tools.ws.wsdl.document.Port) iter.next(),
            service,
            document);
    hasPorts = hasPorts || processed;
  }
  if (!hasPorts) {
    // emit a warning if there are no ports
    warning(wsdlService, ModelerMessages.WSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(wsdlService.getName()));
  } else {
    model.addService(service);
  }
}
origin: javaee/metro-jax-ws

protected void processService(com.sun.tools.ws.wsdl.document.Service wsdlService, Model model, WSDLDocument document) {
  QName serviceQName = getQNameOf(wsdlService);
  String serviceInterface = getServiceInterfaceName(serviceQName, wsdlService);
  if (isConflictingServiceClassName(serviceInterface)) {
    serviceInterface += "_Service";
  }
  Service service =
      new Service(
          serviceQName,
          new JavaInterface(serviceInterface, serviceInterface + "Impl"), wsdlService);
  setDocumentationIfPresent(service, wsdlService.getDocumentation());
  boolean hasPorts = false;
  for (Iterator iter = wsdlService.ports(); iter.hasNext();) {
    boolean processed =
        processPort(
            (com.sun.tools.ws.wsdl.document.Port) iter.next(),
            service,
            document);
    hasPorts = hasPorts || processed;
  }
  if (!hasPorts) {
    // emit a warning if there are no ports
    warning(wsdlService, ModelerMessages.WSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(wsdlService.getName()));
  } else {
    model.addService(service);
  }
}
com.sun.tools.ws.processor.modeler.wsdlWSDLModelerisConflictingServiceClassName

Popular methods of WSDLModeler

  • <init>
  • addAsyncOperations
  • applyOperationNameCustomization
  • applyPortMethodCustomization
  • applyWrapperStyleCustomization
  • boundToFault
  • buildJAXBModel
  • buildModel
  • conflictsWithExceptionClass
  • conflictsWithJAXBClass
  • conflictsWithSEIClass
  • createAsyncOperation
  • conflictsWithSEIClass,
  • createAsyncOperation,
  • createJavaExceptionFromLiteralType,
  • createJavaInterfaceForPort,
  • createJavaInterfaceForProviderPort,
  • createJavaMethodForAsyncOperation,
  • createJavaMethodForOperation,
  • createRpcLitRequestParameters,
  • enableMimeContent,
  • error

Popular in Java

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • getSharedPreferences (Context)
  • getSystemService (Context)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Collectors (java.util.stream)
  • JOptionPane (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now