1. Home
  2. Knowledge Base
  3. Software
  4. SDK
  5. Using Java with the EIOBoard SDK

Using Java with the EIOBoard SDK

Java does not support .NET Recordsets, so different functions of our webservice must be used to return the data in Array’s compatible with Java.

Download the sample
https://downloads.eioboard.com/SDK/EIOBoardSDKSample.zip

https://downloads.eioboard.com/SDK/java_sample.zip

Requirements to run the sample:
JRE6 to the run test application, you can download it from the following link:
http://javadl.sun.com/webapps/download/AutoDL?BundleId=33889

What’s Included

  • Src – contains the java source code which the webservice consumers can use as a reference.
  • Bin – contains the jar file which works like an executable and a batch file to make a sample call to the webservice.

Running the Sample
The batch file contains the following command:
java -jar TestEIOBoard.jar http://192.168.12.11/ebservicejava/service.asmx?wsdl

To run it against your webservice, you will want to use the url of your webservice and keep the “?wsdl” marked in yellow.

For example, if EIOBoard is installed on EIOBoardServer in a virtual directory called EIOBoard using the default webservice folder, you would adjust the command to be:
java -jar TestEIOBoard.jar http://EIOBoardServer/EIOBoard/WebService/service.asmx?wsdl

Finally, run the bat file and it should contact the webservice and get you a list of all of your contacts as a demonstration.

Notes
Netbeans was used to develop the tester using JAX-WS, with the wsimport.exe command line tool that is shipped with java to generate the proxy classes to contact the webservice.

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support