Ensemble HTTP OnProcessInput
I am just trying to make a quick hand off HTTP production. I have the class built and compiled onto the server and the production is running as a service. When the production is called (by an inbound job) I can see that the HTTP.InboundAdapter is being used successfully and the stack continues all the up to ProcessInput where OnProcessInput is called in Ens.BusinessService. Instead of using the class that I wrote which has both extended Ens.BusinessService and implemented my own overriden OnProcessInput method, it calls the OnProcessInput within the Ens.BusinessService which just returns a $$$ERROR($$$NotImplemented).
The following is the output from the call:
"0 "_$lb($lb(5003,,,,,,,,,$lb(,"HSREPOSITORY",$lb("e^zOnProcessInput+1^myClass.1^1","e^zProcessInput+13^Ens.BusinessService.1^1","e^zOnConnected+154^EnsLib.HTTP.InboundAdapter.1^1","e^zOnTask+5^EnsLib.TCP.InboundAdapter.1^1","e^zOnTask+29^Ens.BusinessService.1^1","e^zStart+62^Ens.Job.1^2","e^zconnectedJob+2^EnsLib.TCP.InboundAdapter.1^1","d^ClassMethod+4^%apiOBJ^1","d^^^0"))))/* ERROR #5003: Not implemented */
I have tried extending EnsLib.REST.Service, EnsLib.HTTP.Service, and now just the Ens.BusinessService. All with the same output.
Any ideas for what might be wrong?
Edit:
Class myClass extends Ens.BusinessService {
/// Set Adapter
Parameter ADAPTER = "EnsLib.HTTP.InboundAdapter";
/// Set this to 0 to prevent normalizing of HTTP header variable names to lowercase
Parameter TOLOWERHEADERVARS = 1;
/// Set this to make page parse form variables from the form body in case of a form POST
Parameter PARSEBODYFORMVARS = 0;
/// Copied from EnsLib.HTTP.Service
Method OnInit() As %Status
{
If $IsObject(..Adapter) {
Set ..Adapter.%ToLowerHeaderVars=..#TOLOWERHEADERVARS
Set ..Adapter.ParseBodyFormVars=..#PARSEBODYFORMVARS
}
Quit ##super()
}
/// Same method signature as EnsLib.REST.Service
Method OnProcessInput(pInput As %Library.AbstractStream, Output pOutput As %Stream.Object = {$$$NULLOREF}) As %Status
{
// Nothing in here gets touched, thus my problem
}
}