| java.lang.Object org.jibx.ws.wsdl.Definitions
Definitions | public class Definitions (Code) | | Top-level component of WSDL definition. Note that using this (including
marshalling it out as XML) is not threadsafe, since the DOM representation
used for the schema may not be threadsafe for reading (including in the case
of the Xerces implementation shipped with recent JVMs).
author: Dennis M. Sosnoski |
HTTP_TRANSPORT | final public static String HTTP_TRANSPORT(Code) | | Transport specification for SOAP over HTTP.
|
STYLE_DOCUMENT | final public static String STYLE_DOCUMENT(Code) | | Supported style value.
|
Definitions | public Definitions(String tname, String bname, String sname, String pname, String wpfx, String wuri, String spfx, String suri)(Code) | | Standard constructor.
Parameters: tname - port type name Parameters: bname - binding name Parameters: sname - service name Parameters: pname - port name Parameters: wpfx - prefix for WSDL target namespace Parameters: wuri - WSDL target namespace Parameters: spfx - prefix for schema target namespace Parameters: suri - schema target namespace |
addMessage | public void addMessage(Message msg)(Code) | | Add message definition.
Parameters: msg - message definition |
addOperation | public void addOperation(Operation op)(Code) | | Add operation definition.
Parameters: op - operation definition |
getBindingName | public String getBindingName()(Code) | | Get binding name.
binding name |
getMessages | public ArrayList getMessages()(Code) | | Get messages.
list of messages |
getNamespaces | public Set getNamespaces()(Code) | | Get the complete set of namespace URIs used by this definition.
set of URIs |
getOperations | public ArrayList getOperations()(Code) | | Get operations.
list of operations |
getPortName | public String getPortName()(Code) | | Get port name.
port name |
getPortTypeDocumentation | public List getPortTypeDocumentation()(Code) | | Get portType documentation.
list of nodes |
getPortTypeName | public String getPortTypeName()(Code) | | Get port type name.
port type name |
getPrefix | public String getPrefix(String uri)(Code) | | Get the prefix for a namespace URI. The first time this is called for a
particular namespace URI a prefix is assigned and returned.
Parameters: uri - prefix |
getSchemas | public ArrayList getSchemas()(Code) | | Get schema definition holders.
schemas |
getServiceLocation | public String getServiceLocation()(Code) | | Get service location.
service location URL string |
getServiceName | public String getServiceName()(Code) | | Get service name.
service name |
getWsdlNamespace | public String getWsdlNamespace()(Code) | | Get WSDL target namespace URI.
target namespace |
getWsdlPrefix | public String getWsdlPrefix()(Code) | | Get WSDL target namespace prefix.
target namespace prefix |
setPortTypeDocumentation | public void setPortTypeDocumentation(List nodes)(Code) | | Set portType documentation.
Parameters: nodes - list of nodes |
setServiceLocation | public void setServiceLocation(String sloc)(Code) | | Set service location.
Parameters: sloc - service location URL string |
|
|