org.apache.servicemix.soap
Class SoapEndpoint
java.lang.Object
org.apache.servicemix.common.endpoints.AbstractEndpoint
org.apache.servicemix.soap.SoapEndpoint
- All Implemented Interfaces:
- Endpoint
public abstract class SoapEndpoint
- extends AbstractEndpoint
| Methods inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString, validate |
activated
protected javax.jbi.servicedesc.ServiceEndpoint activated
processor
protected SoapExchangeProcessor processor
role
protected javax.jbi.messaging.MessageExchange.Role role
defaultMep
protected URI defaultMep
soap
protected boolean soap
soapVersion
protected String soapVersion
wsdlResource
protected org.springframework.core.io.Resource wsdlResource
defaultOperation
protected QName defaultOperation
targetInterfaceName
protected QName targetInterfaceName
targetService
protected QName targetService
targetEndpoint
protected String targetEndpoint
policies
protected List policies
wsdls
protected Map wsdls
dynamic
protected boolean dynamic
SoapEndpoint
public SoapEndpoint()
SoapEndpoint
public SoapEndpoint(boolean dynamic)
getAuthenticationService
public AuthenticationService getAuthenticationService()
getKeystoreManager
public KeystoreManager getKeystoreManager()
getPolicies
public List getPolicies()
- Returns:
- the policies
setPolicies
public void setPolicies(List policies)
- Parameters:
policies - the policies to set
getDefaultMep
public URI getDefaultMep()
- Returns:
- Returns the defaultMep.
setDefaultMep
public void setDefaultMep(URI defaultMep)
- Parameters:
defaultMep - The defaultMep to set.
getDefaultOperation
public QName getDefaultOperation()
- Returns:
- Returns the defaultOperation.
setDefaultOperation
public void setDefaultOperation(QName defaultOperation)
- Parameters:
defaultOperation - The defaultOperation to set.
getRole
public javax.jbi.messaging.MessageExchange.Role getRole()
- Specified by:
getRole in interface Endpoint- Specified by:
getRole in class AbstractEndpoint
- Returns:
- Returns the role.
setRole
public void setRole(javax.jbi.messaging.MessageExchange.Role role)
- Parameters:
role - The role to set.
isSoap
public boolean isSoap()
- Returns:
- Returns the soap.
setSoap
public void setSoap(boolean soap)
- Parameters:
soap - The soap to set.
getSoapVersion
public String getSoapVersion()
- Returns:
- Returns the soapVersion.
setSoapVersion
public void setSoapVersion(String soapVersion)
- Parameters:
soapVersion - The soapVersion to set.
getTargetEndpoint
public String getTargetEndpoint()
- Returns:
- Returns the targetEndpoint.
setTargetEndpoint
public void setTargetEndpoint(String targetEndpoint)
- Parameters:
targetEndpoint - The targetEndpoint to set.
getTargetInterfaceName
public QName getTargetInterfaceName()
- Returns:
- Returns the targetInterfaceName.
setTargetInterfaceName
public void setTargetInterfaceName(QName targetInterfaceName)
- Parameters:
targetInterfaceName - The targetInterfaceName to set.
getTargetService
public QName getTargetService()
- Returns:
- Returns the targetServiceName.
setTargetService
public void setTargetService(QName targetServiceName)
- Parameters:
targetServiceName - The targetServiceName to set.
getWsdlResource
public org.springframework.core.io.Resource getWsdlResource()
- Returns:
- Returns the wsdlResource.
setWsdlResource
public void setWsdlResource(org.springframework.core.io.Resource wsdlResource)
- Parameters:
wsdlResource - The wsdlResource to set.
setRoleAsString
public void setRoleAsString(String role)
- Parameters:
role -
loadWsdl
protected void loadWsdl()
- Load the wsdl for this endpoint.
retrieveProxiedEndpointDefinition
protected void retrieveProxiedEndpointDefinition()
- Create a wsdl definition for a consumer endpoint.
Loads the target endpoint definition and add http binding
informations to it.
activate
public void activate()
throws Exception
- Specified by:
activate in interface Endpoint- Specified by:
activate in class AbstractEndpoint
- Throws:
Exception
start
public void start()
throws Exception
- Specified by:
start in interface Endpoint- Specified by:
start in class AbstractEndpoint
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop in interface Endpoint- Specified by:
stop in class AbstractEndpoint
- Throws:
Exception
process
public void process(javax.jbi.messaging.MessageExchange exchange)
throws Exception
- Specified by:
process in interface Endpoint- Specified by:
process in class AbstractEndpoint
- Throws:
Exception
deactivate
public void deactivate()
throws Exception
- Specified by:
deactivate in interface Endpoint- Specified by:
deactivate in class AbstractEndpoint
- Throws:
Exception
overrideDefinition
protected abstract void overrideDefinition(javax.wsdl.Definition def)
throws Exception
- Throws:
Exception
createProviderProcessor
protected abstract SoapExchangeProcessor createProviderProcessor()
createConsumerProcessor
protected abstract SoapExchangeProcessor createConsumerProcessor()
createExternalEndpoint
protected abstract javax.jbi.servicedesc.ServiceEndpoint createExternalEndpoint()
createWsdlReader
protected javax.wsdl.xml.WSDLReader createWsdlReader()
throws javax.wsdl.WSDLException
- Throws:
javax.wsdl.WSDLException
createWsdlWriter
protected javax.wsdl.xml.WSDLWriter createWsdlWriter()
throws javax.wsdl.WSDLException
- Throws:
javax.wsdl.WSDLException
registerExtensions
protected void registerExtensions(javax.wsdl.extensions.ExtensionRegistry registry)
mapDefinition
protected void mapDefinition(javax.wsdl.Definition def)
throws javax.wsdl.WSDLException
- Throws:
javax.wsdl.WSDLException
mapImports
protected void mapImports(javax.wsdl.Definition def,
String contextPath)
throws javax.wsdl.WSDLException
- Throws:
javax.wsdl.WSDLException
getWsdls
public Map getWsdls()
- Returns:
- Returns the wsdls.
Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.