title: How to pass multiple arguments from Jolie to an embedded Java service?
body: <p>I want to pass more than one parameter to an embedded Java Service from Jolie.
  Here is my code for the Jolie program and Java program:</p>
  
  <p><strong>Jolie program:</strong></p>
  
  <pre><code>include "console.iol"
  
  type NandRequest:void {
  .number[2,*]: bool
  }
  
  interface NANDInterface {
      RequestResponse: test(NandRequest)(bool)
  }
  
  outputPort NAND {
      Interfaces: NANDInterface
  }
  
  embedded {
      Java: "example.NAND" in NAND
  }
  
  main
  {
  
       request.number[0] = true;
       request.number[1] = true;
       test@NAND(request)(response);
       println@Console( response )()
  }
  </code></pre>
  
  <p><strong>Java program:</strong>
  package example;</p>
  
  <pre><code>import jolie.runtime.JavaService;
  
  public class NAND extends JavaService{
  
      public java.lang.Boolean test(final java.lang.Boolean x , final java.lang.Boolean y) {
  
          java.lang.Boolean r = !(x&amp;&amp;y);
          return r;
  
      }
  }
  </code></pre>
  
  <p>But when I run the Jolie service , it gives error as 'jolie.runtime.InvalidException: invalid identifier:test</p>
  
  <p>What is the correct way to pass such multiple parameters?</p>