home list archives users mailing list

Subject: Re: ID/IDREF error

Date view Thread view Subject view Author view Attachment view

From: Mike Jackson (michaelj@epcc.ed.ac.uk)
Date: Jun 20, 2006 13:15

Hi there,

On Tue, 20 Jun 2006, Veneta Dobreva wrote:

> I have a question. I am trying to programm simple examples with the client
> toolkit. I have defined a resource and an activity. My activity just takes
> a string paramenter and returns it. Now when I try to do it using a Client
> (and not with a perform document) I get this error in Tomcat:
> .
> - #1150788398356:8# There was an error during the execution of the
> request, by r
> esource mySimManager, that was caused by information in the request.
> - #1150788398356:8# There was an error during the execution of the request
> that
> was caused by information in the request.
> - #1150788398356:8# An error occured when trying to validate a document.
> - #1150788398356:8# XML parsing error at line 7, column 11.
> - #1150788398356:8# cvc-id.1: There is no ID/IDREF binding for IDREF
> 'ogsadai-10
> bf0556c58'.
>
> I actually just wanted to add a string as input (with the setInput()
> method). Then I tried to use the output of another activity as input in
> my. It both doesn't work. I generated the following XML:
>
> <SimManager name="SimManagerActivity-ogsadai-10bf0556c59">
> <Input from="ogsadai-10bf0556c58"/>
> <Output name="ogsadai-10bf0556c5a"/></SimManager>

Can you forward a copy of your full Perform doc as generated by the client
toolkit and also a copy of your client?

It might be that you haven't connected the activity's inputs and outputs
correctly within your client code. At the least you should have an
activity whose output has name "ogsadai-10bf0556c58".

> What should I do in order to have an IDREF binding ????? Can someone help
> me??
>
> The Input Attribute is a complex attribute from type IDREF. I just need my
> String as input. How can I easily do this?

Cheers,

mike


Date view Thread view Subject view Author view Attachment view