HTTP Binding Usage
This page is intended to be used as a reference. For more information regarding how binding components are declared and used, please see the the user guide.
Example
The following example defines a runtime HTTP binding provider. Note that this is an optional step that is only required if you need to configure the provider. A runtime binding provider will be instantiated by alakai (using the provider's default config) when no provider definition is defined for a binding component.
Note that an HTTP Binding does not support binding modules. Binding modules require message headers which are undefined when using POX over HTTP. For more information regarding each configuration setting, please refer to comments within the schema.
<deployment xmlns="http://bluestemsoftware.org/specification/eoa/1.0/deployment">
<providers>
<binding xmlns="http://bluestemsoftware.org/specification/eoa/ext/binding/http/default/1.0" xmlns:tns="http://com.mycompany/eoa/1.0" name="tns:MyPOXBinding">
<configuration>
<faults>
<fault name="tns:NameNotFoundFault">
<httpHeaders>
<httpHeader name="faultHeader">MyFaultHeaderValue</httpHeader>
</httpHeaders>
</fault>
</faults>
<operations>
<operation name="tns:lookupValue">
<requestorTimeout>600000</requestorTimeout>
<input>
<httpHeaders>
<httpHeader name="inputHeader">MyInputHeaderValue</httpHeader>
</httpHeaders>
</input>
<output>
<httpHeaders>
<httpHeader name="outputHeader">MyOutputHeaderValue</httpHeader>
</httpHeaders>
</output>
</operation>
<operation name="tns:getVersion">
<requestorTimeout>600000</requestorTimeout>
</operation>
<operation name="tns:assertName">
<requestorTimeout>1000</requestorTimeout>
</operation>
<operation name="tns:echoAny">
<requestorTimeout>600000</requestorTimeout>
</operation>
</operations>
</configuration>
</binding>
</providers>
</deployment>