EPRHelper.toXML(out, XMLUtil.QNAME_REPLY_TO_TAG, call.getReplyTo());
}
if (call.getRelatesTo() != null)
{
final URIElement actionElement = new URIElement(call.getRelatesTo()) ;
StreamHelper.writeElement(out, XMLUtil.QNAME_RELATES_TO_TAG, actionElement) ;
}
if (call.getFaultTo() != null)
{
EPRHelper.toXML(out, XMLUtil.QNAME_FAULT_TO_TAG, call.getFaultTo());
}
if (call.getAction() != null)
{
final URIElement actionElement = new URIElement(call.getAction()) ;
StreamHelper.writeElement(out, XMLUtil.QNAME_ACTION_TAG, actionElement) ;
}
if (call.getMessageID() != null)
{
final URIElement messageIdElement = new URIElement(call.getMessageID()) ;
StreamHelper.writeElement(out, XMLUtil.QNAME_MESSAGE_IDENTIFIER_TAG, messageIdElement) ;
}
}