org.apache.servicemix.http.endpoints
Class HttpSoapConsumerEndpoint
java.lang.Object
org.apache.servicemix.common.endpoints.AbstractEndpoint
org.apache.servicemix.common.endpoints.SimpleEndpoint
org.apache.servicemix.common.endpoints.ConsumerEndpoint
org.apache.servicemix.http.endpoints.HttpConsumerEndpoint
org.apache.servicemix.http.endpoints.HttpSoapConsumerEndpoint
- All Implemented Interfaces:
- org.apache.servicemix.common.Endpoint, HttpEndpointType, HttpProcessor
public class HttpSoapConsumerEndpoint
- extends HttpConsumerEndpoint
- Since:
- 3.2
- Author:
- gnodet
| Fields inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
definition, description, endpoint, interfaceName, logger, service, serviceUnit |
| Methods inherited from class org.apache.servicemix.http.endpoints.HttpConsumerEndpoint |
activate, addResource, createExchange, deactivate, getAuthMethod, getDefaultMep, getLocationURI, getMarshaler, getResource, getServerManager, getSsl, getTimeout, handleStaticResource, process, process, sendAccepted, sendError, sendFault, sendOut, setAuthMethod, setDefaultMep, setLocationURI, setMarshaler, setSsl, setTimeout, start, stop |
| Methods inherited from class org.apache.servicemix.common.endpoints.ConsumerEndpoint |
configureExchangeTarget, getRole, getTargetEndpoint, getTargetInterface, getTargetOperation, getTargetService, getTargetUri, setTargetEndpoint, setTargetInterface, setTargetOperation, setTargetService, setTargetUri |
| Methods inherited from class org.apache.servicemix.common.endpoints.SimpleEndpoint |
done, fail, getChannel, getContext, getExchangeFactory, send, sendSync |
| 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 |
HttpSoapConsumerEndpoint
public HttpSoapConsumerEndpoint()
HttpSoapConsumerEndpoint
public HttpSoapConsumerEndpoint(org.apache.servicemix.common.DefaultComponent component,
javax.jbi.servicedesc.ServiceEndpoint endpoint)
HttpSoapConsumerEndpoint
public HttpSoapConsumerEndpoint(org.apache.servicemix.common.ServiceUnit serviceUnit,
QName service,
String endpoint)
getWsdl
public org.springframework.core.io.Resource getWsdl()
setWsdl
public void setWsdl(org.springframework.core.io.Resource wsdl)
- Specifies the WSDL document defining the messages sent by the endpoint.
- Parameters:
wsdl - a Resource object that points to the WSDL document
isValidateWsdl
public boolean isValidateWsdl()
setValidateWsdl
public void setValidateWsdl(boolean validateWsdl)
- Specifies in the WSDL is validated against the WS-I basic profile.
- Parameters:
validateWsdl - true if WSDL is to be validated
isUseJbiWrapper
public boolean isUseJbiWrapper()
setUseJbiWrapper
public void setUseJbiWrapper(boolean useJbiWrapper)
- Specifies if the SOAP messages are wrapped in a JBI wrapper.
- Parameters:
useJbiWrapper - true if the SOAP messages are wrapped
getPolicies
public org.apache.servicemix.soap.api.Policy[] getPolicies()
setPolicies
public void setPolicies(org.apache.servicemix.soap.api.Policy[] policies)
- Specifies a list of interceptors that will process messages for the endpoint.
- Parameters:
policies - an array of Policy objects
validate
public void validate()
throws javax.jbi.management.DeploymentException
- Specified by:
validate in interface org.apache.servicemix.common.Endpoint- Overrides:
validate in class HttpConsumerEndpoint
- Throws:
javax.jbi.management.DeploymentException
loadStaticResources
protected void loadStaticResources()
- Overrides:
loadStaticResources in class HttpConsumerEndpoint
validateWsdl1
protected void validateWsdl1(HttpSoapConsumerMarshaler marshaler)
throws Exception
- Throws:
Exception
validateWsdl2
protected void validateWsdl2(HttpSoapConsumerMarshaler marshaler)
throws Exception
- Throws:
Exception
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.