Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.axis.wsdl.symbolTable
Class SymbolTable  view SymbolTable download SymbolTable.java

java.lang.Object
  extended byorg.apache.axis.wsdl.symbolTable.SymbolTable

public class SymbolTable
extends java.lang.Object

This class represents a table of all of the top-level symbols from a set of WSDL Definitions and DOM Documents: XML types; WSDL messages, portTypes, bindings, and services.

This symbolTable contains entries of the form where key is of type QName and value is of type Vector. The Vector's elements are all of the objects that have the given QName. This is necessary since names aren't unique among the WSDL types. message, portType, binding, service, could all have the same QName and are differentiated merely by type. SymbolTable contains type-specific getters to bypass the Vector layer: public PortTypeEntry getPortTypeEntry(QName name), etc.


Field Summary
private static int ABOVE_SCHEMA_LEVEL
          Utility method which walks the Document and creates Type objects for each complexType, simpleType, attributeGroup or element referenced or defined.
private  boolean addImports
          Field addImports
static java.lang.String ANON_TOKEN
          Field ANON_TOKEN
(package private)  java.util.Set arrayTypeQNames
           
private  BaseTypeMapping btm
          Field btm
private  Definition def
          Field def
protected  java.util.HashMap derivedTypes
           
private  java.util.Map elementFormDefaults
          Field elementFormDefaults
private  java.util.Map elementIndex
          Field elementIndex
private  java.util.Map elementTypeEntries
          Field elementTypeEntries
private  org.apache.axis.utils.URLHashSet importedFiles
          Add the given Definition and Document information to the symbol table (including imported symbols), populating it with SymTabEntries for each of the top-level symbols.
protected  java.util.Map node2ExtensionBase
          cache of nodes -> base types for complexTypes.
private  boolean nowrap
          Field nowrap
protected  boolean quiet
          Field quiet
private static int SCHEMA_LEVEL
          Field SCHEMA_LEVEL
private  java.util.HashMap symbolTable
          Field symbolTable
private  java.util.Map typeIndex
          Field typeIndex
private  java.util.Map typeTypeEntries
          Field typeTypeEntries
private  boolean verbose
          Field verbose
private  boolean wrapArrays
          If this is false, we will "unwrap" literal arrays, generating a plan "String[]" instead of "ArrayOfString" when encountering an element containing a single maxOccurs="unbounded" inner element.
private  boolean wrapped
          Field wrapped
private  java.lang.String wsdlURI
          Field wsdlURI
 
Constructor Summary
SymbolTable(BaseTypeMapping btm, boolean addImports, boolean verbose, boolean nowrap)
          Construct a symbol table with the given Namespaces.
 
Method Summary
protected  void add(java.lang.String context, Definition def, org.w3c.dom.Document doc)
          Add the given Definition and Document information to the symbol table (including imported symbols), populating it with SymTabEntries for each of the top-level symbols.
private  void addInishParm(java.util.Vector inputs, java.util.Vector outputs, int index, int outdex, Parameters parameters, boolean trimInput)
          Add an in or inout parameter to the parameters object.
private  org.apache.axis.constants.Use addMIMETypes(BindingEntry bEntry, MIMEMultipartRelated mpr, Operation op)
          Add the parts that are really MIME types as MIME types.
private  void addOutParm(java.util.Vector outputs, int outdex, Parameters parameters, boolean trim)
          Add an output parameter to the parameters object.
private  void addTypes(java.net.URL context, org.w3c.dom.Node node, int level)
          Method addTypes
private  void checkForUndefined()
          Scan the symbol table for undefined types and throw an exception.
private  void checkForUndefined(Definition def, java.lang.String filename)
          Scan the Definition for undefined objects and throw an error.
private  void createTypeFromDef(org.w3c.dom.Node node, boolean isElement, boolean belowSchemaLevel)
          Create a TypeEntry from the indicated node, which defines a type that represents a complexType, simpleType or element (for ref=).
private  void createTypeFromRef(org.w3c.dom.Node node)
          Node may contain a reference (via type=, ref=, or element= attributes) to another type.
 void dump(java.io.PrintStream out)
          Dump the contents of the symbol table.
