-
May 31st, 2012, 04:37 PM
#1
PayloadValidatingInterceptor throws cvc-elt.1: Cannot find the declaration of element
I have a 5 different WSDLs and their corresponding XSDs. I created a class WebservicePayloadValidator extended from org.springframework.ws.client.support.interceptor. PayloadValidatingInterceptor and override the handleResponseValidationErrors(..) to throw an exception in case of invalid response. Now it is keep throwing following exception:
cvc-elt.1: Cannot find the declaration of element 'ser:AuthenticateUserNoLookupResponse'.
I am just validating my responses. And I verified that all my WSDLs and XSDs are valid. I looked around for the solution but none of them worked for me. Can someone please give me some hint of its root cause and if possible solution too?? Let me know if someone need more code insight.
Thanks,
Vandan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules