Tuesday, June 26, 2012

AggregatedXmlMessageValidationException and inbound-gateway

I wrote a mediation layer with spring integration for a system. Mediation layer validates, transform, signs and encrypts given xml and then route it to required target.

However client is right to complain about the failure message for an xml which does not validate against the xsd schema. I am using validating-filter with spring integration and ws client recieves following message on xsd validation failure:

In order to fix that add an error channel to ws inbound such:

And finally the logger; it logs the detail of the problem to log and also returns it to client; so he/she can fix her code for given problem:

1 comment:

  1. The effectiveness of IEEE Project Domains depends very much on the situation in which they are applied. In order to further improve IEEE Final Year Project Domains practices we need to explicitly describe and utilise our knowledge about software domains of software engineering Final Year Project Domains for CSE technologies. This paper suggests a modelling formalism for supporting systematic reuse of software engineering technologies during planning of software projects and improvement programmes in Final Year Project Centers in Chennai.

    Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Spring Framework Corporate TRaining the authors explore the idea of using Java in Big Data platforms.
    Specifically, Spring Framework provides various tasks are geared around preparing data for further analysis and visualization. Spring Training in Chennai