Class WSDLEndpointFactory
- java.lang.Object
-
- org.apache.synapse.config.xml.endpoints.EndpointFactory
-
- org.apache.synapse.config.xml.endpoints.DefaultEndpointFactory
-
- org.apache.synapse.config.xml.endpoints.WSDLEndpointFactory
-
- All Implemented Interfaces:
XMLToObjectMapper
public class WSDLEndpointFactory extends DefaultEndpointFactory
Creates anWSDLEndpoint
based endpoint from a XML configuration.Configuration syntax:
<endpoint [name="name"]> <wsdl [uri="WSDL location"] service="qualified name" port="qualified name" [format="soap11|soap12|pox|get"] [optimize="mtom|swa"] [encoding="charset encoding"] [statistics="enable|disable"] [trace="enable|disable"]> <wsdl:definition>...</wsdl:definition>? <wsdl20:description>...</wsdl20:description>? <enableSec [policy="key"]/>? <enableAddressing [version="final|submission"] [separateListener="true|false"]/>? <timeout> <duration>timeout duration in seconds</duration> <responseAction>discard|fault</responseAction> </timeout>? <suspendDurationOnFailure> suspend duration in seconds </suspendDurationOnFailure>? </wsdl> </endpoint>
-
-
Field Summary
Fields Modifier and Type Field Description static String
SKIP_WSDL_PARSING
-
Fields inherited from class org.apache.synapse.config.xml.endpoints.EndpointFactory
ON_FAULT_Q
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Endpoint
createEndpoint(org.apache.axiom.om.OMElement epConfig, boolean anonymousEndpoint, Properties properties)
Creates the Endpoint implementation for the given XML endpoint configuration.static WSDLEndpointFactory
getInstance()
-
Methods inherited from class org.apache.synapse.config.xml.endpoints.DefaultEndpointFactory
createEndpointDefinition, extractSpecificEndpointProperties, processAuditStatus
-
Methods inherited from class org.apache.synapse.config.xml.endpoints.EndpointFactory
getEndpointDefinitionFactory, getEndpointFromElement, getEndpointFromElement, getEndpoints, getObjectFromOMNode, handleException, handleException, processProperties, setEndpointDefinitionFactory
-
-
-
-
Field Detail
-
SKIP_WSDL_PARSING
public static final String SKIP_WSDL_PARSING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static WSDLEndpointFactory getInstance()
-
createEndpoint
protected Endpoint createEndpoint(org.apache.axiom.om.OMElement epConfig, boolean anonymousEndpoint, Properties properties)
Description copied from class:EndpointFactory
Creates the Endpoint implementation for the given XML endpoint configuration. If the endpoint configuration is an inline one, it should be an anonymous endpoint. If it is defined as an immediate child element of the definitions tag it should have a name, which is used as the key in local registry.- Overrides:
createEndpoint
in classDefaultEndpointFactory
- Parameters:
epConfig
- OMElement containing the endpoint configuration.anonymousEndpoint
- false if the endpoint has a name. true otherwise.properties
- bag of properties to pass in any information to the factory- Returns:
- Endpoint implementation for the given configuration.
-
-