uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

10.15 HTTP status codes

The following table lists and describes the HTTP status codes returned by the JAX-WS engine at the service machine:

Table 10-18 HTTP Status Codes

Item no. HTTP status code Condition under which HTTP status code is returned
1 200 OK When the invocation of the Request-Response operation type Web Service terminates successfully.
2 202 Accepted When the invocation of Web Service corresponding to an asynchronous invocation terminates successfully, while you are using the addressing functionality or invoking Web Services for one-way operations.
3 404 Not Found When the format of requesting is invalid, while the issue of the Meta data has been enabled. In such cases, the HTTP status code becomes 405 Method Not Allowed.
For issuing the Meta data, see the section 10.6 Issuing the Meta data.
4 405 Method Not Allowed In any of the following cases:
  • When an HTTP method that you cannot use arrives
    For the HTTP methods that you can use, see the section 10.8 HTTP methods that can be used.
  • When you receive an HTTP request for issuing the Meta data, while issuing of Meta data has been disabled
    For issuing the Meta data, see the section 10.6 Issuing the Meta data.
  • When you receive an HTTP request for displaying the information of Web Services, while the information display of Web Services has been disabled
    For displaying the information of Web Services, see the section 10.7 Displaying Web Service information.
5 415 Unsupported Media Type When the Content-Type HTTP header either does not exist or is invalid.
Such cases result in the HTTP status code 500 Internal Server Error.
6 500 Internal Server Error When an error other than the errors described above occurs. This HTTP status code is also returned, when the execution results of a Web Service result in a SOAP fault.