Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Before starting the client will require the following library: xfire-all-1.2.5.jar. This library can be found in the bin directory of the FEWS system.h.3

Setting up a connection

...

Code Block

ObjectServiceFactory serviceFactory = new ObjectServiceFactory();

...


Service service = serviceFactory.create(FewsPiService.class);

...


XFireProxyFactory proxyFactory = new XFireProxyFactory();

...


 //port Number must be equal to the number configured in the Explorer.xml

...


int portNumber = 8100;

...


//localhost can be replaced by the ip address of the machine on

...

 which the FEWS system is running.

...


FewsPiService serviceProxy = (FewsPiService) proxyFactory.create(service, "http://localhost:" + portNumber + "/FewsPiService");

...


Appendix

FewsPiService API

...