May 19th, 2011, 05:16 AM
Having unique Jaxb2Marshaller bean for each endpoint in Spring-ws with PayloadR
I am using PayloadRootQNameEndpointMapping to map QName to endpoint in Spring-ws and JAXB2. I have multiple endpoints and mutiple schemas with same namespaces. Now i created a single jaxb2Marshaller bean by loading all schema files into one. But i am unable to use this single jaxb2Marshaller with all endpoints. IF i provide separate jaxb2Marshaller bean id for each endpoint its working fine, but if i provide only one marshaller, client is giving SAXParseException. I unable to figure out what is happening.