Tabnine Logo
WSDLFetcher
Code IndexAdd Tabnine to your IDE (free)

How to use
WSDLFetcher
in
com.sun.tools.ws.util

Best Java code snippets using com.sun.tools.ws.util.WSDLFetcher (Showing top 16 results out of 315)

origin: javaee/metro-jax-ws

/**
 *  Fetches the wsdls in the DOMForest to the options.destDir
 * @param forest
 * @return location of fetched root WSDL document
 * @throws IOException
 * @throws XMLStreamException
 * @throws FileNotFoundException
 */
public String fetchWsdls(MetadataFinder forest) throws IOException, XMLStreamException {
  String rootWsdl = null;
  for(String root: forest.getRootDocuments()) {
    rootWsdl = root;
  }
  Set<String> externalRefs = forest.getExternalReferences();
  Map<String,String> documentMap = createDocumentMap(forest, getWSDLDownloadDir(), rootWsdl, externalRefs);
  String rootWsdlName = fetchFile(rootWsdl,forest, documentMap,getWSDLDownloadDir());
  for(String reference: forest.getExternalReferences()) {
    fetchFile(reference,forest,documentMap,getWSDLDownloadDir());
  }
  return WSDL_PATH +"/" + rootWsdlName;
}
origin: org.glassfish.metro/webservices-tools

map.put(rootWsdl,sanitize(rootWsdlFileName));
origin: javaee/metro-jax-ws

if( !options.quiet )
  listener.message(WscompileMessages.WSIMPORT_FETCHING_METADATA());
options.wsdlLocation = new WSDLFetcher(options,listener).fetchWsdls(forest);
origin: javaee/metro-jax-ws

