Calling REST Service through CSP

255 views
Skip to first unread message

RR

unread,
Feb 25, 2016, 6:06:00 PM2/25/16
to InterSystems: Ensemble in Healthcare
Hi All,

I wanted to get xml data from an external system to a business service. Here is what I did.

1. Created a BS of type EnsLib.REST.GenericService .
2. Blanked out Port and set the pool size as 0 so that it will be listening through CSP Service.

But I am getting a HTTP 500 error when trying to post data to this. Appreciate any assistance.

Thanks,
Ramesh
 

Adam Lees

unread,
Feb 26, 2016, 3:40:45 AM2/26/16
to InterSystems: Ensemble in Healthcare
500 is an internal server error.  
What is recorded in your Event Log?  The error message should be illuminating.  

RR

unread,
Feb 26, 2016, 8:13:53 AM2/26/16
to InterSystems: Ensemble in Healthcare

Event log shows
HTTP/1.1 500 ERROR #5924: An error occurred and the specified error page could not be displayed - please inform the web master

Kevin Mayfield

unread,
Feb 27, 2016, 2:54:51 AM2/27/16
to InterSystems: Ensemble in Healthcare
Are you using the internal Caché web server or have set up another?

Are you getting the error from the business service or the web server.
I suspect it's the web server config that's not correct

Ramesh

unread,
Feb 27, 2016, 6:53:16 AM2/27/16
to Ensemble-in...@googlegroups.com

Its not reaching BS. We already have a csp server setup and I  created the web appllication which comes under /csp. Is there any IS document which I can refer for the iis setup?

--
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare Community" group.
To post to this group, send email to Ensemble-in...@googlegroups.com
To unsubscribe from this group, send email to Ensemble-in-Healt...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "InterSystems:  Ensemble in Healthcare" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/Ensemble-in-Healthcare/by2Pr-eDtaU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to Ensemble-in-Healt...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kevin Mayfield

unread,
Feb 28, 2016, 4:33:54 AM2/28/16
to InterSystems: Ensemble in Healthcare
If I remember correctly you shouldn't need to configure IIS or Apache Httpd in dev environments. 

I think we should have got the CSP Gateway working (chapter 1)





On Thursday, February 25, 2016 at 11:06:00 PM UTC, RR wrote:

RR

unread,
Feb 29, 2016, 5:31:59 PM2/29/16
to InterSystems: Ensemble in Healthcare
Thanks Kevin. The issue was with the url I tried to access the service.
I was using ..<web application name>/<configuration name>. I then tried ..<web application name>/?=<configuration name> and it worked.
Reply all
Reply to author
Forward
0 new messages