Len Goodkin · Sep 23, 2022 go to post

Does it work with something like Postman? I'd probably look at it with something like JOBEXAM to see what line of code it is executing. Maybe there is something specific browser based that it is passing that you have to define explicitly in the HTTP request.  Also suggest to try in a later Cache or IRIS version.
If you need help debugging feel free to open a WRC case with us.

-Len

Len Goodkin · Feb 6, 2020 go to post

Hi Scott,

These are all great questions.  I would recommend watching the the learning services video Configuring CSP gateway for IIS, this will give you a general understanding of the CSP architecture.

It maybe worthwhile for you to contact our WRC support who can provide you additional guidance on some of your questions.

Regards,

-Len

Len Goodkin · Oct 2, 2018 go to post

Hi Brian,

This maybe fixed by CMT1677 - Correct a fault that led to spurious event log messages (incorrectly) warning about the absence of an HTTP request method.  We would need to take a closer look to see if this is the case or not.  When you get a chance please open a WRC case or give us a call (+1 617 621 0700) and we will have someone investigate.  CMT1677 is currently not in any released version of our products.

Len Goodkin · Sep 20, 2018 go to post

Hello Mohan,

The relevant section of how to configure the CSP Gateway with Apache on a Mac is described here.  If you run into problems following these instructions feel free to give the World Response Center a call and someone will be able to assist you, +1-617-621-0700.

Len Goodkin · Jul 23, 2018 go to post

Internal Server Error could be caused by a number of things.  It is an error returned back by either the Web Server or CSP Gateway.  The WRC can help guide you to collect the information that will help in diagnosing this error the next time it happens.

Things to look at are CSP.log, ^%ISCLOG, and developer browser tools.

Len Goodkin · Sep 15, 2016 go to post

The method returns a %Status.

I reviewed the code between Cache 2013.1 and latest and I don't see any changes to the method:

<Method name="OnHTTPHeader">
<Description><![CDATA[
Event handler for <b>PAGE</b> event: this is invoked in order to  
send HTTP headers. The default action is to invoke the WriteHTTPHeader()
of the <class>%CSP.Response</class> which generates HTTP 1.0 standard
headers. Set <var>OutputBody</var> to 0 to prevent prevent <method>OnPage</method>
from being called, leave it unchanged otherwise. Returns a <class>%Status</class> code.]]></Description>
<Abstract>1</Abstract>
<ClassMethod>1</ClassMethod>
<FormalSpec><![CDATA[&OutputBody:%Boolean]]></FormalSpec>
<ReturnType>%Status</ReturnType>
<ServerOnly>1</ServerOnly>
<Implementation><![CDATA[]]></Implementation>
</Method>
 

Is there a particular problem you're running into?  Please feel free to open a WRC issue with support and we can investigate.

Len Goodkin · Jul 28, 2016 go to post

I'm not sure if this is actually used anymore.  I believe this was a feature before package mapping it would set the ^oddPKG global to something like: ^oddPKG("User")="<value>" , so that you could have routines be generated with a prefix of your choosing.