Subject: GDSScript problem
- Next message: Amrey Krause: "[Fwd: Collection not found exception while setting up DAIS services on Xindice] (fwd)"
- Previous message: Amrey Krause: "Re: Error running the GDSF Client"
- In reply to: M.Jackson: "Error running the GDSF Client"
From: Alexander Wohrer (w.alexander@gmx.at)
Date: Feb 05, 2003 17:07
Hi,
The following script works fine:
<?xml version="1.0" encoding="UTF-8"?>
<GridDataServiceScript>
<Header>
<ScriptName>Example 1</ScriptName>
<Version>
<Config>config</Config>
<ScriptEnvironment>environment</ScriptEnvironment>
</Version>
<Originator>GSR of Originator</Originator>
</Header>
<Body>
<DefineParameter name="table">member</DefineParameter>
<Statement name="xyz" dataResource="MyDataResource">
SELECT * FROM <UseParameter reference="table"/>
</Statement>
<Execute name="execute">xyz</Execute>
</Body>
</GridDataServiceScript>
and produces this output:
<GDSSR xmlns="">
<Header>
<ScriptName>Example 1</ScriptName>
<Version/>
</Header>
<Body>
<Response>
<Status>
[GridDataServiceScript:Example 1] - finished execution
</Status>
</Response>
</Body>
</GDSSR>
But if I'm adding a delivery element like the following in the body section
<Delivery name="delivery">
<Mechanism type="bulk"/>
<Mode type="full"/>
<From>xyz</From>
<To>response</To>
</Delivery>
the following error occurs
Error:
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.generalException
faultString:
faultActor: null
faultDetail:
uk.org.ogsadai.wsdl.GridDataServiceUserException:
<description>UserException whilst running script:
org.xml.sax.SAXParseException:
An invalid XML character (Unicode: 0x1a8ca5) was found in the element
content of the document.
</description>
exceptionName: uk.org.ogsadai.wsdl.GridDataServiceUserException
stackTrace: AxisFault
faultCode: {http://xml.apache.org/axis/}Server.generalException
faultString:
faultActor: null
faultDetail:
exceptionName: uk.org.ogsadai.wsdl.GridDataServiceUserException
at uk.org.ogsadai.service.gds.GridDataServiceP2R1.performScript(Unknown
Source)
......
Hope somebody can help me, cause I think the script is conform to the
GridDataServiceScript.xsd
Regards,
Alexander Wohrer