Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "SOAP-based Providers"

Line 7: Line 7:
 
The example is currently located on the [http://ecf1.osuosl.org ECF OSUOSL] site.  Here's the CVS information for this site:
 
The example is currently located on the [http://ecf1.osuosl.org ECF OSUOSL] site.  Here's the CVS information for this site:
  
 +
<pre>
 
anonymous:  :pserver:anonymous@ecf1.osuosl.org:/ecf
 
anonymous:  :pserver:anonymous@ecf1.osuosl.org:/ecf
 
 
extssh:  :extssh:ecf1.osuosl.org:/home/cvs/ecf
 
extssh:  :extssh:ecf1.osuosl.org:/home/cvs/ecf
  
 
modules:   
 
modules:   
 +
examples/bundles/org.eclipse.ecf.examples.remoteservices.dictionary.common
 +
examples/bundles/org.eclipse.ecf.examples.provider.dictionary.soap.client
 +
examples/bundles/org.eclipse.ecf.examples.tests.remoteservices.dictionary.soap.client
 +
</pre>
  
'''examples/bundles/org.eclipse.ecf.examples.remoteservices.dictionary.common'''
+
These three example bundles depend upon several of the ECF sdk bundles, these can be retrieved via the [http://www.eclipse.org/ecf/dev_resources.php instructions on this page].
'''examples/bundles/org.eclipse.ecf.examples.provider.dictionary.soap.client'''
+
'''examples/bundles/org.eclipse.ecf.examples.tests.remoteservices.dictionary.soap.client'''
+
 
+
These depend upon several of the ECF sdk bundles, these can be retrieved via the [http://www.eclipse.org/ecf/dev_resources.php instructions on this page].
+
  
 
Below is a short description of how this provider was created.
 
Below is a short description of how this provider was created.

Revision as of 00:25, 17 January 2010

With ECF 3.2, it's possible to easily create client providers that implement SOAP-based protocols.

Below is an example of doing this for an existing SOAP-based dictionary service.

First, the dictionary service is located here. It's a simple dictionary service...given a word, it returns the definitions available for that word (there are other functions in the API, but for the purposes of simplifying this example only the definition retrieval service will be implemented). The Web Service Discription Language description of this service is available here.

The example is currently located on the ECF OSUOSL site. Here's the CVS information for this site:

anonymous:  :pserver:anonymous@ecf1.osuosl.org:/ecf
extssh:  :extssh:ecf1.osuosl.org:/home/cvs/ecf

modules:  
examples/bundles/org.eclipse.ecf.examples.remoteservices.dictionary.common
examples/bundles/org.eclipse.ecf.examples.provider.dictionary.soap.client
examples/bundles/org.eclipse.ecf.examples.tests.remoteservices.dictionary.soap.client

These three example bundles depend upon several of the ECF sdk bundles, these can be retrieved via the instructions on this page.

Below is a short description of how this provider was created.

  1. Define the service API and create a 'common' bundle for it. If the dictionary service, the dictionary OSGi service was defined as
public interface IDictionary {

	public WordDefinition define(String word);
	
}

Back to the top