com.ibm.cics.server
Class WSAEpr

java.lang.Object
  extended by com.ibm.cics.server.WSAEpr

public class WSAEpr
extends java.lang.Object

WS-Addressing Endpoint Reference helper class. Namespace http://www.w3.org/2005/08/addressing.


Field Summary
static java.lang.String SCCSID
          The SCCSID constant
 
Constructor Summary
WSAEpr()
           
 
Method Summary
 java.lang.String create(java.lang.String address)
          Creates a WS-Addressing Endpoint Reference (EPR) using supplied data.
 java.lang.String create(java.lang.String address, java.lang.String referenceParameters)
          Creates a WS-Addressing Endpoint Reference (EPR) using supplied data.
 java.lang.String create(java.lang.String address, java.lang.String referenceParameters, java.lang.String metadata)
          Creates a WS-Addressing Endpoint Reference (EPR) using supplied data.
 java.lang.String getNationalLang()
          Gets the national language if previously set.
 void setNationalLang(java.lang.String natlang)
          Sets the national language to use when building the addressing context.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCCSID

public static final java.lang.String SCCSID
The SCCSID constant

See Also:
Constant Field Values
Constructor Detail

WSAEpr

public WSAEpr()
Method Detail

getNationalLang

public java.lang.String getNationalLang()
Gets the national language if previously set.

Returns:
String The national language used to build the addressing contexts.

setNationalLang

public void setNationalLang(java.lang.String natlang)
Sets the national language to use when building the addressing context. This must be set before MAP set methods are invoked.

Parameters:
natlang - The national language to use to build the addressing contects.

create

public java.lang.String create(java.lang.String address,
                               java.lang.String referenceParameters,
                               java.lang.String metadata)
                        throws InvalidRequestException,
                               CCSIDErrorException
Creates a WS-Addressing Endpoint Reference (EPR) using supplied data.

Parameters:
address - The URI that the EPR represents.
referenceParameters - parameters to identify a resource.
metadata - metadata to describe the EPR.
Returns:
String An EPR in XML format.
Throws:
CCSIDErrorException - An exception occurred translating charactersets.
InvalidRequestException - A problem exists with the request data.

create

public java.lang.String create(java.lang.String address,
                               java.lang.String referenceParameters)
                        throws InvalidRequestException,
                               CCSIDErrorException
Creates a WS-Addressing Endpoint Reference (EPR) using supplied data.

Parameters:
address - The URI that the EPR represents.
referenceParameters - Optional parameters to identify a resource.
Returns:
String An EPR in XML format.
Throws:
CCSIDErrorException - An exception occurred translating charactersets.
InvalidRequestException - A problem exists with the request data.

create

public java.lang.String create(java.lang.String address)
                        throws InvalidRequestException,
                               CCSIDErrorException
Creates a WS-Addressing Endpoint Reference (EPR) using supplied data.

Parameters:
address - The URI that the EPR represents.
Returns:
String An EPR in XML format.
Throws:
CCSIDErrorException - An exception occurred translating charactersets.
InvalidRequestException - A problem exists with the request data.