> Great. I'm sorry but I haven't seen a sample .. can someone post the
> XForms equivalent of the WSDL 2.0 description of a part of Yahoo's
> search service as documented by Dave Orchard at [1]?
This is an (untested) XForm model that could be used to interact with
the Yahoo service. I didn't use Dave's WSDL, since it's not
authoritative. I just worked from what was described here;
http://developer.yahoo.com/search/rest.html
<xforms:model xmlns:xforms="http://www.w3.org/2002/xforms"
xmlns:y="some-yahoo-uri">
<xforms:instance>
<QueryTerms>
<appid>sample-appid</appid>
<query>sample-query-string</query>
</QueryTerms>
</xforms:instance>
<xforms:submission method="GET" includenamespaceprefixes="y"
action="" href="http://api.search.yahoo.com/WebSearchService/V1/webSearch">http://api.search.yahoo.com/WebSearchService/V1/webSearch"/>
</xforms:model>
I made up "QueryTerms". Due to the nuances of the XForms URI
serialization algorithm, the root element name of the instance isn't
serialized, hence its name is immaterial. But the URI that will be
created will be valid per the Yahoo search API description.
Mark.
SPONSORED LINKS
| Computer software | Computer aided design software | Computer job |
| Soa | Service-oriented architecture |
YAHOO! GROUPS LINKS
- Visit your group "service-orientated-architecture" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
