-
Jan 20th, 2011, 06:58 AM
#1
Web Service Client Marshaller Validation Problem
Hi,
I am using spring web services 2.0 for client, I am using "org.springframework.oxm.jaxb.Jaxb2Marshaller" for marshal and unmarshal, I am specifying schemas for validation, but if I specify more than necessary xsds for one operation I receive marshalling exception,
org.springframework.oxm.MarshallingFailureExceptio n: JAXB marshalling exception; nested exception is javax.xml.bind.MarshalException
- with linked exception:
[org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element....
There are a lot of threads about this subject but I couldnt find any solution. Most probably I will seperate operations, each operation in different web service template and there will be more than one marshaller.
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