static Element toCtxt(SoapProtocol protocol, String authToken, boolean noSession) { Element ctxt = protocol.getFactory().createElement(CONTEXT); if (authToken != null) ctxt.addAttribute(E_AUTH_TOKEN, authToken, Element.DISP_CONTENT); if (noSession) ctxt.addUniqueElement(E_NO_SESSION);
static Element toCtxt(SoapProtocol protocol, String authToken, String targetAccountId, boolean noSession) { Element ctxt = toCtxt(protocol, authToken, noSession);  if (targetAccountId != null) { Element acctElt = ctxt.addUniqueElement(E_ACCOUNT); acctElt.addAttribute(A_BY, "id"); acctElt.setText(targetAccountId); }
	static Element toCtxt(SoapProtocol protocol, String authToken, boolean noSession) {		Element ctxt = protocol.getFactory().createElement(CONTEXT);		if (authToken != null)			ctxt.addAttribute(E_AUTH_TOKEN, authToken, Element.DISP_CONTENT);        if (noSession)            ctxt.addUniqueElement(E_NO_SESSION);		return ctxt;	}