|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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
public class HttpSoapConsumerEndpoint
| Nested Class Summary | |
|---|---|
protected class |
HttpSoapConsumerEndpoint.Wsdl2Validator
Use an inner class to avoid having a strong dependency on Woden if not needed |
| Nested classes/interfaces inherited from class org.apache.servicemix.http.endpoints.HttpConsumerEndpoint |
|---|
HttpConsumerEndpoint.LateResponseStrategy |
| Field Summary |
|---|
| Fields inherited from class org.apache.servicemix.http.endpoints.HttpConsumerEndpoint |
|---|
MAIN_WSDL |
| Fields inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
|---|
definition, description, endpoint, interfaceName, logger, service, serviceUnit |
| Constructor Summary | |
|---|---|
HttpSoapConsumerEndpoint()
|
|
HttpSoapConsumerEndpoint(DefaultComponent component,
javax.jbi.servicedesc.ServiceEndpoint endpoint)
|
|
HttpSoapConsumerEndpoint(ServiceUnit serviceUnit,
javax.xml.namespace.QName service,
java.lang.String endpoint)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.apache.servicemix.http.endpoints.HttpConsumerEndpoint |
|---|
addResource, createExchange, deactivate, getAuthMethod, getDefaultMep, getLateResponseStrategy, getLocationURI, getMarshaler, getResource, getServerManager, getSsl, getTimeout, handleStaticResource, process, process, sendAccepted, sendError, sendFault, sendOut, setAuthMethod, setDefaultMep, setLateResponseStrategy, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HttpSoapConsumerEndpoint()
public HttpSoapConsumerEndpoint(DefaultComponent component,
javax.jbi.servicedesc.ServiceEndpoint endpoint)
public HttpSoapConsumerEndpoint(ServiceUnit serviceUnit,
javax.xml.namespace.QName service,
java.lang.String endpoint)
| Method Detail |
|---|
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 objects
protected void useProvidedWsdl()
throws java.lang.Exception
javax.jbi.management.DeploymentException - if the provided WSDL can't be read
java.lang.Exception
protected void useProxiedWsdl()
throws java.lang.Exception
java.lang.Exception - if the proxed WSDL is not found
public void activate()
throws java.lang.Exception
activate in interface Endpointactivate in class HttpConsumerEndpointjava.lang.Exception
public void validate()
throws javax.jbi.management.DeploymentException
validate in interface Endpointvalidate in class HttpConsumerEndpointjavax.jbi.management.DeploymentException
protected void loadStaticResources()
throws java.lang.Exception
loadStaticResources in class HttpConsumerEndpointjava.lang.Exception
protected void validateWsdl1()
throws java.lang.Exception
java.lang.Exception
protected void validateWsdl2()
throws java.lang.Exception
java.lang.Exception
protected void mapDefinition(javax.wsdl.Definition def)
throws javax.wsdl.WSDLException
javax.wsdl.WSDLException
protected void mapImports(javax.wsdl.Definition def,
java.lang.String contextPath)
throws javax.wsdl.WSDLException
javax.wsdl.WSDLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||