Spring Exceptions and Errors

I am learning how spring works so as a reference for myself here are some errors and or exceptions that have had me wondering whats going on. While working through Brians excellent Java Blog for Spring novices, I tried setting up his Service but customised to my own applications needs.


  1. Endpoint mapping [org.springframework.ws.soap.server.endpoint.mapping.SoapActionAnnotationMethodEndpointMapping@25dad8eb] has no mapping for request  – Cause by having the wrong payload root localpart set in the endpoint java class.

JAXB Exceptions Errors

org.xml.sax.SAXParseException: The processing instruction target matching “[xX][mM][lL]” is not allowed.

You cant have spaces before the start of your XML schema.