Ticket #156 (new task)
Trying to chain services together
Reported by: | surf9 | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Development platform | Version: | |
Keywords: | Cc: |
Description
Hi there
I am trying to get working chaining of services.
This is my current code:
function testChainJS(conf,inputs,outputs) {
var inputs = {S:'james'}; var inputs = {S: { type: 'complex', value: 'james', mimeType: "application/json"} };
var myProcess = new ZOO.Process('http://localhost/cgi-bin/zoo_loader.cgi','javascript.test.hello-world.hellojs'); var myExecuteResult=myProcess.Execute(inputs);
return {result: ZOO.SERVICE_SUCCEEDED, outputs: [ {name:"Result", value: long} ] };
}
However, when I execute that in terminal I get the following:
./zoo_loader.cgi 'ServiceProvider?=&metapath=&Service=WPS&Request=Execute&Version=1.0.0&Identifier=javascript.chaining.testChainJS&DataInputs?=name=smith
Content-Type: text/xml; charset=UTF-8
Status: 501 Internal Server Error
<?xml version="1.0" encoding="UTF-8"?> <ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd" xml:lang="en-US" version="1.1.0">
<ows:Exception exceptionCode="InternalError">
<ows:ExceptionText>ZOO Kernel failed to process your request, receiving signal 11 = SIGSEGV</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
Any ideas how to resolve this?
Thanks,