Package org.jibx.ws.wsdl.model
Class Definitions
java.lang.Object
org.jibx.ws.wsdl.model.WsdlBase
org.jibx.ws.wsdl.model.Definitions
Top-level component of WSDL definition.
TODO: modify to support multiple portTypes, bindings, and services
- Author:
- Dennis M. Sosnoski
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Transport specification for SOAP over HTTP.private String
Name for binding.private ArrayList
Message definitions.private Set
Namespaces referenced from WSDL.private ArrayList
Operation definitions.private String
Name for port.private List
Documentation for the portType.private String
Name for port type.private ArrayList
Schema definition holders.private String
Service location URL.private String
Name for service.private String
Target namespace for WSDL.private String
Prefix for WSDL target namespace.static final String
Supported style value.Fields inherited from class org.jibx.ws.wsdl.model.WsdlBase
SOAP_NAMESPACE_URI, WSDL_NAMESPACE_URI
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Default constructor.Standard constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMessage
(Message msg) Add message definition.void
addNamespace
(String uri) Add namespace to set declared in WSDL.void
Add operation definition.Get binding name.Get binding qualified nameGet messages.Get operations.Get port name.Get portType documentation.Get port type name.Get port type qualified nameGet schema definition holders.Get service location.Get service name.Get WSDL target namespace URI.Get WSDL target namespace prefix.void
setPortTypeDocumentation
(List nodes) Set portType documentation.void
setServiceLocation
(String sloc) Set service location.Methods inherited from class org.jibx.ws.wsdl.model.WsdlBase
addNamespaceDeclaration, clearNamespaceDeclarations, getDocumentation, getExtension, getNamespaceDeclarations, preget, preset, prevalidate, readNamespaces, setDocumentation, setExtension, validate, validateAttributes, writeNamespaces
-
Field Details
-
HTTP_TRANSPORT
Transport specification for SOAP over HTTP.- See Also:
-
STYLE_DOCUMENT
Supported style value.- See Also:
-
m_wsdlPrefix
Prefix for WSDL target namespace. -
m_wsdlNamespace
Target namespace for WSDL. -
m_portTypeName
Name for port type. -
m_bindingName
Name for binding. -
m_serviceName
Name for service. -
m_portName
Name for port. -
m_schemas
Schema definition holders. -
m_messages
Message definitions. -
m_operations
Operation definitions. -
m_portTypeDocumentation
Documentation for the portType. -
m_serviceLocation
Service location URL. -
m_namespaceUris
Namespaces referenced from WSDL.
-
-
Constructor Details
-
Definitions
private Definitions()Default constructor. This is only used by the unmarshalling code. -
Definitions
public Definitions(String tname, String bname, String sname, String pname, String wpfx, String wuri) Standard constructor.- Parameters:
tname
- port type namebname
- binding namesname
- service namepname
- port namewpfx
- prefix for WSDL target namespacewuri
- WSDL target namespace
-
-
Method Details
-
setServiceLocation
Set service location.- Parameters:
sloc
- service location URL string
-
addMessage
Add message definition.- Parameters:
msg
- message definition
-
addOperation
Add operation definition.- Parameters:
op
- operation definition
-
getPortTypeName
Get port type name.- Returns:
- port type name
-
getPortTypeQName
Get port type qualified name- Returns:
- port type qualified name
-
getBindingName
Get binding name.- Returns:
- binding name
-
getBindingQName
Get binding qualified name- Returns:
- binding qualified name
-
getServiceName
Get service name.- Returns:
- service name
-
getPortName
Get port name.- Returns:
- port name
-
getWsdlPrefix
Get WSDL target namespace prefix.- Returns:
- target namespace prefix
-
getWsdlNamespace
Get WSDL target namespace URI.- Returns:
- target namespace
-
getSchemas
Get schema definition holders.- Returns:
- schemas
-
getServiceLocation
Get service location.- Returns:
- service location URL string
-
getPortTypeDocumentation
Get portType documentation.- Returns:
- list of nodes
-
setPortTypeDocumentation
Set portType documentation.- Parameters:
nodes
- list of nodes
-
getMessages
Get messages.- Returns:
- list of messages
-
getOperations
Get operations.- Returns:
- list of operations
-
addNamespace
Add namespace to set declared in WSDL. This just uses numbered prefixes.- Parameters:
uri
-
-