easysoa / EasySOA

A light, collaborative platform to make Service Oriented Architecture simple.
http://www.easysoa.org
35 stars 8 forks source link

Improve web discovery to get more results #123

Open mdutoo opened 12 years ago

mdutoo commented 12 years ago

1. add some WS samples to web discovery home :

http://footballpool.dataaccess.eu/data/info.wso => http://footballpool.dataaccess.eu/data/info.wso?WSDL http://webservices.daehosting.com/services/ http://services.unitedplanet.de/blz/BlzService.asmx?WSDL

(and a few others from https://predic8.com/svn/membrane/registry/trunk/servicelist.text )

2. improve scraping :

In ScrapingStrategy, also check whether found links match a (LATER configurable) compiled regexp and then add to found services the url with an added ending ?WSDL. Regexp must match : .wso, .asmx

3. LATER add smart (local) spidering :

Read https://github.com/easysoa/EasySOA/wiki/Service-finder-strategies-reference

support HTTP anchor (#)

by not scraping those links and rather using the top level page url.

Suggest better names in more cases

For now, it only extracts from WSDL the "name". If none, try getting service/@name , portType/@name (or binding/@name) ().

LATER Support interfaces-only or buggy wsdl

See examples at http://www.w3.org/2002/ws/ra/ . Ex. : missing version, web discovery gets back HTML or XSD instead of WSDLs.

LATER with new model, separate interface (signature) from endpoint (and binding = technology). LATER also get and store .xsd (schemas).

Buggy wsdl :