org.apache.servicemix.soap
Class SoapEndpoint
java.lang.Object
org.apache.servicemix.common.Endpoint
org.apache.servicemix.soap.SoapEndpoint
public abstract class SoapEndpoint
- extends org.apache.servicemix.common.Endpoint
| Fields inherited from class org.apache.servicemix.common.Endpoint |
definition, description, endpoint, interfaceName, logger, service, serviceUnit |
| Methods inherited from class org.apache.servicemix.common.Endpoint |
getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString, validate |
activated
protected javax.jbi.servicedesc.ServiceEndpoint activated
processor
protected org.apache.servicemix.common.ExchangeProcessor 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
SoapEndpoint
public SoapEndpoint()
getAuthenticationService
public org.apache.servicemix.jbi.security.auth.AuthenticationService getAuthenticationService()
getKeystoreManager
public org.apache.servicemix.jbi.security.keystore.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 class org.apache.servicemix.common.Endpoint
- 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.
getProcessor
public org.apache.servicemix.common.ExchangeProcessor getProcessor()
- Specified by:
getProcessor in class org.apache.servicemix.common.Endpoint
activate
public void activate()
throws Exception
- Specified by:
activate in class org.apache.servicemix.common.Endpoint
- Throws:
Exception
activateDynamic
public void activateDynamic()
throws Exception
- Throws:
Exception
deactivate
public void deactivate()
throws Exception
- Specified by:
deactivate in class org.apache.servicemix.common.Endpoint
- Throws:
Exception
overrideDefinition
protected abstract void overrideDefinition(javax.wsdl.Definition def)
throws Exception
- Throws:
Exception
createProviderProcessor
protected abstract org.apache.servicemix.common.ExchangeProcessor createProviderProcessor()
createConsumerProcessor
protected abstract org.apache.servicemix.common.ExchangeProcessor 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)
throws javax.wsdl.WSDLException
- Throws:
javax.wsdl.WSDLException
getWsdls
public Map getWsdls()
- Returns:
- Returns the wsdls.
Copyright © 2005-2007. All Rights Reserved.