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

  • Creating JSON documents from java classes using gson
  • putExtra (Intent)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getContentResolver (Context)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • JTextField (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • From CI to AI: The AI layer in your organization
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