protected  void ensureOperationMessageValid(Message message)
          ensures that a message in a <input>, <output>, or <fault> element in an <operation> element is valid.
protected  void ensureOperationsOfPortTypeValid(PortType portType)
          ensures that an an element <portType> is valid.
protected  void ensureOperationValid(Operation operation)
          ensures that an an element <operation> within an element <portType> is valid.
protected  boolean existsPortWithName(javax.xml.namespace.QName name)
          checks whether there exists a WSDL port with a given name in the current symbol table
private  void faultsFromSOAPFault(Binding binding, BindingOperation bindOp, Operation operation, java.util.ArrayList faults)
          Get the faults from the soap:fault clause.
private  void fillInBindingInfo(BindingEntry bEntry, Operation operation, java.util.Iterator it, java.util.ArrayList faults, boolean input)
          Fill in some binding information: bodyType, mimeType, header info.
private  void fillInDIMEInformation(UnknownExtensibilityElement unkElement, boolean input, Operation operation, BindingEntry bEntry)
          Fill in DIME information
private  void fillParamInfo(Parameter param, BindingEntry bindingEntry, java.lang.String opName, java.lang.String partName)
          Set the header information for this paramter
private  TypeEntry findPart(Operation operation, java.lang.String partName)
          Method findPart
 SymTabEntry get(javax.xml.namespace.QName qname, java.lang.Class cls)
          Get the entry with the given QName of the given class.
private  javax.xml.namespace.QName getBindedParameterName(java.util.List elements, Parameter p)
          Method getBindedParameterName
 BindingEntry getBindingEntry(javax.xml.namespace.QName qname)
          Get the BindingEntry with the given QName.
 Definition getDefinition()
          Get the Definition.
 Element getElement(javax.xml.namespace.QName qname)
          Get the Element TypeEntry with the given QName.
 java.util.Map getElementFormDefaults()
           
 java.util.Map getElementIndex()
          Return an unmodifiable map of qnames -> Elements in the symbol table.
private static java.net.URL getFileURL(java.net.URL contextURL, java.lang.String path)
          Method getFileURL
 java.util.HashMap getHashMap()
          Get the raw symbol table HashMap.
private static javax.xml.namespace.QName getInnerCollectionComponentQName(org.w3c.dom.Node node)
          Method getInnerCollectionComponentQName
