package net.ihe.xcpd.init.transport;

/**
 * 
 * @author abderrazek boufahja
 *
 */
public interface XUAConstants
{

    
    public static final String WS_TRUST_NS_URL = "http://docs.oasis-open.org/ws-sx/ws-trust/200512";
    
    public static final String WS_SERVER_RESP_URL = "urn:hl7-org:v3";
    
    public static final String WS_ACTION_XUSER = WS_TRUST_NS_URL + "/RST/Issue";

    public static final String WS_SECURITY_NS_URL = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";

    public static final String WS_SECURITY_NS_PREFIX = "wsse";

    public static final String WS_SECURITY_ELEMENT_NAME = "Security";
    
    public static final String WS_SERVER_REQUEST_HEADER = 
        "<wsse:Security xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\">__ASSERTION__</wsse:Security>"; 
    
    public static final String SOAP_TEMPLATE = "<soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\" " +
    		                        "xmlns:a=\"http://www.w3.org/2005/08/addressing\">"+
                "<soap:Header>" +
                "__RequestedSecurityToken__" +
                "<a:Action>urn:hl7-org:v3:PRPA_IN201305UV02:CrossGatewayPatientDiscovery</a:Action>" +
                "<a:MessageID>urn:uuid:__UUID__</a:MessageID>" +
                "<a:ReplyTo>" +
                "<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>" +
                "</a:ReplyTo>" +
                "<a:To>__ENDPOINT__</a:To>" + 
                "</soap:Header>"+
                "<soap:Body>__BODY__</soap:Body></soap:Envelope>";
    
}
