diff --git a/src/main/java/org/hl7/fhir/tools/converters/CKMImporter.java b/src/main/java/org/hl7/fhir/tools/converters/CKMImporter.java index 681a5c1..d96eb87 100644 --- a/src/main/java/org/hl7/fhir/tools/converters/CKMImporter.java +++ b/src/main/java/org/hl7/fhir/tools/converters/CKMImporter.java @@ -4,6 +4,7 @@ import java.io.File; import java.io.InputStream; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import javax.xml.parsers.DocumentBuilder; @@ -105,7 +106,7 @@ private void processArchetype(String id) throws Exception { } private Document loadXml(String address) throws Exception { - HTTPResult res = ManagedWebAccess.get("application/xml"); + HTTPResult res = ManagedWebAccess.get(Arrays.asList("web"), "application/xml"); res.checkThrowException(); InputStream xml = new ByteArrayInputStream(res.getContent()); diff --git a/src/main/java/org/hl7/fhir/tools/publisher/ExampleInspector.java b/src/main/java/org/hl7/fhir/tools/publisher/ExampleInspector.java index df4e9a5..3a04ad9 100644 --- a/src/main/java/org/hl7/fhir/tools/publisher/ExampleInspector.java +++ b/src/main/java/org/hl7/fhir/tools/publisher/ExampleInspector.java @@ -8,6 +8,7 @@ import java.net.MalformedURLException; import java.net.URISyntaxException; import java.util.ArrayList; +import java.util.Arrays; import java.util.EnumSet; import java.util.HashMap; import java.util.HashSet; @@ -658,7 +659,7 @@ public IValidatorResourceFetcher setLocale(Locale locale) { @Override public byte[] fetchRaw(IResourceValidator validator, String source) throws MalformedURLException, IOException { - org.hl7.fhir.utilities.http.HTTPResult res = ManagedWebAccess.get(source); + org.hl7.fhir.utilities.http.HTTPResult res = ManagedWebAccess.get(Arrays.asList("web"), source); res.checkThrowException(); return res.getContent(); }