Tabnine Logo
WsgenTool$ReportOutput$Report.portType
Code IndexAdd Tabnine to your IDE (free)

How to use
portType
method
in
com.sun.tools.ws.wscompile.WsgenTool$ReportOutput$Report

Best Java code snippets using com.sun.tools.ws.wscompile.WsgenTool$ReportOutput$Report.portType (Showing top 4 results out of 315)

origin: com.sun.xml.ws/jaxws-tools

/**
 * Generates a small XML file that captures the key activity of wsgen,
 * so that test harness can pick up artifacts.
 */
private void generateWsgenReport(Class<?> endpointClass, AbstractSEIModelImpl rtModel, File wsdlFile, Map<String, File> schemaFiles) {
  try {
    ReportOutput.Report report = TXW.create(ReportOutput.Report.class,
        new StreamSerializer(new BufferedOutputStream(new FileOutputStream(options.wsgenReport))));
    report.wsdl(wsdlFile.getAbsolutePath());
    ReportOutput.writeQName(rtModel.getServiceQName(), report.service());
    ReportOutput.writeQName(rtModel.getPortName(), report.port());
    ReportOutput.writeQName(rtModel.getPortTypeName(), report.portType());
    report.implClass(endpointClass.getName());
    for (Map.Entry<String, File> e : schemaFiles.entrySet()) {
      ReportOutput.Schema s = report.schema();
      s.ns(e.getKey());
      s.location(e.getValue().getAbsolutePath());
    }
    report.commit();
  } catch (IOException e) {
    // this is code for the test, so we can be lousy in the error handling
    throw new Error(e);
  }
}
origin: javaee/metro-jax-ws

/**
 * Generates a small XML file that captures the key activity of wsgen,
 * so that test harness can pick up artifacts.
 */
private void generateWsgenReport(Class<?> endpointClass, AbstractSEIModelImpl rtModel, File wsdlFile, Map<String, File> schemaFiles) {
  try {
    ReportOutput.Report report = TXW.create(ReportOutput.Report.class,
        new StreamSerializer(new BufferedOutputStream(new FileOutputStream(options.wsgenReport))));
    report.wsdl(wsdlFile.getAbsolutePath());
    ReportOutput.writeQName(rtModel.getServiceQName(), report.service());
    ReportOutput.writeQName(rtModel.getPortName(), report.port());
    ReportOutput.writeQName(rtModel.getPortTypeName(), report.portType());
    report.implClass(endpointClass.getName());
    for (Map.Entry<String, File> e : schemaFiles.entrySet()) {
      ReportOutput.Schema s = report.schema();
      s.ns(e.getKey());
      s.location(e.getValue().getAbsolutePath());
    }
    report.commit();
  } catch (IOException e) {
    // this is code for the test, so we can be lousy in the error handling
    throw new Error(e);
  }
}
origin: org.glassfish.metro/webservices-tools

/**
 * Generates a small XML file that captures the key activity of wsgen,
 * so that test harness can pick up artifacts.
 */
private void generateWsgenReport(Class<?> endpointClass, AbstractSEIModelImpl rtModel, File wsdlFile, Map<String, File> schemaFiles) {
  try {
    ReportOutput.Report report = TXW.create(ReportOutput.Report.class,
        new StreamSerializer(new BufferedOutputStream(new FileOutputStream(options.wsgenReport))));
    report.wsdl(wsdlFile.getAbsolutePath());
    ReportOutput.writeQName(rtModel.getServiceQName(), report.service());
    ReportOutput.writeQName(rtModel.getPortName(), report.port());
    ReportOutput.writeQName(rtModel.getPortTypeName(), report.portType());
    report.implClass(endpointClass.getName());
    for (Map.Entry<String, File> e : schemaFiles.entrySet()) {
      ReportOutput.Schema s = report.schema();
      s.ns(e.getKey());
      s.location(e.getValue().getAbsolutePath());
    }
    report.commit();
  } catch (IOException e) {
    // this is code for the test, so we can be lousy in the error handling
    throw new Error(e);
  }
}
origin: javaee/metro-jax-ws

/**
 * Generates a small XML file that captures the key activity of wsgen,
 * so that test harness can pick up artifacts.
 */
private void generateWsgenReport(Class<?> endpointClass, AbstractSEIModelImpl rtModel, File wsdlFile, Map<String, File> schemaFiles) {
  try {
    ReportOutput.Report report = TXW.create(ReportOutput.Report.class,
        new StreamSerializer(new BufferedOutputStream(new FileOutputStream(options.wsgenReport))));
    report.wsdl(wsdlFile.getAbsolutePath());
    ReportOutput.writeQName(rtModel.getServiceQName(), report.service());
    ReportOutput.writeQName(rtModel.getPortName(), report.port());
    ReportOutput.writeQName(rtModel.getPortTypeName(), report.portType());
    report.implClass(endpointClass.getName());
    for (Map.Entry<String, File> e : schemaFiles.entrySet()) {
      ReportOutput.Schema s = report.schema();
      s.ns(e.getKey());
      s.location(e.getValue().getAbsolutePath());
    }
    report.commit();
  } catch (IOException e) {
    // this is code for the test, so we can be lousy in the error handling
    throw new Error(e);
  }
}
com.sun.tools.ws.wscompileWsgenTool$ReportOutput$ReportportType

Popular methods of WsgenTool$ReportOutput$Report

  • commit
  • implClass
    Name of the class that has javax.jws.WebService.
  • port
  • schema
  • service
  • wsdl

Popular in Java

  • Updating database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • getSystemService (Context)
  • scheduleAtFixedRate (Timer)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • 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