How to enable REST Support on PMService

690 views
Skip to first unread message

colin he

unread,
Mar 9, 2011, 9:31:45 AM3/9/11
to i2b2 Install Help
Hello,

PMService cell is installed, we can use web client to access it. But
when I use workbench to access it, the following error captured:

"i2be is not associated with this domain i2b2demo, please check".

I used the following URL to check PMService's availability

http://localhost:9090/i2b2/services/PMService/

But I got following message:

"Please enable REST support in WEB-INF/conf/axis2.xml and WEB-INF/
web.xml"

I went to i2b2.war, enabled REST support. And restarted JBoss, but it
does not work.

Here is my workbench's properties file:
writeTimelineFile=yes
applicationName=i2b2
messageversion=1.1
demoUser=yes
I2b2.1=HarvardDemo,REST,http://services.i2b2.org/PM/rest/PMService/
#I2b2.2=YourSite,REST,http://tomcatHost:tomcatPort/axis2/rest/
PMService/
I2b2.2=i2b2,REST,http://localhost:9090/i2b2/services/PMService/

Here are my two questions:
1. How to enable REST support
2. Is there anything wrong in my workbench's properties file? Or
something wrong on other places?

Thanks,

Mendis, Michael E.

unread,
Mar 9, 2011, 1:49:52 PM3/9/11
to i2b2 Install Help
Try using this in your properties file:
I2b2.2=i2b2demo,REST,http://localhost:9090/i2b2/services/PMService/

By default is uses the REST support. You had i2b2 instead of i2b2demo, this is
the domain to use.

-mike

http://localhost:9090/i2b2/services/PMService/

Thanks,

The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

colin he

unread,
Mar 11, 2011, 1:23:03 AM3/11/11
to i2b2 Install Help
After this change, it is working.

Thanks,
> contains patient information, please contact the Partners Compliance HelpLine athttp://www.partners.org/complianceline. If the e-mail was sent to you in error
> but does not contain patient information, please contact the sender and properly
> dispose of the e-mail.- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages