org.apache.cocoon.components.flow.ws
Class EndpointDefinition

java.lang.Object
  extended byorg.apache.cocoon.components.flow.ws.EndpointDefinition

public class EndpointDefinition
extends Object

Represents a service endpoint in a WSDL document.


Constructor Summary
EndpointDefinition(String wsdlURL, String serviceName, String portName)
          Creates a new EndpointDefinition.
 
Method Summary
 String getNamespaceURI()
          Returns the target namespace of the WSDL document in which this endpoint is defined.
 String getPortName()
          Returns the name of the port that concretely defines the endpoint.
 String getServiceName()
          Returns the name of the service that this endpoint belongs to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointDefinition

public EndpointDefinition(String wsdlURL,
                          String serviceName,
                          String portName)
                   throws javax.wsdl.WSDLException,
                          InvalidServiceException
Creates a new EndpointDefinition. If a particular service is not identified the endpoint is created using the first service definition occurring in the WSDL with a port with a SOAP binding.

Parameters:
wsdlURL -
serviceName -
portName -
Throws:
javax.wsdl.WSDLException
InvalidServiceException
Method Detail

getNamespaceURI

public String getNamespaceURI()
Returns the target namespace of the WSDL document in which this endpoint is defined.

Returns:
String

getServiceName

public String getServiceName()
Returns the name of the service that this endpoint belongs to.

Returns:
String

getPortName

public String getPortName()
Returns the name of the port that concretely defines the endpoint.

Returns:
String


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.