URLEndpoint

   
URLEndpoint javax.xml.messaging

JAXM 1.1; JWSDP 1.0
 public class URLEndpoint extends Endpoint {  // Public Constructors  public URLEndpoint( String url);  // Public Instance Methods  public String getURL(  );  } 

URLEndpoint is a subclass of Endpoint in which the URI that represents the endpoint address is expected to be a valid URL.

This class is used internally within the JAXM reference implementation to represent the addresses to which a URI used by a JAXM clients is mapped within the JAXM provider, since each such address must be the URL of the provider that will receive a message with that URI. From the viewpoint of a JAXM client, however, the URLEndpoint class is of no practical use, at least in the reference implementation, since neither of the profiles that it supports will accept a message destination that is a URL.

A URLEndpoint can be used by a SAAJ client in conjunction with the SOAPConnection send( ) method. However, it is simpler to use a string version of the URL instead.


   


Java Web Services in a Nutshell
Java Web Services in a Nutshell
ISBN: 0596003994
EAN: 2147483647
Year: 2003
Pages: 257
Authors: Kim Topley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net