org.apache.tuscany.sca.binding.ws
Interface WebServiceBinding

All Superinterfaces:
Base, Binding, BindingBuilderExtension, java.lang.Cloneable

public interface WebServiceBinding
extends Binding, BindingBuilderExtension

Represents a WebService binding.


Method Summary
 javax.wsdl.Binding getBinding()
          Returns the WSDL binding.
 InterfaceContract getBindingInterfaceContract()
           
 javax.xml.namespace.QName getBindingName()
          Returns the name of the WSDL binding.
 Port getEndpoint()
          Returns the WSDL endpoint
 java.lang.String getEndpointName()
          Returns the name of the WSDL endpoint.
 org.w3c.dom.Element getEndPointReference()
           
 java.lang.String getLocation()
          Returns the WSDL location
 java.lang.String getNamespace()
          Returns the WSDL namespace.
 Port getPort()
          Returns the WSDL port
 java.lang.String getPortName()
          Returns the name of the WSDL port.
 Service getService()
          Returns the WSDL service
 javax.xml.namespace.QName getServiceName()
          Returns the name of the WSDL service.
 WSDLDefinition getWSDLDefinition()
          Returns the WSDL definition.
 Definition getWSDLDocument()
          Returns the generated WSDL definitions document.
 boolean isUnresolved()
          Returns true if the model element is unresolved.
 void setBinding(javax.wsdl.Binding binding)
          Sets the WSDL binding
 void setBindingInterfaceContract(InterfaceContract bindingInterfaceContract)
           
 void setBindingName(javax.xml.namespace.QName bindingName)
          Sets the name of the WSDL binding.
 void setDefinition(WSDLDefinition wsdlDefinition)
          Sets the WSDL definition.
 void setEndpoint(Port endpoint)
          Sets the WSDL endpoint
 void setEndpointName(java.lang.String endpointName)
          Sets the name of the WSDL endpoint.
 void setEndPointReference(org.w3c.dom.Element element)
           
 void setLocation(java.lang.String location)
          Sets the WSDL location.
 void setNamespace(java.lang.String namespace)
          Sets the WSDL namespace
 void setPort(Port port)
          Sets the WSDL port
 void setPortName(java.lang.String portName)
          Sets the name of the WSDL port.
 void setService(Service service)
          Sets the WSDL service.
 void setServiceName(javax.xml.namespace.QName serviceName)
          Sets the name of the WSDL service.
 void setUnresolved(boolean unresolved)
          Sets whether the model element is unresolved.
 void setWSDLDocument(Definition definition)
          Sets the generated WSDL definitions document.
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Binding
clone, getName, getURI, setName, setURI
 
Methods inherited from interface org.apache.tuscany.sca.assembly.builder.BindingBuilderExtension
getBuilder, setBuilder
 

Method Detail

setLocation

void setLocation(java.lang.String location)
Sets the WSDL location.

Parameters:
location - the WSDL location

getLocation

java.lang.String getLocation()
Returns the WSDL location

Returns:
the WSDL location

getServiceName

javax.xml.namespace.QName getServiceName()
Returns the name of the WSDL service.

Returns:
the name of the WSDL service

setServiceName

void setServiceName(javax.xml.namespace.QName serviceName)
Sets the name of the WSDL service.

Parameters:
serviceName - the name of the WSDL service

getPortName

java.lang.String getPortName()
Returns the name of the WSDL port.

Returns:
the name of the WSDL port

setPortName

void setPortName(java.lang.String portName)
Sets the name of the WSDL port.

Parameters:
portName - the name of the WSDL port

getBindingName

javax.xml.namespace.QName getBindingName()
Returns the name of the WSDL binding.

Returns:
the name of the WSDL binding

setBindingName

void setBindingName(javax.xml.namespace.QName bindingName)
Sets the name of the WSDL binding.

Parameters:
bindingName - the name of the WSDL binding

getEndpointName

java.lang.String getEndpointName()
Returns the name of the WSDL endpoint.

Returns:
the name of the WSDL endpoint

setEndpointName

void setEndpointName(java.lang.String endpointName)
Sets the name of the WSDL endpoint.

Parameters:
endpointName - the name of the WSDL endpoint

getService

Service getService()
Returns the WSDL service

Returns:
the WSDL service

setService

void setService(Service service)
Sets the WSDL service.

Parameters:
service - the WSDL service

getPort

Port getPort()
Returns the WSDL port

Returns:
the WSDL port

setEndpoint

void setEndpoint(Port endpoint)
Sets the WSDL endpoint

Parameters:
endpoint - the WSDL endpoint

getEndpoint

Port getEndpoint()
Returns the WSDL endpoint

Returns:
the WSDL endpoint

setPort

void setPort(Port port)
Sets the WSDL port

Parameters:
port - the WSDL port

getBinding

javax.wsdl.Binding getBinding()
Returns the WSDL binding.

Returns:
the WSDL binding

setBinding

void setBinding(javax.wsdl.Binding binding)
Sets the WSDL binding

Parameters:
binding - the WSDL binding

getWSDLDefinition

WSDLDefinition getWSDLDefinition()
Returns the WSDL definition.

Returns:
the WSDL definition

setDefinition

void setDefinition(WSDLDefinition wsdlDefinition)
Sets the WSDL definition.

Parameters:
wsdlDefinition - the WSDL definition

getNamespace

java.lang.String getNamespace()
Returns the WSDL namespace.

Returns:
the WSDL namespace

setNamespace

void setNamespace(java.lang.String namespace)
Sets the WSDL namespace

Parameters:
namespace - the WSDL namespace

isUnresolved

boolean isUnresolved()
Returns true if the model element is unresolved.

Specified by:
isUnresolved in interface Base
Returns:
true if the model element is unresolved.

setUnresolved

void setUnresolved(boolean unresolved)
Sets whether the model element is unresolved.

Specified by:
setUnresolved in interface Base
Parameters:
unresolved - whether the model element is unresolved

getBindingInterfaceContract

InterfaceContract getBindingInterfaceContract()

setBindingInterfaceContract

void setBindingInterfaceContract(InterfaceContract bindingInterfaceContract)

getEndPointReference

org.w3c.dom.Element getEndPointReference()

setEndPointReference

void setEndPointReference(org.w3c.dom.Element element)

getWSDLDocument

Definition getWSDLDocument()
Returns the generated WSDL definitions document.

Returns:
the generated WSDL definitions document

setWSDLDocument

void setWSDLDocument(Definition definition)
Sets the generated WSDL definitions document.

Parameters:
definition - the generated WSDL definitions document