private String fetchFile(final String doc, DOMForest forest, final Map<String, String> documentMap, File destDir) throws IOException, XMLStreamException {
  DocumentLocationResolver docLocator = createDocResolver(doc, forest, documentMap);
  WSDLPatcher wsdlPatcher = new WSDLPatcher(new PortAddressResolver() {
    @Override
origin: javaee/metro-jax-ws

if( !options.quiet )
  listener.message(WscompileMessages.WSIMPORT_FETCHING_METADATA());
options.wsdlLocation = new WSDLFetcher(options,listener).fetchWsdls(forest);
origin: javaee/metro-jax-ws

private String fetchFile(final String doc, DOMForest forest, final Map<String, String> documentMap, File destDir) throws IOException, XMLStreamException {
  DocumentLocationResolver docLocator = createDocResolver(doc, forest, documentMap);
  WSDLPatcher wsdlPatcher = new WSDLPatcher(new PortAddressResolver() {
    @Override
origin: javaee/metro-jax-ws

/**
 *  Fetches the wsdls in the DOMForest to the options.destDir
 * @param forest
 * @return location of fetched root WSDL document
 * @throws IOException
 * @throws XMLStreamException
 * @throws FileNotFoundException
 */
public String fetchWsdls(MetadataFinder forest) throws IOException, XMLStreamException {
  String rootWsdl = null;
  for(String root: forest.getRootDocuments()) {
    rootWsdl = root;
  }
  Set<String> externalRefs = forest.getExternalReferences();
  Map<String,String> documentMap = createDocumentMap(forest, getWSDLDownloadDir(), rootWsdl, externalRefs);
  String rootWsdlName = fetchFile(rootWsdl,forest, documentMap,getWSDLDownloadDir());
  for(String reference: forest.getExternalReferences()) {
    fetchFile(reference,forest,documentMap,getWSDLDownloadDir());
  }
  return WSDL_PATH +"/" + rootWsdlName;
}
origin: com.sun.xml.ws/jaxws-tools

if( !options.quiet )
  listener.message(WscompileMessages.WSIMPORT_FETCHING_METADATA());
options.wsdlLocation = new WSDLFetcher(options,listener).fetchWsdls(forest);
origin: com.sun.xml.ws/jaxws-tools

private String fetchFile(final String doc, DOMForest forest, final Map<String, String> documentMap, File destDir) throws IOException, XMLStreamException {
  DocumentLocationResolver docLocator = createDocResolver(doc, forest, documentMap);
  WSDLPatcher wsdlPatcher = new WSDLPatcher(new PortAddressResolver() {
    @Override
origin: javaee/metro-jax-ws

map.put(rootWsdl,sanitize(rootWsdlFileName));
origin: com.sun.xml.ws/jaxws-tools

/**
 *  Fetches the wsdls in the DOMForest to the options.destDir
 * @param forest
 * @return location of fetched root WSDL document
 * @throws IOException
 * @throws XMLStreamException
 * @throws FileNotFoundException
 */
public String fetchWsdls(MetadataFinder forest) throws IOException, XMLStreamException {
  String rootWsdl = null;
  for(String root: forest.getRootDocuments()) {
    rootWsdl = root;
  }
  Set<String> externalRefs = forest.getExternalReferences();
  Map<String,String> documentMap = createDocumentMap(forest, getWSDLDownloadDir(), rootWsdl, externalRefs);
  String rootWsdlName = fetchFile(rootWsdl,forest, documentMap,getWSDLDownloadDir());
  for(String reference: forest.getExternalReferences()) {
    fetchFile(reference,forest,documentMap,getWSDLDownloadDir());
  }
  return WSDL_PATH +"/" + rootWsdlName;
}
origin: org.glassfish.metro/webservices-tools

if( !options.quiet )
  listener.message(WscompileMessages.WSIMPORT_FETCHING_METADATA());
options.wsdlLocation = new WSDLFetcher(options,listener).fetchWsdls(forest);
origin: org.glassfish.metro/webservices-tools

private String fetchFile(final String doc, DOMForest forest, final Map<String, String> documentMap, File destDir) throws IOException, XMLStreamException {
  DocumentLocationResolver docLocator = createDocResolver(doc, forest, documentMap);
  WSDLPatcher wsdlPatcher = new WSDLPatcher(new PortAddressResolver() {
    @Override
origin: com.sun.xml.ws/jaxws-tools

map.put(rootWsdl,sanitize(rootWsdlFileName));
origin: org.glassfish.metro/webservices-tools

/**
 *  Fetches the wsdls in the DOMForest to the options.destDir
 * @param forest
 * @return location of fetched root WSDL document
 * @throws IOException
 * @throws XMLStreamException
 * @throws FileNotFoundException
 */
public String fetchWsdls(MetadataFinder forest) throws IOException, XMLStreamException {
  String rootWsdl = null;
  for(String root: forest.getRootDocuments()) {
    rootWsdl = root;
  }
  Set<String> externalRefs = forest.getExternalReferences();
  Map<String,String> documentMap = createDocumentMap(forest, getWSDLDownloadDir(), rootWsdl, externalRefs);
  String rootWsdlName = fetchFile(rootWsdl,forest, documentMap,getWSDLDownloadDir());
  for(String reference: forest.getExternalReferences()) {
    fetchFile(reference,forest,documentMap,getWSDLDownloadDir());
  }
  return WSDL_PATH +"/" + rootWsdlName;
}
origin: javaee/metro-jax-ws

map.put(rootWsdl,sanitize(rootWsdlFileName));
com.sun.tools.ws.utilWSDLFetcher

Most used methods

  • <init>
  • createDocResolver
  • createDocumentMap
  • fetchFile
  • fetchWsdls
    Fetches the wsdls in the DOMForest to the options.destDir
  • getWSDLDownloadDir
  • sanitize

Popular in Java

  • Reactive rest calls using spring rest template
  • getExternalFilesDir (Context)
  • findViewById (Activity)
  • runOnUiThread (Activity)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • IsNull (org.hamcrest.core)
    Is the value null?
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Option (scala)
  • Sublime Text for Python
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