Petals-BC-REST 1.x

compared with
Version 8 by Nicolas Oddoux
on Sep 22, 2010 11:25.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (6)

View Page History
{info}
REST is a style of software architecture not a standard. If you want more details about REST, you can consult the Wikipedia page: [http://en.wikipedia.org/wiki/Representational_State_Transfer]

{info}

{center}

When a message is received on a REST linked endpoint from the JBI environment, it is transformed into a REST message and sent to the Web Service.

The REST request is created like this:
* The HTTP body is created differently according the HTTP method to used:
** GET/DELETE: There is no HTTP body
** POST: The HTTP body is created from the JBI payload (The value (the content of the XML root tag of the JBI payload is used)
** PUT: The HTTP body is created from an a JBI attachment (the first attachment found in the JBI message is used if there is one)
* The headers present in the protocol header JBI message property are added to the HTTP headers.




|| Attribute || Description || Default value || Required ||
| address | Address of the external Web Service to send JBI messages to. | | {center}Yes\*{center} |



|| Attribute || Description || Default value || Required ||
| service-name | Web Service name to expose. | | {center}No{center} |