public PhotoInfo[] GetPhotos(int orderID) { assertConnected(); try { string photoListXml = wsClient.GetPhotos(accessToken(), orderID); return(PhotoInfo.ParsePhotosXml(photoListXml)); } catch (Exception ex) { throw TranslateException(ex); } }