09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The Internet Data Access Presentation (IDAP)<br />

IDAP Documents<br />

The response is the return value or an error or exception that is passed back to<br />

<br />

the client.<br />

At the receiving site, a request can have one of the following outcomes:<br />

a. The HTTP infrastructure on the receiving site is able to receive and process<br />

the request.<br />

b. The HTTP infrastructure on the receiving site cannot receive and process<br />

the request.<br />

c. The SOAP infrastructure on the receiving site is able to decode the input<br />

parameters, dispatch to an appropriate server indicated by the server<br />

address, and invoke an application-level function corresponding<br />

semantically to the method indicated in the method request.<br />

d. The SOAP infrastructure on the receiving site cannot decode the input<br />

parameters, dispatch to an appropriate server indicated by the server<br />

address, and invoke an application-level function corresponding<br />

semantically to the interface or method indicated in the method request.<br />

In (a), the HTTP infrastructure passes the headers and body to the SOAP<br />

infrastructure. In (b), the result is an HTTP response containing an HTTP error in<br />

the status field and no XML body. In (c), the result of the method request consists of<br />

a response or error. In (d), the result of the method is an error that prevented the<br />

dispatching infrastructure on the receiving side from successful completion. In (c)<br />

and (d), additional message headers may for extensibility again be present in the<br />

results of the request.<br />

Results from a Method Request<br />

The results of the request are to be provided in the form of a request-response. The<br />

HTTP response must be of Content-Type text/xml. A SOAP result indicates<br />

success and an error indicates failure. The method response will never contain both<br />

a result and an error.<br />

The body of a SOAP message is an IDAP message. This XML document has the<br />

namespace http://ns.oracle.com/AQ/schemas/access. This body<br />

represents:<br />

Client requests for enqueue, dequeue, and registration<br />

Server responses to client requests for enqueue, dequeue, and registration<br />

17-6 <strong>Oracle</strong>9i Application Developer’s Guide - <strong>Advanced</strong> <strong>Queuing</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!