Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Swordfish Documentation: registry interface"
m (→Response) |
(Clarification about the base URL) |
||
Line 22: | Line 22: | ||
</wsdlList> | </wsdlList> | ||
</pre> | </pre> | ||
+ | |||
+ | The URL's are relative to the URL of the document. | ||
=== Improvements === | === Improvements === | ||
* Make the query syntax more generic and allow combinations of query paramters | * Make the query syntax more generic and allow combinations of query paramters | ||
* Use the the Atom format to return the result set of the query | * Use the the Atom format to return the result set of the query |
Revision as of 09:03, 26 February 2009
Searching WSDL
At the moment WSDL's can be queried according to two criteria
- Retrieve all WSDL's that contain a portType element with a specific fully qualified name.
- Retrieve all WSDL's that contain a service, which implements a specific portType.
Query Syntax
To retrieve WSDL's use the the GET Method and the endpoint http://{registry host & port}/wsdl. For the the first kind of search use the following query parameters
http://{registry host & port}/wsdl?type=portType&targetNamespace={target namespace}&name={local name}
for the second query
http://{registry host & port}/wsdl?type=service&refPortTypeNamespace={target namespace}&refPortTypeName={fully qualified name}
Response
The response of the query is a list of links to WSDL's matching the criteria, which has the following format:
<wsdlList> <url>./sample_1.wsdl</url> <url>./sample_2.wsdl</url> ... </wsdlList>
The URL's are relative to the URL of the document.
Improvements
- Make the query syntax more generic and allow combinations of query paramters
- Use the the Atom format to return the result set of the query