Versions Compared

Key

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

...

The epsos-web can run in any web container, Tomcat6 is currently used. Or with a easy to develop container bundled in called jetty. To test that epSOS-Web works you can easly do that with the mocked web. Here is a fast example on how to do that. Remember this is mocked. Run this command.

mvn -DserviceFacadeClass=se.sb.epsos.web.service.mock.NcpServiceFacadeMock jetty:run

epSOS-Web will now be located under http://localhost:8080 You can check it out and get the feeling of how it is to use epSOS-Web now. You can try to get ePrescription from the patient 192405038569 from Sweden. That person is mocked and should work. If you want to test to go against a real openNCP you need to have the openNCP started somewhere. Intallation guide for openNCP can be found here OpenNCP Installation Manual (deprecated, since 2015-10-29) . Then you need to set the the properties "client-connector-wsdl-url" to the path that your openNCP is listening to. And you also need to define some other properties located in "Prepare your application server". When that is done you can test to access it with the following command if you want.

mvn jetty:run

...