|
||||||||||
| 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.ProviderEndpoint
org.apache.servicemix.http.endpoints.HttpProviderEndpoint
org.apache.servicemix.http.endpoints.HttpSoapProviderEndpoint
public class HttpSoapProviderEndpoint
An HTTP provider endpoint optimized to work with SOAP messages. This type of endpoint requires the use of WSDL.
| Nested Class Summary | |
|---|---|
protected class |
HttpSoapProviderEndpoint.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.HttpProviderEndpoint |
|---|
HttpProviderEndpoint.Exchange, HttpProviderEndpoint.SSLManagedHttpClient |
| Field Summary |
|---|
| Fields inherited from class org.apache.servicemix.common.endpoints.SimpleEndpoint |
|---|
logger |
| Fields inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
|---|
definition, description, endpoint, interfaceName, service, serviceUnit |
| Constructor Summary | |
|---|---|
HttpSoapProviderEndpoint()
|
|
HttpSoapProviderEndpoint(DefaultComponent component,
javax.jbi.servicedesc.ServiceEndpoint endpoint)
|
|
HttpSoapProviderEndpoint(ServiceUnit serviceUnit,
javax.xml.namespace.QName service,
java.lang.String endpoint)
|
|
| Method Summary | |
|---|---|
Policy[] |
getPolicies()
|
org.springframework.core.io.Resource |
getWsdl()
Gets the WSDL document needed by an endpoint. |
boolean |
isUseJbiWrapper()
Determines if the endpoint wraps SOAP messages in the JBI wrapper. |
boolean |
isValidateWsdl()
Determines if the WSDL will be checked for WS-I basic profile compliance. |
void |
setPolicies(Policy[] policies)
Specifies a list of interceptors that will process messages for the endpoint. |
void |
setUseJbiWrapper(boolean useJbiWrapper)
Specifies if an endpoint wraps SOAP messages in the JBI wrapper. |
void |
setValidateWsdl(boolean validateWsdl)
Specifies if an endpoint's WSDL document should be validated for WS-I basic profile compliance. |
void |
setWsdl(org.springframework.core.io.Resource wsdl)
Sets the WSDL document needed by an endpoint. |
void |
validate()
|
protected void |
validateWsdl1(HttpSoapProviderMarshaler marshaler)
|
protected void |
validateWsdl2(HttpSoapProviderMarshaler marshaler)
|
| Methods inherited from class org.apache.servicemix.http.endpoints.HttpProviderEndpoint |
|---|
getClientSoTimeout, getConnectionPool, getCredentials, getLocationURI, getMarshaler, getMaxConnectionsPerAddress, getPrincipal, getProviderExpirationTime, getProxyHost, getProxyPassword, getProxyPort, getProxyUsername, getSsl, handle, handleException, isExpectGzippedResponse, isGzipRequest, process, setClientSoTimeout, setCredentials, setExpectGzippedResponse, setGzipRequest, setLocationURI, setMarshaler, setMaxConnectionsPerAddress, setPrincipal, setProviderExpirationTime, setProxyHost, setProxyPassword, setProxyPort, setProxyUsername, setSsl, start, stop |
| Methods inherited from class org.apache.servicemix.common.endpoints.ProviderEndpoint |
|---|
activate, deactivate, getRole, processInOnly, processInOut |
| 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 HttpSoapProviderEndpoint()
public HttpSoapProviderEndpoint(DefaultComponent component,
javax.jbi.servicedesc.ServiceEndpoint endpoint)
public HttpSoapProviderEndpoint(ServiceUnit serviceUnit,
javax.xml.namespace.QName service,
java.lang.String endpoint)
| Method Detail |
|---|
public org.springframework.core.io.Resource getWsdl()
Resource containing the WSDL documentpublic void setWsdl(org.springframework.core.io.Resource wsdl)
wsdl - a Resource containing the WSDL documentpublic boolean isValidateWsdl()
public void setValidateWsdl(boolean validateWsdl)
validateWsdl - a boolean specifying if the WSDL document is to be validatedpublic boolean isUseJbiWrapper()
public void setUseJbiWrapper(boolean useJbiWrapper)
useJbiWrapper - a boolean specifying if the endpoint should use the JBI wrapperpublic Policy[] getPolicies()
public void setPolicies(Policy[] policies)
policies - an array of Policy objects
public void validate()
throws javax.jbi.management.DeploymentException
validate in interface Endpointvalidate in class HttpProviderEndpointjavax.jbi.management.DeploymentException
protected void validateWsdl1(HttpSoapProviderMarshaler marshaler)
throws java.lang.Exception
java.lang.Exception
protected void validateWsdl2(HttpSoapProviderMarshaler marshaler)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||