private static javax.xml.namespace.QName getInnerTypeQName(org.w3c.dom.Node node)
          Method getInnerTypeQName
 java.util.List getMessageEntries()
           
 MessageEntry getMessageEntry(javax.xml.namespace.QName qname)
          Get the MessageEntry with the given QName.
 Parameters getOperationParameters(Operation operation, java.lang.String namespace, BindingEntry bindingEntry)
          For the given operation, this method returns the parameter info conveniently collated.
 void getParametersFromParts(java.util.Vector v, java.util.Collection parts, boolean literal, java.lang.String opName, BindingEntry bindingEntry)
          This method returns a vector containing Parameters which represent each Part (shouldn't we call these "Parts" or something?) This routine does the wrapped doc/lit processing.
private  int getPartIndex(java.lang.String name, java.util.Vector v)
          Return the index of the given name in the given Vector, -1 if it doesn't exist.
 PortTypeEntry getPortTypeEntry(javax.xml.namespace.QName qname)
          Get the PortTypeEntry with the given QName.
 ServiceEntry getServiceEntry(javax.xml.namespace.QName qname)
          Get the ServiceEntry with the given QName.
 java.util.Vector getSymbols(javax.xml.namespace.QName qname)
          Get the list of entries with the given QName.
 Type getType(javax.xml.namespace.QName qname)
          Get the Type TypeEntry with the given QName.
 TypeEntry getTypeEntry(javax.xml.namespace.QName qname, boolean wantElementType)
          Get the type entry for the given qname.
 int getTypeEntryCount()
          Return the count of TypeEntries in the symbol table.
 java.util.Map getTypeIndex()
          Return an unmodifiable map of qnames -> Elements in the symbol table.
 java.util.Vector getTypes()
          Deprecated. use specialized get{Element,Type}Index() methods instead
private static java.net.URL getURL(java.net.URL contextURL, java.lang.String spec)
          This is essentially a call to "new URL(contextURL, spec)" with extra handling in case spec is a file.
 java.lang.String getWSDLURI()
          Get the WSDL URI.
 boolean isKnownNamespace(java.lang.String namespace)
          Check if this is a known namespace (soap-enc or schema xsd or schema xsi or xml)
 boolean isQuiet()
          Method isQuiet
 boolean isWrapped()
          Are we wrapping literal soap body elements.
private  void lookForImports(java.net.URL context, org.w3c.dom.Node node)
          Recursively find all xsd:import'ed objects and call populate for each one.
 void populate(java.lang.String uri)
          Call this method if you have a uri for the WSDL document
 void populate(java.lang.String context, org.w3c.dom.Document doc)
          Call this method if your WSDL document has already been parsed as an XML DOM document.
 void populate(java.lang.String uri, java.lang.String username, java.lang.String password)
          Method populate
private  void populate(java.net.URL context, Definition def, org.w3c.dom.Document doc, java.lang.String filename)
          Method populate
private  void populateBindings(Definition def)
          Populate the symbol table with all of the BindingEntry's from the Definition.
private  void populateMessages(Definition def)
          Populate the symbol table with all of the MessageEntry's from the Definition.
private  void populateParameters()
          Create the parameters and store them in the bindingEntry.
private  void populatePorts(java.util.Map ports)
          populates the symbol table with port elements defined within a <service> element.
private  void populatePortTypes(Definition def)
          Populate the symbol table with all of the PortTypeEntry's from the Definition.
private  void populateServices(Definition def)
          Populate the symbol table with all of the ServiceEntry's from the Definition.
 void populateTypes(java.net.URL context, org.w3c.dom.Document doc)
          Populate the symbol table with all of the Types from the Document.
protected  void processTypes()
           
private  void setBindingReferences(BindingEntry entry, Definition def, org.w3c.dom.Document doc)
          Set the isReferenced flag to true on the given BindingEntry and all SymTabEntries that it refers to ONLY if this binding is a SOAP binding.
private  void setBodyType(java.lang.String use, BindingEntry bEntry, Operation operation, boolean input)
          Set the body type.
private  void setMessageReferences(MessageEntry entry, Definition def, org.w3c.dom.Document doc, boolean literal)
          Set the isReferenced flag to true on the given MessageEntry and all SymTabEntries that it refers to.
private  void setMIMEInfo(Parameter p, MimeInfo mimeInfo)
          Set the MIME type.
private  void setPortTypeReferences(PortTypeEntry entry, BindingEntry bEntry, Definition def, org.w3c.dom.Document doc)
          Set the isReferenced flag to true on the given PortTypeEntry and all SymTabEntries that it refers to.
 void setQuiet(boolean quiet)
          Method setQuiet
private  void setReferences(Definition def, org.w3c.dom.Document doc)
          Set each SymTabEntry's isReferenced flag.
private  void setServiceReferences(ServiceEntry entry, Definition def, org.w3c.dom.Document doc)
          Set the isReferenced flag to true on the given ServiceEntry and all SymTabEntries that it refers to.
private  void setTypeReferences(TypeEntry entry, org.w3c.dom.Document doc, boolean literal)
          Set the isReferenced flag to true on the given TypeEntry and all SymTabEntries that it refers to.
 void setWrapArrays(boolean wrapArrays)
           
 void setWrapped(boolean wrapped)
          Turn on/off element wrapping for literal soap body's.
private  SymTabEntry symbolTablePut(SymTabEntry entry)
          Put the given SymTabEntry into the symbol table, if appropriate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

derivedTypes

protected java.util.HashMap derivedTypes

addImports

private boolean addImports
Field addImports


symbolTable

private java.util.HashMap symbolTable
Field symbolTable


elementTypeEntries

private final java.util.Map elementTypeEntries
Field elementTypeEntries


elementIndex

private final java.util.Map elementIndex
Field elementIndex


typeTypeEntries

private final java.util.Map typeTypeEntries
Field typeTypeEntries


typeIndex

private final java.util.Map typeIndex
Field typeIndex


node2ExtensionBase

protected final java.util.Map node2ExtensionBase
cache of nodes -> base types for complexTypes. The cache is built on nodes because multiple TypeEntry objects may use the same node.


verbose

private boolean verbose
Field verbose


quiet

protected boolean quiet
Field quiet


btm

private BaseTypeMapping btm
Field btm


nowrap

private boolean nowrap
Field nowrap


wrapped

private boolean wrapped
Field wrapped


ANON_TOKEN

public static final java.lang.String ANON_TOKEN
Field ANON_TOKEN

See Also:
Constant Field Values

def

private Definition def
Field def


wsdlURI

private java.lang.String wsdlURI
Field wsdlURI


wrapArrays

private boolean wrapArrays
If this is false, we will "unwrap" literal arrays, generating a plan "String[]" instead of "ArrayOfString" when encountering an element containing a single maxOccurs="unbounded" inner element.


arrayTypeQNames

java.util.Set arrayTypeQNames

elementFormDefaults

private final java.util.Map elementFormDefaults
Field elementFormDefaults


importedFiles

private org.apache.axis.utils.URLHashSet importedFiles
Add the given Definition and Document information to the symbol table (including imported symbols), populating it with SymTabEntries for each of the top-level symbols. NOTE: filename is used only by checkForUndefined so that it can report which WSDL file has the problem. If we're on the primary WSDL file, then we don't know the name and filename will be null. But we know the names of all imported files.


ABOVE_SCHEMA_LEVEL

private static final int ABOVE_SCHEMA_LEVEL
Utility method which walks the Document and creates Type objects for each complexType, simpleType, attributeGroup or element referenced or defined.

What goes into the symbol table? In general, only the top-level types (ie., those just below the schema tag). But base types and references can appear below the top level. So anything at the top level is added to the symbol table, plus non-Element types (ie, base and refd) that appear deep within other types.

See Also:
Constant Field Values

SCHEMA_LEVEL

private static final int SCHEMA_LEVEL
Field SCHEMA_LEVEL

See Also:
Constant Field Values
Constructor Detail

SymbolTable

public SymbolTable(BaseTypeMapping btm,
                   boolean addImports,
                   boolean verbose,
                   boolean nowrap)
Construct a symbol table with the given Namespaces.

Method Detail

isQuiet

public boolean isQuiet()
Method isQuiet


setQuiet

public void setQuiet(boolean quiet)
Method setQuiet


getHashMap

public java.util.HashMap getHashMap()
Get the raw symbol table HashMap.


getSymbols

public java.util.Vector getSymbols(javax.xml.namespace.QName qname)
Get the list of entries with the given QName. Since symbols can share QNames, this list is necessary. This list will not contain any more than one element of any given SymTabEntry.


get

public SymTabEntry get(javax.xml.namespace.QName qname,
                       java.lang.Class cls)
Get the entry with the given QName of the given class. If it does not exist, return null.


getTypeEntry

public TypeEntry getTypeEntry(javax.xml.namespace.QName qname,
                              boolean wantElementType)
Get the type entry for the given qname.


getType

public Type getType(javax.xml.namespace.QName qname)
Get the Type TypeEntry with the given QName. If it doesn't exist, return null.


getElement

public Element getElement(javax.xml.namespace.QName qname)
Get the Element TypeEntry with the given QName. If it doesn't exist, return null.


getMessageEntry

public MessageEntry getMessageEntry(javax.xml.namespace.QName qname)
Get the MessageEntry with the given QName. If it doesn't exist, return null.


getPortTypeEntry

public PortTypeEntry getPortTypeEntry(javax.xml.namespace.QName qname)
Get the PortTypeEntry with the given QName. If it doesn't exist, return null.


getBindingEntry

public BindingEntry getBindingEntry(javax.xml.namespace.QName qname)
Get the BindingEntry with the given QName. If it doesn't exist, return null.


getServiceEntry

public ServiceEntry getServiceEntry(javax.xml.namespace.QName qname)
Get the ServiceEntry with the given QName. If it doesn't exist, return null.


getTypes

public java.util.Vector getTypes()
Deprecated. use specialized get{Element,Type}Index() methods instead

Get the list of all the XML schema types in the symbol table. In other words, all entries that are instances of TypeEntry.


getElementIndex

public java.util.Map getElementIndex()
Return an unmodifiable map of qnames -> Elements in the symbol table.


getTypeIndex

public java.util.Map getTypeIndex()
Return an unmodifiable map of qnames -> Elements in the symbol table.


getTypeEntryCount

public int getTypeEntryCount()
Return the count of TypeEntries in the symbol table.


getDefinition

public Definition getDefinition()
Get the Definition. The definition is null until populate is called.


getWSDLURI

public java.lang.String getWSDLURI()
Get the WSDL URI. The WSDL URI is null until populate is called, and ONLY if a WSDL URI is provided.


isWrapped

public boolean isWrapped()
Are we wrapping literal soap body elements.


setWrapped

public void setWrapped(boolean wrapped)
Turn on/off element wrapping for literal soap body's.


dump

public void dump(java.io.PrintStream out)
Dump the contents of the symbol table. For debugging purposes only.


populate

public void populate(java.lang.String uri)
              throws java.io.IOException,
                     WSDLException,
                     org.xml.sax.SAXException,
                     javax.xml.parsers.ParserConfigurationException
Call this method if you have a uri for the WSDL document


populate

public void populate(java.lang.String uri,
                     java.lang.String username,
                     java.lang.String password)
              throws java.io.IOException,
                     WSDLException,
                     org.xml.sax.SAXException,
                     javax.xml.parsers.ParserConfigurationException
Method populate


populate

public void populate(java.lang.String context,
                     org.w3c.dom.Document doc)
              throws java.io.IOException,
                     org.xml.sax.SAXException,
                     WSDLException,
                     javax.xml.parsers.ParserConfigurationException
Call this method if your WSDL document has already been parsed as an XML DOM document.


add

protected void add(java.lang.String context,
                   Definition def,
                   org.w3c.dom.Document doc)
            throws java.io.IOException,
                   org.xml.sax.SAXException,
                   WSDLException,
                   javax.xml.parsers.ParserConfigurationException
Add the given Definition and Document information to the symbol table (including imported symbols), populating it with SymTabEntries for each of the top-level symbols. When the symbol table has been populated, iterate through it, setting the isReferenced flag appropriately for each entry.


checkForUndefined

private void checkForUndefined(Definition def,
                               java.lang.String filename)
                        throws java.io.IOException
Scan the Definition for undefined objects and throw an error.


checkForUndefined

private void checkForUndefined()
                        throws java.io.IOException
Scan the symbol table for undefined types and throw an exception.


populate

private void populate(java.net.URL context,
                      Definition def,
                      org.w3c.dom.Document doc,
                      java.lang.String filename)
               throws java.io.IOException,
                      javax.xml.parsers.ParserConfigurationException,
                      org.xml.sax.SAXException,
                      WSDLException
Method populate


getURL

private static java.net.URL getURL(java.net.URL contextURL,
                                   java.lang.String spec)
                            throws java.io.IOException
This is essentially a call to "new URL(contextURL, spec)" with extra handling in case spec is a file.


getFileURL

private static java.net.URL getFileURL(java.net.URL contextURL,
                                       java.lang.String path)
                                throws java.io.IOException
Method getFileURL


lookForImports

private void lookForImports(java.net.URL context,
                            org.w3c.dom.Node node)
                     throws java.io.IOException,
                            javax.xml.parsers.ParserConfigurationException,
                            org.xml.sax.SAXException,
                            WSDLException
Recursively find all xsd:import'ed objects and call populate for each one.


isKnownNamespace

public boolean isKnownNamespace(java.lang.String namespace)
Check if this is a known namespace (soap-enc or schema xsd or schema xsi or xml)


populateTypes

public void populateTypes(java.net.URL context,
                          org.w3c.dom.Document doc)
                   throws java.io.IOException,
                          org.xml.sax.SAXException,
                          WSDLException,
                          javax.xml.parsers.ParserConfigurationException
Populate the symbol table with all of the Types from the Document.


addTypes

private void addTypes(java.net.URL context,
                      org.w3c.dom.Node node,
                      int level)
               throws java.io.IOException,
                      javax.xml.parsers.ParserConfigurationException,
                      WSDLException,
                      org.xml.sax.SAXException
Method addTypes


createTypeFromDef

private void createTypeFromDef(org.w3c.dom.Node node,
                               boolean isElement,
                               boolean belowSchemaLevel)
                        throws java.io.IOException
Create a TypeEntry from the indicated node, which defines a type that represents a complexType, simpleType or element (for ref=).


createTypeFromRef

private void createTypeFromRef(org.w3c.dom.Node node)
                        throws java.io.IOException
Node may contain a reference (via type=, ref=, or element= attributes) to another type. Create a Type object representing this referenced type.


populateMessages

private void populateMessages(Definition def)
                       throws java.io.IOException
Populate the symbol table with all of the MessageEntry's from the Definition.


ensureOperationMessageValid

protected void ensureOperationMessageValid(Message message)
                                    throws java.io.IOException
ensures that a message in a <input>, <output>, or <fault> element in an <operation> element is valid. In particular, ensures that
  1. an attribute message is present (according to the XML Schema for WSDL 1.1 message is required

  2. the value of attribute message (a QName) refers to an already defined message

Note: this method should throw a javax.wsdl.WSDLException rather than a java.io.IOException


ensureOperationValid

protected void ensureOperationValid(Operation operation)
                             throws java.io.IOException
ensures that an an element <operation> within an element <portType> is valid. Throws an exception if the operation is not valid.

Note: this method should throw a javax.wsdl.WSDLException rather than a java.io.IOException


ensureOperationsOfPortTypeValid

protected void ensureOperationsOfPortTypeValid(PortType portType)
                                        throws java.io.IOException
ensures that an an element <portType> is valid. Throws an exception if the portType is not valid.

Note: this method should throw a javax.wsdl.WSDLException rather than a java.io.IOException


populatePortTypes

private void populatePortTypes(Definition def)
                        throws java.io.IOException
Populate the symbol table with all of the PortTypeEntry's from the Definition.


populateParameters

private void populateParameters()
                         throws java.io.IOException
Create the parameters and store them in the bindingEntry.


getOperationParameters

public Parameters getOperationParameters(Operation operation,
                                         java.lang.String namespace,
                                         BindingEntry bindingEntry)
                                  throws java.io.IOException
For the given operation, this method returns the parameter info conveniently collated. There is a bit of processing that is needed to write the interface, stub, and skeleton. Rather than do that processing 3 times, it is done once, here, and stored in the Parameters object.


getPartIndex

private int getPartIndex(java.lang.String name,
                         java.util.Vector v)
Return the index of the given name in the given Vector, -1 if it doesn't exist.


addInishParm

private void addInishParm(java.util.Vector inputs,
                          java.util.Vector outputs,
                          int index,
                          int outdex,
                          Parameters parameters,
                          boolean trimInput)
Add an in or inout parameter to the parameters object.


addOutParm

private void addOutParm(java.util.Vector outputs,
                        int outdex,
                        Parameters parameters,
                        boolean trim)
Add an output parameter to the parameters object.


getParametersFromParts

public void getParametersFromParts(java.util.Vector v,
                                   java.util.Collection parts,
                                   boolean literal,
                                   java.lang.String opName,
                                   BindingEntry bindingEntry)
                            throws java.io.IOException
This method returns a vector containing Parameters which represent each Part (shouldn't we call these "Parts" or something?) This routine does the wrapped doc/lit processing. It is also used for generating Faults, and this really confuses things but we need to do the same processing for the fault messages. This whole method is waaaay too complex. It needs rewriting (for instance, we sometimes new up a Parameter, then ignore it in favor of another we new up.)


fillParamInfo

private void fillParamInfo(Parameter param,
                           BindingEntry bindingEntry,
                           java.lang.String opName,
                           java.lang.String partName)
Set the header information for this paramter


getBindedParameterName

private javax.xml.namespace.QName getBindedParameterName(java.util.List elements,
                                                         Parameter p)
Method getBindedParameterName


setMIMEInfo

private void setMIMEInfo(Parameter p,
                         MimeInfo mimeInfo)
Set the MIME type. This can be determine in one of two ways: 1. From WSDL 1.1 MIME constructs on the binding (passed in); 2. From AXIS-specific xml MIME types.


populateBindings

private void populateBindings(Definition def)
                       throws java.io.IOException
Populate the symbol table with all of the BindingEntry's from the Definition.


fillInBindingInfo

private void fillInBindingInfo(BindingEntry bEntry,
                               Operation operation,
                               java.util.Iterator it,
                               java.util.ArrayList faults,
                               boolean input)
                        throws java.io.IOException
Fill in some binding information: bodyType, mimeType, header info.


fillInDIMEInformation

private void fillInDIMEInformation(UnknownExtensibilityElement unkElement,
                                   boolean input,
                                   Operation operation,
                                   BindingEntry bEntry)
Fill in DIME information


faultsFromSOAPFault

private void faultsFromSOAPFault(Binding binding,
                                 BindingOperation bindOp,
                                 Operation operation,
                                 java.util.ArrayList faults)
                          throws java.io.IOException
Get the faults from the soap:fault clause.


setBodyType

private void setBodyType(java.lang.String use,
                         BindingEntry bEntry,
                         Operation operation,
                         boolean input)
Set the body type.


addMIMETypes

private org.apache.axis.constants.Use addMIMETypes(BindingEntry bEntry,
                                                   MIMEMultipartRelated mpr,
                                                   Operation op)
                                            throws java.io.IOException
Add the parts that are really MIME types as MIME types. A side effect is to return the body Type of the given MIMEMultipartRelated object.


findPart

private TypeEntry findPart(Operation operation,
                           java.lang.String partName)
Method findPart


populateServices

private void populateServices(Definition def)
                       throws java.io.IOException
Populate the symbol table with all of the ServiceEntry's from the Definition.


populatePorts

private void populatePorts(java.util.Map ports)
                    throws java.io.IOException
populates the symbol table with port elements defined within a <service> element.


setReferences

private void setReferences(Definition def,
                           org.w3c.dom.Document doc)
Set each SymTabEntry's isReferenced flag. The default is false. If no other symbol references this symbol, then leave it false, otherwise set it to true. (An exception to the rule is that derived types are set as referenced if their base type is referenced. This is necessary to support generation and registration of derived types.)


setTypeReferences

private void setTypeReferences(TypeEntry entry,
                               org.w3c.dom.Document doc,
                               boolean literal)
Set the isReferenced flag to true on the given TypeEntry and all SymTabEntries that it refers to.


setMessageReferences

private void setMessageReferences(MessageEntry entry,
                                  Definition def,
                                  org.w3c.dom.Document doc,
                                  boolean literal)
Set the isReferenced flag to true on the given MessageEntry and all SymTabEntries that it refers to.


setPortTypeReferences

private void setPortTypeReferences(PortTypeEntry entry,
                                   BindingEntry bEntry,
                                   Definition def,
                                   org.w3c.dom.Document doc)
Set the isReferenced flag to true on the given PortTypeEntry and all SymTabEntries that it refers to.


setBindingReferences

private void setBindingReferences(BindingEntry entry,
                                  Definition def,
                                  org.w3c.dom.Document doc)
Set the isReferenced flag to true on the given BindingEntry and all SymTabEntries that it refers to ONLY if this binding is a SOAP binding.


setServiceReferences

private void setServiceReferences(ServiceEntry entry,
                                  Definition def,
                                  org.w3c.dom.Document doc)
Set the isReferenced flag to true on the given ServiceEntry and all SymTabEntries that it refers to.


symbolTablePut

private SymTabEntry symbolTablePut(SymTabEntry entry)
                            throws java.io.IOException
Put the given SymTabEntry into the symbol table, if appropriate.


existsPortWithName

protected boolean existsPortWithName(javax.xml.namespace.QName name)
checks whether there exists a WSDL port with a given name in the current symbol table


getInnerCollectionComponentQName

private static javax.xml.namespace.QName getInnerCollectionComponentQName(org.w3c.dom.Node node)
Method getInnerCollectionComponentQName


getInnerTypeQName

private static javax.xml.namespace.QName getInnerTypeQName(org.w3c.dom.Node node)
Method getInnerTypeQName


processTypes

protected void processTypes()

getMessageEntries

public java.util.List getMessageEntries()

setWrapArrays

public void setWrapArrays(boolean wrapArrays)

getElementFormDefaults

public java.util.Map getElementFormDefaults()