Announcement Announcement Module
Collapse
No announcement yet.
Web Service Client Marshaller Validation Problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.
Working...
X