| 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
|
|
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
|
 |
 |
|
|
subject: xml yes, ws no
|
|
|