aspose file tools
The moose likes Web Services and the fly likes xml yes, ws no 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 "xml yes, ws no" Watch "xml yes, ws no" New topic
Author

xml yes, ws no

Marko Debac
Ranch Hand

Joined: Aug 21, 2006
Posts: 121
Hi people,

I would like to have data from some sports bet site, and include them into my app, so I have search on some ws, but I have found only some xml http://www.expekt.com/export/odds_xml.jsp
what they offer.

Can I do something with that, because netbeabs wont retreve me that like wsdl?

by,
Marko
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12267
    
    1
What that url retrieves is not a SOAP message so WSDL is not what you want.

This is essentially a REST type service that returns a formatted XML document. You can open the HttpURLConnection and hand the input stream to any XML parser. Whether you want to get a DOM representation or use SAX depends on what you want to get out of that document. It will actually be a LOT easier than messing with SOAP which is why REST style attracts people.

Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: xml yes, ws no
 
Similar Threads
please help me this is very urgent
plzzzzzzzz help me
Eclipse settingn export / import
please help me this is very urgent
Axis Stock Quote Example