Versions Compared

Key

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

...

  1. Open a web browser on the same machine that you installed Tomcat on, and go to
    1. http://localhost:8080/opencds-decision-support-service/evaluate?wsdl
    2. The browser should display the WSDL.
    3. If it is installed on a different machine, or you changed the default port to something different than 8080, make the appropriate changes to the URL above.
  2. To interact with the DSS, a convenient program to use for testing and demo is the oXygen XML editor (http://www.oxygenxml.com).  We use the Academic/Non-Commercial version, and a free trial license is available at http://www.oxygenxml.com/register.html.
    1. Example testing using Oxygen

      To test the service, download the bounce WSSC file from the OpenCDS website.  This request sends information to OpenCDS. OpenCDS processes the request and sends information back to you (hence 'bounce').  Note:  you must use the URL for your own installed copy of OpenCDS, e.g.: http://localhost:8080/opencds-decision-support-service/evaluate

      Open the SOAP Analyzer > 'Saved SOAP Requests' tab > enter the location of the WSSC file. When the WSDL SOAP Analyzer appears, a request with all needed information will be ready to send. Hit the 'Send' button, after a brief period the response section will be populated with a response. Tada, it works! Magic! Your first OpenCDS request!

      Image Added

  3. Other tools are available, and some are open-source, such as SoapUI at http://www.soapui.org , or the Firefox addon at https://addons.mozilla.org/en-US/firefox/addon/soa-client, for those of you who want to experiment.
  4. You can also use the open-source MirthConnect software to test rules, as well as in a production environment, because it includes support for web services.  The software can be found at http://www.mirthcorp.com/products/mirth-connect.  We have some sample channels available in the Demo folder.
  5. If you are using oXygen, go to Tools → WSDL SOAP Analyzer → Saved SOAP request, and use the sample .wssc files available from the OpenCDS website | Members | Binary Downloads | OpenCDS11.  Hitting the "Send" button will interact with the DSS.  Note that a base64 converter for reading base64 payloads is available at http://ostermiller.org/calc/encode.html or http://www.opinionatedgeek.com/DotNet/Tools/Base64Encode/default.aspx