aspose file tools*
The moose likes Web Services and the fly likes web service validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
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: 39547
    
  27
What exactly do you mean by "validation"?


Ping & DNS - updated with new look and Ping home screen widget
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: 39547
    
  27
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: 60050
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by 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://aspose.com/file-tools
 
subject: web service validation
 
Similar Threads
XML parser, schema, validation
web service basic questions
Certification Books/ Material
[Doug Dunn] Web Services.
How to pass Java vector to a web service using Apache AXIS