public XmlElement Process(XmlDocument input) { var client = clientFactory.CreateProcessXmlClient(session.ClusterUrl); var header = new TwinfieldProcessXmlService.Header { SessionID = session.SessionId }; var result = Process(client, header, input); if (!result.IsSuccess()) { throw new ProcessXmlException(result); } return(result); }