com.sun.xml.ws.api.model.wsdl
Interface WSDLService

All Superinterfaces:
WSDLExtensible, WSDLObject
All Known Subinterfaces:
EditableWSDLService
All Known Implementing Classes:
WSDLServiceImpl

public interface WSDLService
extends WSDLObject, WSDLExtensible

Abstracts wsdl:service.

Author:
Vivek Pandey

Method Summary
 WSDLPort get(QName portName)
          Gets the WSDLPort for a given port name
 WSDLPort getFirstPort()
          Gets the first WSDLPort if any, or otherwise null.
 WSDLPort getMatchingPort(QName portTypeName)
          Gets the first port in this service which matches the portType
 QName getName()
          Gets the name of the wsdl:service@name attribute value as local name and wsdl:definitions@targetNamespace as the namespace uri.
 WSDLModel getParent()
          Gets the WSDLModel that owns this service.
 Iterable<? extends WSDLPort> getPorts()
          Gives all the WSDLPort in a wsdl:service WSDLService
 
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

getParent

@NotNull
WSDLModel getParent()
Gets the WSDLModel that owns this service.


getName

@NotNull
QName getName()
Gets the name of the wsdl:service@name attribute value as local name and wsdl:definitions@targetNamespace as the namespace uri.


get

WSDLPort get(QName portName)
Gets the WSDLPort for a given port name

Parameters:
portName - non-null operationName
Returns:
null if a WSDLPort is not found

getFirstPort

WSDLPort getFirstPort()
Gets the first WSDLPort if any, or otherwise null.


getMatchingPort

@Nullable
WSDLPort getMatchingPort(QName portTypeName)
Gets the first port in this service which matches the portType


getPorts

Iterable<? extends WSDLPort> getPorts()
Gives all the WSDLPort in a wsdl:service WSDLService



Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.