Application Integration (On-Premises) : Creating REST applications : How REST Processing Works : Sending Responses to the REST Client : Status Line
Status Line
The status line consists of the HTTP version followed by a numeric status code and a reason phrase. The reason phrase is a brief textual description of the status code. Integration Server will always set the HTTP version to match the version of the client that issued the request. You cannot change the HTTP version.
You can, however, use the pub.flow:setResponseCode service to set the status code and reason phrase. For more information about this service, refer to the webMethods Integration Server Built-In Services Reference. If you do not explicitly set the status code, Integration Server will set it to 200 for successfully completed requests and an appropriate error code for unsuccessful requests.
HTTP/1.1 defines all the legal status codes in Section http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10. Examine these codes to determine which are appropriate for your application.
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback