/** Returns the {@code Unmarshaller} used by the gateway. */ public final Unmarshaller getUnmarshaller() { return webServiceTemplate.getUnmarshaller(); }
/** Returns the {@code Unmarshaller} used by the gateway. */ public final Unmarshaller getUnmarshaller() { return webServiceTemplate.getUnmarshaller(); }
/** Returns the {@code Unmarshaller} used by the gateway. */ public final Unmarshaller getUnmarshaller() { return webServiceTemplate.getUnmarshaller(); }
/** Returns the <code>Unmarshaller</code> used by the gateway. */ public final Unmarshaller getUnmarshaller() { return webServiceTemplate.getUnmarshaller(); }
public Object extractData(WebServiceMessage response) throws IOException { Unmarshaller unmarshaller = getUnmarshaller(); if (unmarshaller == null) { throw new IllegalStateException( "No unmarshaller registered. Check configuration of WebServiceTemplate."); } return MarshallingUtils.unmarshal(unmarshaller, response); } });
public Object extractData(WebServiceMessage response) throws IOException { Unmarshaller unmarshaller = getUnmarshaller(); if (unmarshaller == null) { throw new IllegalStateException( "No unmarshaller registered. Check configuration of WebServiceTemplate."); } return MarshallingUtils.unmarshal(unmarshaller, response); } });
public Object extractData(WebServiceMessage response) throws IOException { Unmarshaller unmarshaller = getUnmarshaller(); if (unmarshaller == null) { throw new IllegalStateException( "No unmarshaller registered. Check configuration of WebServiceTemplate."); } return MarshallingUtils.unmarshal(unmarshaller, response); } });
public Object extractData(WebServiceMessage response) throws IOException { Unmarshaller unmarshaller = getUnmarshaller(); if (unmarshaller == null) { throw new IllegalStateException( "No unmarshaller registered. Check configuration of WebServiceTemplate."); } return MarshallingUtils.unmarshal(unmarshaller, response); } });
@Override public T extractData(Source src) throws IOException, TransformerException { try { Object object = ((ItcbJaxb2Marshaller)getWebServiceTemplate().getUnmarshaller()).getUnmarshaller().unmarshal(src, clazz); if(object instanceof JAXBElement) { return (T)((JAXBElement)object).getValue(); } else { return (T)object; } } catch (JAXBException e) { throw new TransformerException(e); } }
try { fis = new FileInputStream(file); return webServiceTemplate.getUnmarshaller().unmarshal(new StreamSource(fis)); } finally { fis.close();