• Post Reply Bookmark Topic Watch Topic
  • New Topic

xml yes, ws no

 
Marko Debac
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!