com.sun.xml.ws.wsdl.parser
Class RuntimeWSDLParser

java.lang.Object
  extended by com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser

public class RuntimeWSDLParser
extends Object

Parses WSDL and builds WSDLModel.

Author:
Vivek Pandey, Rama Pulavarthi

Method Summary
static WSDLModel parse(URL wsdlLoc, Source wsdlSource, EntityResolver resolver, boolean isClientSide, Container container, Class serviceClass, PolicyResolver policyResolver, boolean isUseStreamFromEntityResolverWrapper, WSDLParserExtension... extensions)
          Parses the WSDL and gives WSDLModel.
static WSDLModel parse(URL wsdlLoc, Source wsdlSource, EntityResolver resolver, boolean isClientSide, Container container, Class serviceClass, PolicyResolver policyResolver, WSDLParserExtension... extensions)
          Parses the WSDL and gives WSDLModel.
static WSDLModel parse(URL wsdlLoc, Source wsdlSource, EntityResolver resolver, boolean isClientSide, Container container, Class serviceClass, WSDLParserExtension... extensions)
          Parses the WSDL and gives WSDLModel.
static WSDLModel parse(URL wsdlLoc, Source wsdlSource, EntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions)
          Parses the WSDL and gives WSDLModel.
static WSDLModel parse(URL wsdlLoc, Source wsdlSource, EntityResolver resolver, boolean isClientSide, Container container, WSDLParserExtension... extensions)
          Parses the WSDL and gives WSDLModel.
static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions)
           
static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, WSDLParserExtension... extensions)
           
protected  void parseImport(URL baseURL, XMLStreamReader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parse

public static WSDLModel parse(@Nullable
                              URL wsdlLoc,
                              @NotNull
                              Source wsdlSource,
                              @NotNull
                              EntityResolver resolver,
                              boolean isClientSide,
                              Container container,
                              WSDLParserExtension... extensions)
                       throws IOException,
                              XMLStreamException,
                              SAXException
Parses the WSDL and gives WSDLModel. If wsdl parameter is null, then wsdlLoc is used to get the WSDL. If the WSDL document could not be obtained then MetadataResolverFactory is tried to get the WSDL document, if not found then as last option, if the wsdlLoc has no '?wsdl' as query parameter then it is tried by appending '?wsdl'.

Parameters:
wsdlLoc - Either this or wsdl parameter must be given. Null location means the system won't be able to resolve relative references in the WSDL,
Throws:
IOException
XMLStreamException
SAXException

parse

public static WSDLModel parse(@Nullable
                              URL wsdlLoc,
                              @NotNull
                              Source wsdlSource,
                              @NotNull
                              EntityResolver resolver,
                              boolean isClientSide,
                              Container container,
                              Class serviceClass,
                              WSDLParserExtension... extensions)
                       throws IOException,
                              XMLStreamException,
                              SAXException
Parses the WSDL and gives WSDLModel. If wsdl parameter is null, then wsdlLoc is used to get the WSDL. If the WSDL document could not be obtained then MetadataResolverFactory is tried to get the WSDL document, if not found then as last option, if the wsdlLoc has no '?wsdl' as query parameter then it is tried by appending '?wsdl'.

Parameters:
wsdlLoc - Either this or wsdl parameter must be given. Null location means the system won't be able to resolve relative references in the WSDL,
Throws:
IOException
XMLStreamException
SAXException

parse

public static WSDLModel parse(@Nullable
                              URL wsdlLoc,
                              @NotNull
                              Source wsdlSource,
                              @NotNull
                              EntityResolver resolver,
                              boolean isClientSide,
                              Container container,
                              @NotNull
                              PolicyResolver policyResolver,
                              WSDLParserExtension... extensions)
                       throws IOException,
                              XMLStreamException,
                              SAXException
Parses the WSDL and gives WSDLModel. If wsdl parameter is null, then wsdlLoc is used to get the WSDL. If the WSDL document could not be obtained then MetadataResolverFactory is tried to get the WSDL document, if not found then as last option, if the wsdlLoc has no '?wsdl' as query parameter then it is tried by appending '?wsdl'.

Parameters:
wsdlLoc - Either this or wsdl parameter must be given. Null location means the system won't be able to resolve relative references in the WSDL,
Throws:
IOException
XMLStreamException
SAXException

parse

public static WSDLModel parse(@Nullable
                              URL wsdlLoc,
                              @NotNull
                              Source wsdlSource,
                              @NotNull
                              EntityResolver resolver,
                              boolean isClientSide,
                              Container container,
                              Class serviceClass,
                              @NotNull
                              PolicyResolver policyResolver,
                              WSDLParserExtension... extensions)
                       throws IOException,
                              XMLStreamException,
                              SAXException
Parses the WSDL and gives WSDLModel. If wsdl parameter is null, then wsdlLoc is used to get the WSDL. If the WSDL document could not be obtained then MetadataResolverFactory is tried to get the WSDL document, if not found then as last option, if the wsdlLoc has no '?wsdl' as query parameter then it is tried by appending '?wsdl'.

Parameters:
wsdlLoc - Either this or wsdl parameter must be given. Null location means the system won't be able to resolve relative references in the WSDL,
Throws:
IOException
XMLStreamException
SAXException

parse

public static WSDLModel parse(@Nullable
                              URL wsdlLoc,
                              @NotNull
                              Source wsdlSource,
                              @NotNull
                              EntityResolver resolver,
                              boolean isClientSide,
                              Container container,
                              Class serviceClass,
                              @NotNull
                              PolicyResolver policyResolver,
                              boolean isUseStreamFromEntityResolverWrapper,
                              WSDLParserExtension... extensions)
                       throws IOException,
                              XMLStreamException,
                              SAXException
Parses the WSDL and gives WSDLModel. If wsdl parameter is null, then wsdlLoc is used to get the WSDL. If the WSDL document could not be obtained then MetadataResolverFactory is tried to get the WSDL document, if not found then as last option, if the wsdlLoc has no '?wsdl' as query parameter then it is tried by appending '?wsdl'.

Parameters:
wsdlLoc - Either this or wsdl parameter must be given. Null location means the system won't be able to resolve relative references in the WSDL,
Throws:
IOException
XMLStreamException
SAXException

parse

public static WSDLModel parse(XMLEntityResolver.Parser wsdl,
                              XMLEntityResolver resolver,
                              boolean isClientSide,
                              Container container,
                              PolicyResolver policyResolver,
                              WSDLParserExtension... extensions)
                       throws IOException,
                              XMLStreamException,
                              SAXException
Throws:
IOException
XMLStreamException
SAXException

parse

public static WSDLModel parse(XMLEntityResolver.Parser wsdl,
                              XMLEntityResolver resolver,
                              boolean isClientSide,
                              Container container,
                              WSDLParserExtension... extensions)
                       throws IOException,
                              XMLStreamException,
                              SAXException
Throws:
IOException
XMLStreamException
SAXException

parseImport

protected void parseImport(@Nullable
                           URL baseURL,
                           XMLStreamReader reader)
                    throws IOException,
                           SAXException,
                           XMLStreamException
Throws:
IOException
SAXException
XMLStreamException


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.