javax.xml.messaging
public class URLEndpoint extends Endpoint
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 and Description |
---|
URLEndpoint(String url)
Constructs a new
URLEndpoint object using the given URL. |
public URLEndpoint(String url)
URLEndpoint
object using the given URL.url
- a String
giving the URL to use in constructing
the new URLEndpoint
objectpublic String getURL()
URLEndpoint
object.String
giving the URL associated with this
URLEndpoint
objectCopyright (c) 2011, Oracle and/or its affiliates. All rights reserved.