• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Validations in WebServices

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends

I wanted to discuss regarding how the validations are done in webservices.
I am exposing methods present in the session beans as a webservice.
I have written a Handler/Delegate class where i do the necessary conversions for the method return types and parameters.

we�re now bypassing the input validation that may or may not exist in the UI layer, by going directly against the entities.So i wanted to know where these validations need to be done now as it is very critical senario.
should this be handled in the Session Bean methods, Delegate layer or in the WSDL itself.

Please let me know about the procedure of how this is done in case any one of you have already implemented the same.
waiting for a positive reply from your side.

Regards
Vikram K
 
Ranch Hand
Posts: 641
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The first level of validation should be done in the XMl schema itself.
 
I'm sure glad that he's gone. Now I can read this tiny ad in peace!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic