This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Services and the fly likes web service validation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "web service validation" Watch "web service validation" New topic
Author

web service validation

Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

May i know if there is any validation framework exclusively or inclusively for web services?


if not, may i know how to do validations in web services.


Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35252
    
    7
What exactly do you mean by "validation"?


Android appsImageJ pluginsJava web charts
Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

i have no idea about web services, but i was given a work to find any framework or another thing which can be used to validate the web services.


thanks in advance.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35252
    
    7
I suggest to find out what whoever suggested to "use a framework" or "validate a web service" meant by that, because neither phrase has a clear, well-defined meaning in the web service world.
Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

hey, did you mean there is nothing like validation in the web services world? as in we have both client side and server side validations in the web tier , business tier.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56214
    
  13

Of course data being sent to a web service needs validation just like any other input data. But, the term "validate a web service", doesn't bring that to mind.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2906
Rauhl Roy wrote:did you mean there is nothing like validation in the web services world?

For performance reasons validation only occurs between a consumer and provider when a trust boundary is crossed. If you control both the consumer and provider it makes more sense to sanitize any input on the consumer side before it is included in a web service request. When a trust boundary is crossed a document/literal (Which style of WSDL should I use?) SOAP web service can simply use a validating parser in a handler hooked into the incoming message handler chain to verify that the SOAP payload is valid in reference to the XML Schema that used is in the WSDL (the web services contract).

See also Axis 1.4 does not validate input parameters?.


"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: web service validation
 
Similar Threads
web service basic questions
How to pass Java vector to a web service using Apache AXIS
[Doug Dunn] Web Services.
XML parser, schema, validation
Certification Books/ Material