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

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

Best Java code snippets using com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.getQNameOf (Showing top 8 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);
  }
}
origin: javaee/metro-jax-ws

QName portQName = getQNameOf(wsdlPort);
Port port = new Port(portQName, wsdlPort);
QName bindingName = getQNameOf(binding);
PortType portType = binding.resolvePortType(document);
    getQNameOf(wsdlPort));
port.setProperty(
    ModelProperties.PROPERTY_WSDL_PORT_TYPE_NAME,
    getQNameOf(portType));
port.setProperty(
    ModelProperties.PROPERTY_WSDL_BINDING_NAME,
origin: org.glassfish.metro/webservices-tools

QName portQName = getQNameOf(wsdlPort);
Port port = new Port(portQName, wsdlPort);
QName bindingName = getQNameOf(binding);
PortType portType = binding.resolvePortType(document);
    getQNameOf(wsdlPort));
port.setProperty(
    ModelProperties.PROPERTY_WSDL_PORT_TYPE_NAME,
    getQNameOf(portType));
port.setProperty(
    ModelProperties.PROPERTY_WSDL_BINDING_NAME,
origin: com.sun.xml.ws/jaxws-tools

QName portQName = getQNameOf(wsdlPort);
Port port = new Port(portQName, wsdlPort);
QName bindingName = getQNameOf(binding);
PortType portType = binding.resolvePortType(document);
    getQNameOf(wsdlPort));
port.setProperty(
    ModelProperties.PROPERTY_WSDL_PORT_TYPE_NAME,
    getQNameOf(portType));
port.setProperty(
    ModelProperties.PROPERTY_WSDL_BINDING_NAME,
origin: javaee/metro-jax-ws

QName portQName = getQNameOf(wsdlPort);
Port port = new Port(portQName, wsdlPort);
QName bindingName = getQNameOf(binding);
PortType portType = binding.resolvePortType(document);
    getQNameOf(wsdlPort));
port.setProperty(
    ModelProperties.PROPERTY_WSDL_PORT_TYPE_NAME,
    getQNameOf(portType));
port.setProperty(
    ModelProperties.PROPERTY_WSDL_BINDING_NAME,
com.sun.tools.ws.processor.modeler.wsdlWSDLModelergetQNameOf

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

  • Parsing JSON documents to java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSupportFragmentManager (FragmentActivity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • JOptionPane (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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