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

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

public class RuntimeWSDLParser
extends java.lang.Object

Parses WSDL and builds WSDLModel.


Method Summary
static WSDLModelImpl parse(java.net.URL wsdlLoc, javax.xml.transform.Source wsdlSource, org.xml.sax.EntityResolver resolver, boolean isClientSide, Container container, java.lang.Class serviceClass, PolicyResolver policyResolver, boolean isUseStreamFromEntityResolverWrapper, WSDLParserExtension... extensions)
          Parses the WSDL and gives WSDLModel.
static WSDLModelImpl parse(java.net.URL wsdlLoc, javax.xml.transform.Source wsdlSource, org.xml.sax.EntityResolver resolver, boolean isClientSide, Container container, java.lang.Class serviceClass, PolicyResolver policyResolver, WSDLParserExtension... extensions)
          Parses the WSDL and gives WSDLModel.
static WSDLModelImpl parse(java.net.URL wsdlLoc, javax.xml.transform.Source wsdlSource, org.xml.sax.EntityResolver resolver, boolean isClientSide, Container container, java.lang.Class serviceClass, WSDLParserExtension... extensions)
          Parses the WSDL and gives WSDLModel.
static WSDLModelImpl parse(java.net.URL wsdlLoc, javax.xml.transform.Source wsdlSource, org.xml.sax.EntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions)
          Parses the WSDL and gives WSDLModel.
static WSDLModelImpl parse(java.net.URL wsdlLoc, javax.xml.transform.Source wsdlSource, org.xml.sax.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, PolicyResolver policyResolver, WSDLParserExtension... extensions)
           
static WSDLModelImpl parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, WSDLParserExtension... extensions)
           
protected  void parseImport(java.net.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
 

Method Detail

parse

public static WSDLModelImpl parse(@Nullable
                                  java.net.URL wsdlLoc,
                                  @NotNull
                                  javax.xml.transform.Source wsdlSource,
                                  @NotNull
                                  org.xml.sax.EntityResolver resolver,
                                  boolean isClientSide,
                                  Container container,
                                  WSDLParserExtension... extensions)
                           throws java.io.IOException,
                                  javax.xml.stream.XMLStreamException,
                                  org.xml.sax.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:
java.io.IOException
javax.xml.stream.XMLStreamException
org.xml.sax.SAXException

parse

public static WSDLModelImpl parse(@Nullable
                                  java.net.URL wsdlLoc,
                                  @NotNull
                                  javax.xml.transform.Source wsdlSource,
                                  @NotNull
                                  org.xml.sax.EntityResolver resolver,
                                  boolean isClientSide,
                                  Container container,
                                  java.lang.Class serviceClass,
                                  WSDLParserExtension... extensions)
                           throws java.io.IOException,
                                  javax.xml.stream.XMLStreamException,
                                  org.xml.sax.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:
java.io.IOException
javax.xml.stream.XMLStreamException
org.xml.sax.SAXException

parse

public static WSDLModelImpl parse(@Nullable
                                  java.net.URL wsdlLoc,
                                  @NotNull
                                  javax.xml.transform.Source wsdlSource,
                                  @NotNull
                                  org.xml.sax.EntityResolver resolver,
                                  boolean isClientSide,
                                  Container container,
                                  @NotNull
                                  PolicyResolver policyResolver,
                                  WSDLParserExtension... extensions)
                           throws java.io.IOException,
                                  javax.xml.stream.XMLStreamException,
                                  org.xml.sax.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:
java.io.IOException
javax.xml.stream.XMLStreamException
org.xml.sax.SAXException

parse

public static WSDLModelImpl parse(@Nullable
                                  java.net.URL wsdlLoc,
                                  @NotNull
                                  javax.xml.transform.Source wsdlSource,
                                  @NotNull
                                  org.xml.sax.EntityResolver resolver,
                                  boolean isClientSide,
                                  Container container,
                                  java.lang.Class serviceClass,
                                  @NotNull
                                  PolicyResolver policyResolver,
                                  WSDLParserExtension... extensions)
                           throws java.io.IOException,
                                  javax.xml.stream.XMLStreamException,
                                  org.xml.sax.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:
java.io.IOException
javax.xml.stream.XMLStreamException
org.xml.sax.SAXException

parse

public static WSDLModelImpl parse(@Nullable
                                  java.net.URL wsdlLoc,
                                  @NotNull
                                  javax.xml.transform.Source wsdlSource,
                                  @NotNull
                                  org.xml.sax.EntityResolver resolver,
                                  boolean isClientSide,
                                  Container container,
                                  java.lang.Class serviceClass,
                                  @NotNull
                                  PolicyResolver policyResolver,
                                  boolean isUseStreamFromEntityResolverWrapper,
                                  WSDLParserExtension... extensions)
                           throws java.io.IOException,
                                  javax.xml.stream.XMLStreamException,
                                  org.xml.sax.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:
java.io.IOException
javax.xml.stream.XMLStreamException
org.xml.sax.SAXException

parse

public static WSDLModelImpl parse(XMLEntityResolver.Parser wsdl,
                                  XMLEntityResolver resolver,
                                  boolean isClientSide,
                                  Container container,
                                  PolicyResolver policyResolver,
                                  WSDLParserExtension... extensions)
                           throws java.io.IOException,
                                  javax.xml.stream.XMLStreamException,
                                  org.xml.sax.SAXException
Throws:
java.io.IOException
javax.xml.stream.XMLStreamException
org.xml.sax.SAXException

parse

public static WSDLModelImpl parse(XMLEntityResolver.Parser wsdl,
                                  XMLEntityResolver resolver,
                                  boolean isClientSide,
                                  Container container,
                                  WSDLParserExtension... extensions)
                           throws java.io.IOException,
                                  javax.xml.stream.XMLStreamException,
                                  org.xml.sax.SAXException
Throws:
java.io.IOException
javax.xml.stream.XMLStreamException
org.xml.sax.SAXException

parseImport

protected void parseImport(@Nullable
                           java.net.URL baseURL,
                           javax.xml.stream.XMLStreamReader reader)
                    throws java.io.IOException,
                           org.xml.sax.SAXException,
                           javax.xml.stream.XMLStreamException
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.stream.XMLStreamException


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.