// Find navigation first
NodeContext<?> context = NavigationUtils.loadNode(navigationService, navigationService.loadNavigation(siteKey),
navigationKey.getNavUri());
if (context == null)
throw new ResourceNotFoundException("Navigation node not found for navigation uri '" + navUri + "'");
BindingProvider bindingProvider = operationContext.getBindingProvider();
Marshaller<PageNavigation> marshaller = bindingProvider.getMarshaller(PageNavigation.class, ContentType.XML);
NavigationExportTask exportTask = new NavigationExportTask(navigationKey, navigationService, descriptionService,