Skip navigation links

Oracle Application Server
Web Services Java API Reference
10g Release 3 (10.1.3.1.0)

B28977-01


oracle.webservices
Interface WebServiceEndpointInfo


public interface WebServiceEndpointInfo

Implementations of this interface provide access to information about a web service endpoint.


Method Summary
 void addOperation(QName name)
          Add a web service operation.
 QName getBindingName()
          Get the QName of the binding.
 Element getDescriptorElement()
          Get the port-component descriptor Element associated with this endpoint.
 String getEndpointAddressSubContextUri()
          Get the part of the endpoint address that follows the root context.
 String getEndpointName()
          Get the name of the web service endpoint.
 String getImplementorType()
          Determine the name of the web service implementor type.
 Level getLoggingLevel()
          Determine the configured logging level for this endpoint.
 long getMaxRequestSize()
          Determine the size of the largest request recorded thus far.
 Collection getOperations()
          Get all the web service operations.
 QName getPortName()
          Get the name of the web service port as it is defined in the WSDL definition.
 WebServiceEndpointRuntimeData getRuntimeData()
          Get the runtime data associated with this endpoint.
 QName getServiceName()
          Get the QName of the web service.
 String getStyle()
          Get the style of the endpoint.
 String getWebServiceName()
          Get the name of the web service this endpoint provides.
 URL getWSDL()
          Get the WSDL URL for this endpoint.
 InputStream getWsdlAsStream()
          Get an InputStream for reading the WSDL definition with which this endpoint is associated.
 Definition getWSDLDefinition()
          Get the WSDL Definition that describes this endpoint.
 File getWsdlFileAsFile()
          Get the WSDL Definition document as a File instance.
 boolean implementedByEjbComponent()
          Determine whether or not this endpoint is implemented by an EJB.
 boolean isMtomSupported()
          Determine whether or not MTOM is supported by this endpoint.
 boolean isRestSupported()
          Determine whether or not REST is supported by this endpoint.
 void setLoggingLevel(Level level)
          Set the logging level for this endpoint.
 void setRuntimeData(WebServiceEndpointRuntimeData runtimeData)
          Associate the specified runtime data with this endpoint.

 

Method Detail

getWSDLDefinition

Definition getWSDLDefinition()
Get the WSDL Definition that describes this endpoint.
Returns:
A javax.wsdl.Definition instance.

getPortName

QName getPortName()
Get the name of the web service port as it is defined in the WSDL definition.
Returns:
The port QName.

getBindingName

QName getBindingName()
Get the QName of the binding.
Returns:
The binding QName.

getServiceName

QName getServiceName()
Get the QName of the web service.
Returns:
The web service QName.

getWebServiceName

String getWebServiceName()
Get the name of the web service this endpoint provides.
Returns:
The name of the web service.

getEndpointName

String getEndpointName()
Get the name of the web service endpoint.
Returns:
The web service endpoint name.

getOperations

Collection getOperations()
Get all the web service operations.
Returns:
A Collection of WebServiceOperationInfo instances.

addOperation

void addOperation(QName name)
Add a web service operation.
Parameters:
name - The unique QName of the operation to add.

implementedByEjbComponent

boolean implementedByEjbComponent()
Determine whether or not this endpoint is implemented by an EJB.
Returns:
true, if the endpoint is implemented by an EJB; Otherwise, false.

getDescriptorElement

Element getDescriptorElement()
Get the port-component descriptor Element associated with this endpoint.
Returns:
The DOM Element that describes this web service endpoint.

getWSDL

URL getWSDL()
            throws MalformedURLException
Get the WSDL URL for this endpoint.
Returns:
A java.net.URL instance describing the WSDL location.
Throws:
MalformedURLException

getWsdlFileAsFile

File getWsdlFileAsFile()
Get the WSDL Definition document as a File instance.
Returns:
A File instance.

getWsdlAsStream

InputStream getWsdlAsStream()
                            throws IOException
Get an InputStream for reading the WSDL definition with which this endpoint is associated.
Returns:
An InputStream instance for the WSDL definition contents.
Throws:
IOException

getImplementorType

String getImplementorType()
Determine the name of the web service implementor type.
Returns:
The name of the implementor type.

getEndpointAddressSubContextUri

String getEndpointAddressSubContextUri()
Get the part of the endpoint address that follows the root context.
Returns:
A String form of the URI.

getStyle

String getStyle()
Get the style of the endpoint.
Returns:
The endpoint style.

getMaxRequestSize

long getMaxRequestSize()
Determine the size of the largest request recorded thus far.
Returns:
The size of the largest request.

isRestSupported

boolean isRestSupported()
Determine whether or not REST is supported by this endpoint.
Returns:
true, if REST is supported; Otherwise, false.

isMtomSupported

boolean isMtomSupported()
Determine whether or not MTOM is supported by this endpoint.
Returns:
true, if MTOM is supported; Otherwise, false.

getLoggingLevel

Level getLoggingLevel()
Determine the configured logging level for this endpoint.
Returns:
A java.util.logging.Level instance specifying the configured level.

setLoggingLevel

void setLoggingLevel(Level level)
Set the logging level for this endpoint.
Parameters:
level - A java.util.logging.Level instance specifying the desired level.

getRuntimeData

WebServiceEndpointRuntimeData getRuntimeData()
Get the runtime data associated with this endpoint.

setRuntimeData

void setRuntimeData(WebServiceEndpointRuntimeData runtimeData)
Associate the specified runtime data with this endpoint.
Parameters:
runtimeData - A WebServiceEndpointRuntimeData instance.

Skip navigation links

Copyright © 2006, Oracle. All Rights Reserved.