Tabnine Logo
WebservicesFactory.parse
Code IndexAdd Tabnine to your IDE (free)

How to use
parse
method
in
org.jboss.wsf.spi.metadata.webservices.WebservicesFactory

Best Java code snippets using org.jboss.wsf.spi.metadata.webservices.WebservicesFactory.parse (Showing top 3 results out of 315)

origin: org.jboss.ws/jbossws-spi

public WebservicesMetaData parse(InputStream is, URL descriptorURL)
{
 try
 {
   XMLStreamReader xmlr = StAXUtils.createXMLStreamReader(is);
   return parse(xmlr, descriptorURL);
 }
 catch (Exception e)
 {
   throw new WebServiceException(e);
 }
}
origin: org.jboss.ws/jbossws-spi

private WebservicesMetaData parse(XMLStreamReader reader, URL descriptorURL) throws XMLStreamException
{
 int iterate;
 try
 {
   iterate = reader.nextTag();
 }
 catch (XMLStreamException e)
 {
   // skip non-tag elements
   iterate = reader.nextTag();
 }
 WebservicesMetaData metadata = null;
 switch (iterate)
 {
   case END_ELEMENT : {
    // we're done
    break;
   }
   case START_ELEMENT : {
    if (match(reader, JAVAEE_NS, WEBSERVICES) || match(reader, J2EE_NS, WEBSERVICES) || match(reader, JCP_JAVAEENS, WEBSERVICES))
    {
      String nsUri = reader.getNamespaceURI();
      metadata = parseWebservices(reader, nsUri, descriptorURL);
    }
    else
    {
      throw MESSAGES.unexpectedElement(descriptorURL != null ? descriptorURL.toString() : "webservices.xml", reader.getLocalName());
    }
origin: org.jboss.ws/jbossws-spi

public WebservicesMetaData load(URL wsddUrl)
{
 InputStream is = null;
 try
 {
   is = wsddUrl.openStream();
   XMLStreamReader xmlr = StAXUtils.createXMLStreamReader(is);
   return parse(xmlr, wsddUrl);
 }
 catch (Exception e)
 {
   throw MESSAGES.failedToUnmarshall(e, wsddUrl);
 }
 finally
 {
   try
   {
    if (is != null) is.close();
   }
   catch (IOException e) {} //ignore
 }
}
org.jboss.wsf.spi.metadata.webservicesWebservicesFactoryparse

Popular methods of WebservicesFactory

  • <init>
  • load
  • getDescriptorForLogs
  • getElementText
  • parseAddressing
  • parseHandler
  • parseHandlerChains
  • parsePortComponent
  • parseRespectBinding
  • parseServiceImplBean
  • parseWebserviceDescription
  • parseWebservices
  • parseWebserviceDescription,
  • parseWebservices

Popular in Java

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • runOnUiThread (Activity)
  • findViewById (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Menu (java.awt)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • 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