JwsContext.getCallbackLocation() Method

Gets the URL that will be used for client callbacks during the current conversation.

# Syntax

    public String getCallbackLocation()

# Parameters

None.

# Return Value

The URL that will be used for callbacks to the client. An empty string is returned if no callback location has been specified (note: an empty string is different from null).

# Exceptions

None.

# Remarks

You can call getCallbackLocation() to retrieve the URL set with JwsContext.setCallbackLocation, or to discover the URL if it was set via SOAP headers when a conversation start method was called.

Related Topics

JwsContext.setCallbackLocation(String) Method

JwsContext.setCallbackLocation(URL) Method