Sun GlassFish Message Queue 4.4 Developer's Guide for Java Clients

Using the Endpoint to Address a Message

To address a message to an endpoint, specify the endpoint as a parameter to the SOAPConnection.call method, which you use to send a SOAP message.