Results 1 to 3 of 3

Thread: Schema validation with multiple versions of a schema

  1. #1
    Join Date
    Jan 2009
    Posts
    4

    Default Schema validation with multiple versions of a schema

    I have a requirement to validate the schema of my web service request. I have looked at PayloadValidatingInterceptor (server side) and it would appear to meet my needs.

    However, the requirement is to also support multiple concurrent versions of the schema. So the incoming XML message could contain a message with any one of a number of versions of the schema. A <schemaVersion> element will tell me what version of the schema was used. Thus, I can't use PayloadValidatingInterceptor which only allows for one schema.

    What would be the best way to validate multiple concurrent versions of a schema with Spring WS?

  2. #2
    Join Date
    Apr 2008
    Posts
    21

    Default Same Problem

    It appears we have the same issue. I have two schemas with the same namespace and I need to validate against either schema based on an incoming ServiceType tag which I am getting the value from using xpath.

  3. #3
    Join Date
    Nov 2008
    Location
    Tunisia
    Posts
    67

    Default

    hi,
    it seems to me that the best way is to use the xpath expressions.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •