NCBC iTools - WSDL Interface Description
iTools Web-services Data language (WSDL) Interface Description
To utilize the iTools WSDL interface:
- Either use the interactive human-test: http://www.loni.ucla.edu/iToolssvc/
- Or, to really test it using a machine/program/tool:
- get the wsdl file from http://www.loni.ucla.edu/iToolssvc/webservices/resourcesFinder?wsdl
- save it to a local file say resourcesFinder.wsdl. The iTools? WSDL file wil not usually change
- you can test this WSDL file in many ways, e.g. from Eclispe, (you need install Web Tools Platform (WTP) plugin):
- right click the WSDL file then select Web Services->Test With Web Services Explorer
- you can also create a client to invoke this iTools webservice. The client can be written in ANY programming language (java/C++/etc) and using differrent frameworks. For example, from Eclispse, right click the wsdl file and select Web Services->Generate Client. Choose the default value at the showing up dialog by click Next untill you see Finished. It will create some java classes in a package org.soapinterop.
- modify the file named ResourcesFinderProxy, or just create a new class by add the following main method, and run it. You will get the same result.
public static void main(String[] args) {
ResourcesFinderProxy inst = new ResourcesFinderProxy();
try {
String string = inst.findResources('*', '*'); //'pipe', 'Name'
System.out.println(string);
} catch (RemoteException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
- Attached here is the created ResourcesFinderProxy.java, in case you don't want to install Eclipse WTP plugin. Unzip this archive to a directory, and copy all the jars from iTools-1.0/axis/WEB-INF/lib to the directory. Finally, run the command in the command.txt file, you should see the result printed out to your console.