Announcement Announcement Module
Collapse
No announcement yet.
Exception mappings Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Exception mappings

    I'm working in a spring web services (soap) application that works with some endpoints and quartz, this application located at jBoss.

    Now, I need to read messages with no-soap content, only HTTP headers.
    I tried to extend the SimpleMappingExceptionResolver, because an exception raises when I send an empty soap-information.


    Code:
    package interceptors;
    
    import org.springframework.web.servlet.handler.SimpleMappingExceptionResolver;
    
    public class DetectorVacios extends SimpleMappingExceptionResolver {
    
    	public DetectorVacios(String message) {
            System.out.println("Deteccion de mensajes vacios");
        }
    }
    I think in two ways:

    -I'm wrong when think in work with SimpleMappingExceptionResolver
    -I've error-configured this exception resolver

    Any ideas? Can somebody help me? Thanks in advance
Working...
X