Package com.sun.xml.ws.wsdl.parser
Class RuntimeWSDLParser
java.lang.Object
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser
Parses WSDL and builds
WSDLModel
.- Author:
- Vivek Pandey, Rama Pulavarthi
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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) 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
(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.protected void
parseImport
(URL baseURL, XMLStreamReader reader)
-
Method Details
-
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 thenMetadataResolverFactory
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 orwsdl
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 thenMetadataResolverFactory
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 orwsdl
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 thenMetadataResolverFactory
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 orwsdl
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 thenMetadataResolverFactory
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 orwsdl
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 thenMetadataResolverFactory
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 orwsdl
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 -
parse
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException -
parseImport
protected void parseImport(@Nullable URL baseURL, XMLStreamReader reader) throws IOException, SAXException, XMLStreamException
-