cgl.hpsearch.nb4ws.WSDL
Class WSDLParser
java.lang.Object
cgl.hpsearch.nb4ws.WSDL.WSDLParser
- public class WSDLParser
- extends Object
A class that defines methods for building components to invoke a web service by analyzing a WSDL
document.
- Author:
- Jim Winfield
|
Method Summary |
void |
buildComponents()
Builds a List of ServiceInfo components for each Service defined in a WSDL Document. |
protected org.exolab.castor.xml.schema.Schema |
createSchemaFromTypes(javax.wsdl.Definition wsdlDefinition)
Creates a castor schema based on the types defined by a WSDL document |
static void |
main(String[] a)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serviceList
public List serviceList
typesParser
public TypesParser typesParser
DEFAULT_SOAP_ENCODING_STYLE
public static final String DEFAULT_SOAP_ENCODING_STYLE
- The default SOAP encoding to use.
- See Also:
- Constant Field Values
WSDLParser
public WSDLParser(String wsdl)
main
public static void main(String[] a)
buildComponents
public void buildComponents()
throws Exception
- Builds a List of ServiceInfo components for each Service defined in a WSDL Document.
A List of SoapComponent objects populated for each service defined in a WSDL document. The
List is null if the document can't be read.
- Throws:
Exception
createSchemaFromTypes
protected org.exolab.castor.xml.schema.Schema createSchemaFromTypes(javax.wsdl.Definition wsdlDefinition)
- Creates a castor schema based on the types defined by a WSDL document
- Parameters:
wsdlDefinition - The WSDL4J instance of a WSDL definition.
- Returns:
- A castor schema is returned if the WSDL definition contains a types element. null is
returned otherwise.