12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

How <strong>Borland</strong> Web Services work<br />

<br />

<br />

<br />

<br />

<br />

<br />

Java:MDB provider<br />

This provider assumes that the incoming message is meant for a message queue or a<br />

topic. When a <strong>web</strong> service request arrives, this provider:<br />

1 Looks up the connection factory.<br />

2 Creates a Queue or a Topic connection.<br />

3 Sends the message to the queue or topic.<br />

The parameters are:<br />

■<br />

connectionType: The type of connection. Can take value QUEUE or TOPIC.<br />

■<br />

connectionFactory:; The name of the connection factory. This is the serial name and<br />

not the JNDI name of the object. For example: serial://jms/qcf.<br />

■<br />

destination: The name of the queue or topic to which the message is sent. This is<br />

the serial name and not the JNDI name of the object. For example: serial://jms/q<br />

Examples:<br />

<br />

<br />

<br />

<br />

<br />

How <strong>Borland</strong> Web Services work<br />

1 The <strong>web</strong> services <strong>server</strong> receives an XML SOAP message from a client.<br />

2 It then:<br />

a<br />

b<br />

c<br />

Interprets the SOAP message.<br />

Extracts the SOAP service name.<br />

Determines the appropriate provider who can respond to this service.<br />

3 The mapping between the SOAP service and the type of provider is obtained from<br />

the Web Service Deployment Descriptor (WSDD) as part of WAR deployment.<br />

4 The message is then passed onto the right provider. For information about the<br />

different ways in which each provider deals with the message, go to:<br />

■<br />

“Java:RPC provider” on page 76<br />

■<br />

“Java:EJB provider” on page 76<br />

■<br />

“Java:VISIBROKER provider” on page 77<br />

■<br />

“Java:MDB provider” on page 78<br />

78 BES Developer’s Guide

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

Saved successfully!

Ooh no, something went wrong!