javax.xml.messaging

Class URLEndpoint

public class URLEndpoint extends Endpoint

A special case of the Endpoint class used for simple applications that want to communicate directly with another SOAP-based application in a point-to-point fashion instead of going through a messaging provider.

A URLEndpoint object contains a URL, which is used to make connections to the remote party. A standalone client can pass a URLEndpoint object to the SOAPConnection method call to send a message synchronously.

Constructor Summary
URLEndpoint(String url)
Constructs a new URLEndpoint object using the given URL.
Method Summary
StringgetURL()
Gets the URL associated with this URLEndpoint object.

Constructor Detail

URLEndpoint

public URLEndpoint(String url)
Constructs a new URLEndpoint object using the given URL.

Parameters: url a String giving the URL to use in constructing the new URLEndpoint object

Method Detail

getURL

public String getURL()
Gets the URL associated with this URLEndpoint object.

Returns: a String giving the URL associated with this URLEndpoint object

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.