{
o = getDelayedResultCallback((DelayedResult)payload);
}
else if (payload instanceof XMLStreamReader)
{
o = new XMLStreamWriterCallback()
{
public void write(XMLStreamWriter writer) throws Fault, XMLStreamException
{
XMLStreamReader xsr = (XMLStreamReader)payload;
StaxUtils.copy(xsr, writer);