Try OpenEdge Now
skip to main content
Administration
Messaging and ESB Administration : Configuring and Managing the OpenEdge Adapter for Sonic ESB : Exposing a service as a standard Web service
 

Exposing a service as a standard Web service

By adding a properly configured acceptor to the SonicMQ broker, you can make it possible for a service in Sonic ESB to function as a standard Web service, receiving and responding to requests from clients outside the Sonic ESB environment.
The procedure that follows presents the basic steps for configuring such an acceptor. Refer to Sonic ESB Developer's Guide for more detailed information.
To add an HTTP/SOAP acceptor to the SonicMQ Broker:
1. Start the SonicMQ management container and then start the SonicMQ Management Console.
2. On the Configure tab, expand the Brokers folder.
3. Select the broker to which you want to add the acceptor (by default, Broker1), and then select Acceptors.
4. Right-click in the right pane to display a pop-up menu. From this menu, select New > HTTP(S) Direct. The New HTTP(S) Direct Acceptor window appears:
5. In the Name field, type a descriptive name.
6. In the first URL field, enter a host name or localhost. In the second (following the colon), enter the port number.
7. Click the New button to the right of the Protocols list.Then, from the menu that appears, select HTTP Direct for SOAP. The New HTTP Direct for SOAP Protocol window appears:
8. In the Name field, type a name of your choice. You can use the same name that you gave to the acceptor if you wish.
9. Click New and select Content Reply Send from the menu. The New Direct Content Reply Send URL window appears:
10. Enter the appropriate values at the New Direct Content Reply Send URL window and click OK at each of the three windows (New Direct Content Reply Send URL, New HTTP Direct for SOAP Protocol, New HTTP(S) Direct Acceptor) to create the acceptor.