com.ibm.wsspi.wsaddressing

Interface ServiceName

All Superinterfaces:
AttributedType, java.lang.Cloneable, java.io.Serializable

  1. public interface ServiceName
  2. extends AttributedType, java.io.Serializable, java.lang.Cloneable
This interface represents the WS-Addressing service name of the an EndpointReference's WSDL [metadata] element. This element identifies the WSDL service element that contains the definition of the endpoint being conveyed. The service name provides a link to a full description of the service endpoint. An optional non-qualified name identifies the specific port in the service that corresponds to the endpoint.

Method Summary

Modifier and Type Method and Description
  1. java.lang.Object
clone()
Returns a clone of this ServiceName
  1. java.lang.String
getEndpointName()
  1. javax.xml.namespace.QName
getQName()
  1. void
setEndpointName(java.lang.String endpointName)
  1. void
setQName(javax.xml.namespace.QName serviceName)
Methods inherited from interface com.ibm.wsspi.wsaddressing.AttributedType
addAttribute, getAttributeNames, getAttributeValue

Method Detail

getQName

  1. javax.xml.namespace.QName getQName( )
Returns:
the QName identifying the WSDL service element that contains the definition of the endpoint being conveyed. If the QName was set to null, null will be returned.

setQName

  1. void setQName(javax.xml.namespace.QName serviceName)
Parameters:
serviceName - The QName identifying the WSDL service element that contains the definition of the endpoint being conveyed.

getEndpointName

  1. java.lang.String getEndpointName( )
Returns:
The optional non-qualified name identifies the specific endpoint name in the service that corresponds to the endpoint. In WSDL 1.1, this corresponds to the portName. If the EndpointName was not set or set to null, null will be returned.

setEndpointName

  1. void setEndpointName(java.lang.String endpointName)
Parameters:
endpointName - The optional non-qualified name identifies the specific endpoint name in the service that corresponds to the endpoint In WSDL 1.1, this corresponds to the port name.

clone

  1. java.lang.Object clone()
  2. throws java.lang.CloneNotSupportedException
Returns a clone of this ServiceName
Returns:
ServiceName A clone of this ServiceName instance.
Throws:
java.lang.CloneNotSupportedException