• Post Reply Bookmark Topic Watch Topic
  • New Topic

SOAP Message Validation  RSS feed

 
Smita S. Mutha
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using JAX-RPC web services and using WAS Toolkit for development.

I have mentioned valiadation rules (minoccurs/patterns,etc) in XSD of wsdl.

But the validations are not working.

Can someone please suggest. Do I need to change some setting. OR
I need to write SOAP handler.

How can I turn on the validations.

Please help!
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Smita,

Interesting thing!

The 'Java Web Services in a nutshell' book of O'Reilly gives a WSDL segment -




It then says -


Note, however, that while this constraint is useful as documentation for a human reader, it is not guaranteed that automatically generated code will check that BookType values received in messages actually satisfy the constraint.


Regards,
Dan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!