com.sun.xml.ws.wsdl.parser
Class RuntimeWSDLParser
java.lang.Object
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser
public class RuntimeWSDLParser
- extends Object
Parses WSDL and builds WSDLModel
.
Method Summary |
static WSDLModelImpl |
parse(URL wsdlLoc,
Source wsdlSource,
EntityResolver resolver,
boolean isClientSide,
Container container,
WSDLParserExtension... extensions)
Parses the WSDL and gives WSDLModel. |
static WSDLModelImpl |
parse(XMLEntityResolver.Parser wsdl,
XMLEntityResolver resolver,
boolean isClientSide,
Container container,
WSDLParserExtension... extensions)
|
protected void |
parseImport(URL baseURL,
javax.xml.stream.XMLStreamReader reader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
extensions
List<WSDLParserExtension> extensions
parse
public static WSDLModelImpl parse(@Nullable
URL wsdlLoc,
@NotNull
Source wsdlSource,
@NotNull
EntityResolver resolver,
boolean isClientSide,
Container container,
WSDLParserExtension... extensions)
throws IOException,
javax.xml.stream.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
javax.xml.stream.XMLStreamException
SAXException
parse
public static WSDLModelImpl parse(XMLEntityResolver.Parser wsdl,
XMLEntityResolver resolver,
boolean isClientSide,
Container container,
WSDLParserExtension... extensions)
throws IOException,
javax.xml.stream.XMLStreamException,
SAXException
- Throws:
IOException
javax.xml.stream.XMLStreamException
SAXException
parseImport
protected void parseImport(@Nullable
URL baseURL,
javax.xml.stream.XMLStreamReader reader)
throws IOException,
SAXException,
javax.xml.stream.XMLStreamException
- Throws:
IOException
SAXException
javax.xml.stream.XMLStreamException