wiki:i2b2 HowTo Switch on Web Services

Version 13 (modified by Richard Bramley, 8 years ago) ( diff )

--

i2b2 HowTo Switch on Web Services

Tags: i2b2 HowTo

Not sure what this refers to, but it might be important

Introduction

The out of the box VM setup for i2B2 has its web services definition (wsdl) switched 'off' by default.

To enable the WSDL, the following steps must be taken

Procedure

Step 1

Edit the file /opt/jboss-4.2.2.GA/server/default/deploy/i2b2.war/WEB-INF/conf/axis2.xml to

<messageReceivers>
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
</messageReceivers>

Step 2

Overwrite the files in the directory /opt/jboss-4.2.2.GA/server/default/deploy/i2b2.war/WEB-INF/services

There are 6 files to overwrite:

(place them in svn)

Step 3

The directories below are not necessarily correct. It depends on where i2b2 is installed`

  1. Stop server: /opt/jboss-4.2.2.GA/bin/shutdown.sh -S
  2. Start server: /opt/jboss-4.2.2.GA/bin/run.sh -b 0.0.0.0 &

Error: Macro BackLinks(None) failed
'Environment' object has no attribute 'get_db_cnx'

Note: See TracWiki for help on using the wiki.