public class HttpSoapConsumerEndpoint extends HttpConsumerEndpoint
| Modifier and Type | Class and Description |
|---|---|
protected class |
HttpSoapConsumerEndpoint.Wsdl2Validator
Use an inner class to avoid having a strong dependency on Woden if not needed
|
MAIN_WSDLloggerdefinition, description, endpoint, interfaceName, service, serviceUnit| Constructor and Description |
|---|
HttpSoapConsumerEndpoint() |
HttpSoapConsumerEndpoint(DefaultComponent component,
javax.jbi.servicedesc.ServiceEndpoint endpoint) |
HttpSoapConsumerEndpoint(ServiceUnit serviceUnit,
javax.xml.namespace.QName service,
java.lang.String endpoint) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
Policy[] |
getPolicies() |
java.lang.String |
getSoapVersion()
Get the defined SOAP version to use
|
org.springframework.core.io.Resource |
getWsdl() |
boolean |
isUseJbiWrapper() |
boolean |
isValidateWsdl() |
protected void |
loadStaticResources() |
protected void |
mapDefinition(javax.wsdl.Definition def) |
protected void |
mapImports(javax.wsdl.Definition def,
java.lang.String contextPath) |
void |
setPolicies(Policy[] policies)
Specifies a list of interceptors that will process messages for the endpoint.
|
void |
setSoapVersion(java.lang.String soapVersion)
Specifies the SOAP version to use when generating a wsdl binding for the wsdl of the target endpoint.
|
void |
setUseJbiWrapper(boolean useJbiWrapper)
Specifies if the SOAP messages are wrapped in a JBI wrapper.
|
void |
setValidateWsdl(boolean validateWsdl)
Specifies in the WSDL is validated against the WS-I basic profile.
|
void |
setWsdl(org.springframework.core.io.Resource wsdl)
Specifies the WSDL document defining the messages sent by the endpoint.
|
protected void |
useProvidedWsdl()
Populate the description with the provided WSDL
|
protected void |
useProxiedWsdl()
Populate the description with the target endpoint WSDL
|
void |
validate() |
protected void |
validateWsdl1() |
protected void |
validateWsdl2() |
addResource, createExchange, deactivate, getAuthMethod, getDefaultMep, getLateResponseStrategy, getLocationURI, getMarshaler, getResource, getServerManager, getSsl, getTimeout, handleStaticResource, isRewriteSoapAddress, process, process, sendAccepted, sendError, sendFault, sendOut, setAuthMethod, setDefaultMep, setLateResponseStrategy, setLocationURI, setMarshaler, setRewriteSoapAddress, setSsl, setTimeout, start, stop, updateSoapLocationsconfigureExchangeTarget, getRole, getTargetEndpoint, getTargetInterface, getTargetOperation, getTargetService, getTargetUri, setTargetEndpoint, setTargetInterface, setTargetOperation, setTargetService, setTargetUridone, fail, getChannel, getContext, getExchangeFactory, send, sendSyncgetDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toStringpublic HttpSoapConsumerEndpoint()
public HttpSoapConsumerEndpoint(DefaultComponent component, javax.jbi.servicedesc.ServiceEndpoint endpoint)
public HttpSoapConsumerEndpoint(ServiceUnit serviceUnit, javax.xml.namespace.QName service, java.lang.String endpoint)
public org.springframework.core.io.Resource getWsdl()
public void setWsdl(org.springframework.core.io.Resource wsdl)
wsdl - a Resource object that points to the WSDL documentpublic boolean isValidateWsdl()
public void setValidateWsdl(boolean validateWsdl)
validateWsdl - true if WSDL is to be validatedpublic boolean isUseJbiWrapper()
public void setUseJbiWrapper(boolean useJbiWrapper)
useJbiWrapper - true if the SOAP messages are wrappedpublic void setSoapVersion(java.lang.String soapVersion)
soapVersion - the soapVersion to usepublic java.lang.String getSoapVersion()
public Policy[] getPolicies()
public void setPolicies(Policy[] policies)
policies - an array of Policy objectsprotected void useProvidedWsdl()
throws java.lang.Exception
javax.jbi.management.DeploymentException - if the provided WSDL can't be readjava.lang.Exceptionprotected void useProxiedWsdl()
throws java.lang.Exception
java.lang.Exception - if the proxed WSDL is not foundpublic void activate()
throws java.lang.Exception
activate in interface Endpointactivate in class HttpConsumerEndpointjava.lang.Exceptionpublic void validate()
throws javax.jbi.management.DeploymentException
validate in interface Endpointvalidate in class HttpConsumerEndpointjavax.jbi.management.DeploymentExceptionprotected void loadStaticResources()
throws java.lang.Exception
loadStaticResources in class HttpConsumerEndpointjava.lang.Exceptionprotected void validateWsdl1()
throws java.lang.Exception
java.lang.Exceptionprotected void validateWsdl2()
throws java.lang.Exception
java.lang.Exceptionprotected void mapDefinition(javax.wsdl.Definition def)
throws javax.wsdl.WSDLException
javax.wsdl.WSDLExceptionprotected void mapImports(javax.wsdl.Definition def,
java.lang.String contextPath)
throws javax.wsdl.WSDLException
javax.wsdl.WSDLExceptionCopyright © 2005-2014 FuseSource. All Rights Reserved.