DSP invoke statement

I have written a DSP code like this, but in output its displaying the code of invoke instead of results.

%invoke DSP_Example:tn_info% %loop results% %end% %end%
SENDER ID RECEIVER ID ROUTINGSTATUS
%value SENDERID% %value RECEIVERID% %value ROUTINGSTATUS%

Kartik,

you are missing endloop,endinvoke in your code.

It should be for example:

%invoke /folder1.folder1_2/serviceB%
%loop Products%
%value Product/Name%

%value Product/ProdID%

%endloop%
%endinvoke%

HTH,
RMG

hi thanks for the reply,
I have tried with %endloop% and also %endinvoke% but its failing.
It is showing the code instead of result.

Is there anything to be added?

Kartik,

Did you reviewed the DSP documentation?

Also check this topic its the similar issue,
[URL=“wmusers.com”]wmusers.com

HTH,
RMG

Hi

All the webMethods Administration pages(http://yourhost:5555) are written in DSP . You can refer them as examples to understand the usage of DSP tags .

Thanks
Srini

got the solution thanks for everyone…:happy::happy::happy:

What was the solution?