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
Nested ClassesModifier and TypeInterfaceDescriptionstatic classMain purpose of this class is to parsing of a WSDL and get theWSDLModelfrom it. -
Method Summary
Modifier and TypeMethodDescriptiongetBinding(QName name) GetsWSDLBoundPortTypethat modelswsdl:bindinggetBinding(QName serviceName, QName portName) Give aWSDLBoundPortTypefor 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 aMapof wsdl:message qualified name andWSDLMessageDeprecated.Do not use this method as the PolicyMap API is not final yet and might change in next few months.getPortType(QName name) GetsWSDLPortTypethat modelswsdl:portTypeMap<QName,? extends WSDLPortType> getService(QName name) GetsWSDLServicethat modelswsdl:serviceMap<QName,? extends WSDLService> Gives aMapof wsdl:service qualified name andWSDLServiceMethods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLExtensible
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions, getNotUnderstoodExtensionsMethods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject
getLocation
-
Method Details
-
getPortType
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
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
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
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
- 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 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
Returns the message with the given QName- Parameters:
name- Message name- Returns:
- Message
-
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
-