How to Invoke IS Service from dsp pages

Hi

I have one service “deleteAck” which is used to delete the table entries. I have to invoke this service from a html/dsp page.

I have written one dsp page like below.
deleteack.dsp

<html>
<head>
<title>Order Tracking System</title>
</head>
%invoke Wipro_SO.util:deleteAck%
%endinvoke%
</body>
</html>

When I request this DSP like http:\10.200.13.13:5555/Wipro_SO/deleteack.dsp
This is working fine. Means it is executing the service “deleteAck”.

But when I try to create a html/dsp page(new.dsp) which contains one button called "“DeleteACK Table”, which in turn invokes the deleteack.dsp
on action, it is not working.i.e It is not executing the service.
Can any of u pls help me in this?

I have attached both the files for reference.
Regards
Ravi


deleteack.dsp (0.1 k)

DSP FILE(NEW.DSP)
new.dsp (0.5 k)

Hello,
For this, the html page must invoke the service with the following syntax.
http://<server>:<port>/invoke/<rootfolder>/<subfolder><service>

Very specifacally for your case it is,
http:\10.200.13.13:5555/invoke/Wipro_SO/util/deleteAck

Note, the service ACL must be set to Anonymous or else, the user id and pwd pop up comes.

HTH
BS

You should not need to make the service anonymous, that’s a bad idea. It will work, but anyone can run your service without logging in, which is probably not what you want.

You do need to change the service ACL to a value that can be invoked by the user running the DSP. DSP permissions are set via a .access file in the directory containing the DSP.