-
1. Re: HTTP Service
trohovsky Jan 16, 2014 3:41 PM (in response to dbbecker)Hi Daniel,
you can find how to install SwitchYard runtime in Installing SwitchYard - SwitchYard - Project Documentation Editor
see http-binding quickstart to understand how to configure HTTP quickstarts/http-binding at master · jboss-switchyard/quickstarts · GitHub
if the URL differs in your application instances, then consider using of the property in switchyard.xml.
<
sca:reference
name
=
"Symbol"
promote
=
"SymbolService/SymbolService"
multiplicity
=
"1..1"
>
<
http:binding.http
>
<
http:address
>${sympolServiceUrl}</
http:address>
<
http:method
>POST</
http:method
>
<
http:contentType
>text/plain</
http:contentType
>
</
http:binding.http
>
</
sca:reference
>
You can use system properties (-DsymbolServiceUrl="http://www.example.com"), environment variables or JBoss AS properties for that purpose.
Tomas