This gateway supports both service and reference bindings.
The Service binding spec:
<sequence> <element name="contextPath" type="string" minOccurs="0" maxOccurs="1"> <annotation> <documentation> A context path where the HTTP endpoint will be exposed for Service bindings. </documentation> </annotation> </element> </sequence>
An additional operationSelector element can be used for Service binding.
The Reference binding spec:
<sequence> <element name="address" type="string" minOccurs="0" maxOccurs="1"> <annotation> <documentation> A URL that points to the HTTP endpoint in case of Reference bindings. </documentation> </annotation> </element> <element name="method" type="string" minOccurs="0" maxOccurs="1"> <annotation> <documentation> The HTTP method. </documentation> </annotation> </element> <element name="contentType" type="string" minOccurs="0" maxOccurs="1"> <annotation> <documentation> The HTTP request's content-type header that need to be set. </documentation> </annotation> </element> </sequence>
Sample configuration is here: https://github.com/jboss-switchyard/components/blob/master/http/src/test/resources/HelloSwitchYard.xml
Full schema is here: https://github.com/jboss-switchyard/components/blob/master/http/src/main/resources/org/switchyard/component/http/config/model/v1/http-v1.xsd