aspose file tools
The moose likes Web Services and the fly likes When to use wsdl vs regular old scraping ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "When to use wsdl vs regular old scraping ?" Watch "When to use wsdl vs regular old scraping ?" New topic
Author

When to use wsdl vs regular old scraping ?

jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
Hi guys : I guess I'm kind of old school. When I need data from a web source, I write code to parse it. If its XML, I use an XML library.

When and why are REST and WSDL needed ?

I just saw a .wsdl description for a sight which I manually parse data from, and I'm wondering if I can use it to clean up my code ?
Ivan Krizsan
Bartender

Joined: Oct 04, 2006
Posts: 2193
Hi!
The key answer to your question is tooling, I believe.
There are tools that can generate proxy classes etc from WSDL and WADL (?) documents.
This saves considerable time and greatly reduce the risk for buggy code.
Personally, I would never consider writing that kind of code by hand, except for perhaps as a learning exercise.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
 
jQuery in Action, 2nd edition
 
subject: When to use wsdl vs regular old scraping ?
 
Similar Threads
xml parsing from a string
Web Service *Client*
validate schema in DOM
Match XML data value with the mysql database
xml parsing from a string