debug
protected boolean debug
Field debug
imports
protected boolean imports
Field imports
nowrap
protected boolean nowrap
Field nowrap
password
protected String password
Field password
quiet
protected boolean quiet
Field quiet
username
protected String username
Field username
verbose
protected boolean verbose
Field verbose
wrapArrays
protected boolean wrapArrays
If this is false, we'll prefer "String[]" to "ArrayOfString" for literal wrapped arrays
getCurrentDefinition
public Definition getCurrentDefinition()
Return the current definition. The current definition is
null until run is called.
getPassword
public String getPassword()
Method getPassword
getSymbolTable
public SymbolTable getSymbolTable()
Get the symbol table. The symbol table is null until
run is called.
getTimeout
public long getTimeout()
Return the current timeout setting
getUsername
public String getUsername()
Method getUsername
getWSDLURI
public String getWSDLURI()
Get the current WSDL URI. The WSDL URI is null until
run is called.
isDebug
public boolean isDebug()
Method isDebug
isImports
public boolean isImports()
Method isImports
isNowrap
public boolean isNowrap()
Method isNowrap
isQuiet
public boolean isQuiet()
Method isQuiet
isVerbose
public boolean isVerbose()
Method isVerbose
run
public void run(String wsdlURI)
throws Exception
Parse a WSDL at a given URL.
This method will time out after the number of milliseconds specified
by our timeoutms member.
wsdlURI
-
run
public void run(String context,
Document doc)
throws IOException,
SAXException,
WSDLException,
ParserConfigurationException
Call this method if your WSDL document has already been parsed as an XML DOM document.
context
- context This is directory context for the Document. If the Document were from file "/x/y/z.wsdl" then the context could be "/x/y" (even "/x/y/z.wsdl" would work). If context is null, then the context becomes the current directory.doc
- doc This is the XML Document containing the WSDL.
sanityCheck
protected void sanityCheck(SymbolTable symbolTable)
Method sanityCheck
symbolTable
-
setDebug
public void setDebug(boolean debug)
Method setDebug
debug
-
setFactory
public void setFactory(GeneratorFactory factory)
Method setFactory
factory
-
setImports
public void setImports(boolean imports)
Method setImports
imports
-
setNowrap
public void setNowrap(boolean nowrap)
Method setNowrap
nowrap
-
setPassword
public void setPassword(String password)
Method setPassword
password
-
setQuiet
public void setQuiet(boolean quiet)
Method setQuiet
quiet
-
setTimeout
public void setTimeout(long timeout)
Set the timeout, in milliseconds
timeout
-
setUsername
public void setUsername(String username)
Method setUsername
username
-
setVerbose
public void setVerbose(boolean verbose)
Method setVerbose
verbose
-