Package com.sun.xml.ws.api.model.wsdl
Interface WSDLModel
- All Superinterfaces:
WSDLExtensible
,WSDLObject
- All Known Subinterfaces:
EditableWSDLModel
- All Known Implementing Classes:
WSDLModelImpl
Provides abstraction of wsdl:definitions.
- Author:
- Vivek Pandey
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Main purpose of this class is to parsing of a WSDL and get theWSDLModel
from it. -
Method Summary
Modifier and TypeMethodDescriptiongetBinding
(QName name) GetsWSDLBoundPortType
that modelswsdl:binding
getBinding
(QName serviceName, QName portName) Give aWSDLBoundPortType
for the given wsdl:service and wsdl:port names.Map<QName,
? extends WSDLBoundPortType> Returns the first service QName from insertion ordergetMessage
(QName name) Returns the message with the given QNameMap<QName,
? extends WSDLMessage> Gives aMap
of wsdl:message qualified name andWSDLMessage
Deprecated.Do not use this method as the PolicyMap API is not final yet and might change in next few months.getPortType
(QName name) GetsWSDLPortType
that modelswsdl:portType
Map<QName,
? extends WSDLPortType> getService
(QName name) GetsWSDLService
that modelswsdl:service
Map<QName,
? extends WSDLService> Gives aMap
of wsdl:service qualified name andWSDLService
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLExtensible
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions, getNotUnderstoodExtensions
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject
getLocation
-
Method Details
-
getPortType
GetsWSDLPortType
that modelswsdl:portType
- Parameters:
name
- non-null quaified name of wsdl:message, where the localName is the value ofwsdl:portType@name
and the namespaceURI is the value of wsdl:definitions@targetNamespace- Returns:
- A
WSDLPortType
or null if no wsdl:portType found.
-
getBinding
GetsWSDLBoundPortType
that modelswsdl:binding
- Parameters:
name
- non-null quaified name of wsdl:binding, where the localName is the value ofwsdl:binding@name
and the namespaceURI is the value of wsdl:definitions@targetNamespace- Returns:
- A
WSDLBoundPortType
or null if no wsdl:binding found
-
getBinding
Give aWSDLBoundPortType
for the given wsdl:service and wsdl:port names.- Parameters:
serviceName
- service QNameportName
- port QName- Returns:
- A
WSDLBoundPortType
. null if the Binding for the given wsd:service and wsdl:port name are not found.
-
getService
GetsWSDLService
that modelswsdl:service
- Parameters:
name
- non-null quaified name of wsdl:service, where the localName is the value ofwsdl:service@name
and the namespaceURI is the value of wsdl:definitions@targetNamespace- Returns:
- A
WSDLService
or null if no wsdl:service found
-
getPortTypes
- Returns:
- an empty Map if the wsdl document has no wsdl:portType
-
getBindings
- Returns:
- an empty Map if the wsdl document has no wsdl:binding
-
getServices
Gives aMap
of wsdl:service qualified name andWSDLService
- Returns:
- an empty Map if the wsdl document has no wsdl:service
-
getFirstServiceName
QName getFirstServiceName()Returns the first service QName from insertion order -
getMessage
Returns the message with the given QName- Parameters:
name
- Message name- Returns:
- Message
-
getMessages
Gives aMap
of wsdl:message qualified name andWSDLMessage
- Returns:
- an empty Map if the wsdl document has no wsdl:message
-
getPolicyMap
PolicyMap getPolicyMap()Deprecated.Do not use this method as the PolicyMap API is not final yet and might change in next few months.Gives the PolicyMap associated with the WSDLModel- Returns:
- PolicyMap
-