Package com.sun.xml.ws.api.model.wsdl
Interface WSDLModel
-
- All Superinterfaces:
WSDLExtensible,WSDLObject
- All Known Subinterfaces:
EditableWSDLModel
- All Known Implementing Classes:
WSDLModelImpl
public interface WSDLModel extends WSDLExtensible
Provides abstraction of wsdl:definitions.- Author:
- Vivek Pandey
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classWSDLModel.WSDLParserMain purpose of this class is to parsing of a WSDL and get theWSDLModelfrom it.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description WSDLBoundPortTypegetBinding(QName name)GetsWSDLBoundPortTypethat modelswsdl:bindingWSDLBoundPortTypegetBinding(QName serviceName, QName portName)Give aWSDLBoundPortTypefor the given wsdl:service and wsdl:port names.Map<QName,? extends WSDLBoundPortType>getBindings()QNamegetFirstServiceName()Returns the first service QName from insertion orderWSDLMessagegetMessage(QName name)Returns the message with the given QNameMap<QName,? extends WSDLMessage>getMessages()Gives aMapof wsdl:message qualified name andWSDLMessagePolicyMapgetPolicyMap()Deprecated.Do not use this method as the PolicyMap API is not final yet and might change in next few months.WSDLPortTypegetPortType(QName name)GetsWSDLPortTypethat modelswsdl:portTypeMap<QName,? extends WSDLPortType>getPortTypes()WSDLServicegetService(QName name)GetsWSDLServicethat modelswsdl:serviceMap<QName,? extends WSDLService>getServices()Gives aMapof 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 Detail
-
getPortType
WSDLPortType getPortType(@NotNull QName name)
GetsWSDLPortTypethat modelswsdl:portType- Parameters:
name- non-null quaified name of wsdl:message, where the localName is the value ofwsdl:portType@nameand the namespaceURI is the value of wsdl:definitions@targetNamespace- Returns:
- A
WSDLPortTypeor null if no wsdl:portType found.
-
getBinding
WSDLBoundPortType getBinding(@NotNull QName name)
GetsWSDLBoundPortTypethat modelswsdl:binding- Parameters:
name- non-null quaified name of wsdl:binding, where the localName is the value ofwsdl:binding@nameand the namespaceURI is the value of wsdl:definitions@targetNamespace- Returns:
- A
WSDLBoundPortTypeor null if no wsdl:binding found
-
getBinding
WSDLBoundPortType getBinding(@NotNull QName serviceName, @NotNull QName portName)
Give aWSDLBoundPortTypefor 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
WSDLService getService(@NotNull QName name)
GetsWSDLServicethat modelswsdl:service- Parameters:
name- non-null quaified name of wsdl:service, where the localName is the value ofwsdl:service@nameand the namespaceURI is the value of wsdl:definitions@targetNamespace- Returns:
- A
WSDLServiceor null if no wsdl:service found
-
getPortTypes
@NotNull Map<QName,? extends WSDLPortType> getPortTypes()
- Returns:
- an empty Map if the wsdl document has no wsdl:portType
-
getBindings
@NotNull Map<QName,? extends WSDLBoundPortType> getBindings()
- Returns:
- an empty Map if the wsdl document has no wsdl:binding
-
getServices
@NotNull Map<QName,? extends WSDLService> getServices()
Gives aMapof 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
WSDLMessage getMessage(QName name)
Returns the message with the given QName- Parameters:
name- Message name- Returns:
- Message
-
getMessages
@NotNull Map<QName,? extends WSDLMessage> getMessages()
Gives aMapof 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
-
-