Creating Mashups using Direst Invoke method

geet
User offline. Last seen 2 years 20 weeks ago. Offline
Joined: 08/20/2009
Points: 60

Hi,

Please tech me how can I create a mashup using direct invoke mthod. When Tried to prepare one I could get one saved and published successfully. But when I tried to open it fron Presto server it gave this error messege.

Please help if any one know why is it happening.

0
Your rating: None
smitchell
smitchell's picture
User offline. Last seen 18 hours 42 min ago. Offline
Joined: 08/29/2008
Points: 34

Can you please post the error message and the mashup script with your <directinvoke> statement. This would help us analyze the problem.

Sara, technical writer/jackbe

 

geet
User offline. Last seen 2 years 20 weeks ago. Offline
Joined: 08/20/2009
Points: 60

 

Hi Sara,

This the Error messege I got-

Error registering Mashup Service : Unable to compile script : Error parsing mashup script : Element type "directinvoke" must be followed by either attribute specifications, ">" or "/>".

 

 

Mythri
User offline. Last seen 1 year 7 weeks ago. Offline
Joined: 12/18/2008
Points: 0

Hi Geet,

Please make sure that < and > that are being used inside the attribute values of directinvoke are escaped properly.
< should be &lt;
> should be &gt;  and
& should be &amp;

Also, for any attribute that contains double quotes inside its value, you can enclose the whole value in single quotes. Like in sortBy='.....pluck("value")' . Or you can choose to escape " with &quot;

Thanks,
Mythri