src/main/java/gov/usgs/cida/pubs/busservice/CrossRefBusService.java
protected void submitCrossRef(final MpPublication mpPublication, CloseableHttpClient httpClient) throws UnsupportedEncodingException, IOException, HttpException, URISyntaxException {
		String crossRefXml = getCrossRefXml(mpPublication);
		String url = buildCrossRefUrl();
		HttpPost httpPost = buildCrossRefPost(crossRefXml, url, mpPublication.getIndexId());
		HttpResponse response = performCrossRefPost(httpPost, httpClient);
		handleResponse(response);
	}
/**
	 * Builds Crossref XML for a publication and then submits it to Crossref web services.
	 * @param mpPublication Crossref XML is generated from this publication
	 * @param httpClient used to submit the publication's Crossref XML to Crossref web services
	 * @throws UnsupportedEncodingException
	 * @throws IOException 
	 * @throws org.apache.http.HttpException 
	 * @throws java.net.URISyntaxException 
	 */
Builds Crossref XML for a publication and then submits it to Crossref web services.
Builds Crossref XML for a publication and then submits it to Crossref web services .
protected void submitCrossRef(final MpPublication mpPublication, CloseableHttpClient httpClient) throws UnsupportedEncodingException, IOException, HttpException, URISyntaxException {
		String crossRefXml = getCrossRefXml(mpPublication);
		String url = buildCrossRefUrl();
		HttpPost httpPost = buildCrossRefPost(crossRefXml, url, mpPublication.getIndexId());
		HttpResponse response = performCrossRefPost(httpPost, httpClient);
		handleResponse(response);
	}
protected void submitCrossRef ( final MpPublication mpPublication , CloseableHttpClient httpClient ) throws UnsupportedEncodingException , IOException , HttpException , URISyntaxException { String crossRefXml = getCrossRefXml ( mpPublication ) ; String url = buildCrossRefUrl ( ) ; HttpPost httpPost = buildCrossRefPost ( crossRefXml , url , mpPublication . getIndexId ( ) ) ; HttpResponse response = performCrossRefPost ( httpPost , httpClient ) ; handleResponse ( response ) ; }
Builds Crossref XML for a publication and then submits it to Crossref web services.
Builds Crossref XML for a publication and then submits it to Crossref web services .