Created
April 27, 2015 13:16
-
-
Save jonashackt/379e23e68096c39e2b57 to your computer and use it in GitHub Desktop.
JAXBDataBinding Spring-Configuration Bean, which should be set to the Apache CXF Endpoint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Bean | |
public JAXBDataBinding jaxbDataBinding() { | |
JAXBDataBinding jaxbDataBinding = new JAXBDataBinding(); | |
Map<String,String> namespaceMap = new HashMap<String, String>(); | |
namespaceMap.put("http://ws.cdyne.com/WeatherWS/", "weather"); | |
jaxbDataBinding.setNamespaceMap(namespaceMap); | |
return jaxbDataBinding; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment