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
  • Method Details

    • getPortType

      WSDLPortType getPortType(@NotNull QName name)
      Gets WSDLPortType that models wsdl:portType
      Parameters:
      name - non-null quaified name of wsdl:message, where the localName is the value of wsdl:portType@name and the namespaceURI is the value of wsdl:definitions@targetNamespace
      Returns:
      A WSDLPortType or null if no wsdl:portType found.
    • getBinding

      WSDLBoundPortType getBinding(@NotNull QName name)
      Gets WSDLBoundPortType that models wsdl:binding
      Parameters:
      name - non-null quaified name of wsdl:binding, where the localName is the value of wsdl:binding@name and the namespaceURI is the value of wsdl:definitions@targetNamespace
      Returns:
      A WSDLBoundPortType or null if no wsdl:binding found
    • getBinding

      WSDLBoundPortType getBinding(@NotNull QName serviceName, @NotNull QName portName)
      Give a WSDLBoundPortType for the given wsdl:service and wsdl:port names.
      Parameters:
      serviceName - service QName
      portName - 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)
      Gets WSDLService that models wsdl:service
      Parameters:
      name - non-null quaified name of wsdl:service, where the localName is the value of wsdl:service@name and the namespaceURI is the value of wsdl:definitions@targetNamespace
      Returns:
      A WSDLService or null if no wsdl:service found
    • getPortTypes

      @NotNull Map<QName,? extends WSDLPortType> getPortTypes()
      Gives a Map of wsdl:portType QName and WSDLPortType
      Returns:
      an empty Map if the wsdl document has no wsdl:portType
    • getBindings

      @NotNull Map<QName,? extends WSDLBoundPortType> getBindings()
      Gives a Map of wsdl:binding QName and WSDLBoundPortType
      Returns:
      an empty Map if the wsdl document has no wsdl:binding
    • getServices

      @NotNull Map<QName,? extends WSDLService> getServices()
      Gives a Map of wsdl:service qualified name and WSDLService
      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 a Map of wsdl:message qualified name and WSDLMessage
      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