wiki:i2b2 HowTo Switch on Web Services

Version 9 (modified by shajid.issa, 13 years ago) ( diff )

--

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

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

ProjectManagement.aar FRC.aar Ontology.aar QueryProcessor.aar version.aar Workplace.aar

(place them in svn)

Step 3

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

Note: See TracWiki for help on using the wiki.