From c48a41150cf3fb5abc951e583f04f83ed901adfc Mon Sep 17 00:00:00 2001 From: bschnalzer Date: Mon, 13 Mar 2017 16:30:24 +0100 Subject: Update JUnitTest for new JAXB-Version --- bkucommon/src/test/java/moaspss/MOASPClient.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'bkucommon') diff --git a/bkucommon/src/test/java/moaspss/MOASPClient.java b/bkucommon/src/test/java/moaspss/MOASPClient.java index 4c5ec14c..24fad7e8 100644 --- a/bkucommon/src/test/java/moaspss/MOASPClient.java +++ b/bkucommon/src/test/java/moaspss/MOASPClient.java @@ -63,6 +63,7 @@ import com.sun.xml.bind.api.JAXBRIContext; import com.sun.xml.bind.api.RawAccessor; import com.sun.xml.bind.api.TypeReference; import com.sun.xml.bind.marshaller.NamespacePrefixMapper; +import com.sun.xml.bind.v2.model.runtime.RuntimeTypeInfoSet; import com.sun.xml.ws.api.model.SEIModel; import com.sun.xml.ws.developer.JAXBContextFactory; import com.sun.xml.ws.developer.UsesJAXBContextFeature; @@ -171,6 +172,20 @@ public class MOASPClient { public Bridge createBridge(TypeReference arg0) { return context.createBridge(arg0); } + + @Override + public QName getElementName(Class arg0) throws JAXBException { + return context.getElementName(arg0); + // TODO Auto-generated method stub + //return null; + } + + @Override + public RuntimeTypeInfoSet getRuntimeTypeInfoSet() { + // TODO Auto-generated method stub + //return null; + return context.getRuntimeTypeInfoSet(); + } }; } -- cgit v1.2.3