Payloadvalidatinginterceptor example gadget feeds not updating
Using Soap Fault Mapping Exception Resolver for different endpoints I'd like a different faultstring for each mapping that I have defined.
Hi, I'm using the Payload Validating Interceptor to validate my SOAP messages, however, the following error appears in the log file: Code: XML validation error on response: cvc-complex-type.2.4.a: Invalid content was found starting ...I managed to reproduce the issue - check out https://github.com/stuchl4n3k/sws-176 It seems, that when using a bit more complex schema (imports, includes, inheritance, ...) may trigger this [email protected] stuchlick - Petr, what do you mean by "using an extra Payload Validating Interceptor bean for each WS XSD" ?in the example below if i send a request that needs to use the Location file i get "2007-08-24 ,015 WARN endpoint.interceptor.Payload Validating Interceptor - XML validation error on request: cvc-elt.1: Cannot find the declaration of element 'm: Get Distance Request'.: m: Get Distance Request' is a root element of the Location file.
Here’s the XSD provided in the Spring-WS POX example. It tells us that a Contact List can have zero or more Contact elements, and that each Contact can optionally contain Name and Phone strings.