Expand my Community achievements bar.

How to return multiple results from Custom DSC?

Avatar

Level 10

Hi,

A custom DSC is written which requires two inputs and should return two outputs.

e.g.

  public void sum(int a,int b)

{

   int result = a+b;

   boolean success = true;

}

The above service implementation should return both variable values.

How can I update the configuration.xml to have these two variables as output-parameters?

I tried several other properties such as "binding-type", "attribute" but no luck.

The service works fine but doesn't return any results.

Please advise.

Nith

0 Replies