only first method's parameter is send in JMS Message
----------------------------------------------------

                 Key: TUSCANY-2583
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2583
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA JMS Binding Extension
    Affects Versions: Java-SCA-1.3
            Reporter: Gaetan RUAULT


The JMS provider generate only the first parameter of the service call 

example :

for a jms interface service like this : 

package personne.stub;

import org.osoa.sca.annotations.Remotable;

@Remotable
public interface TestJMSService {
        int add(Integer x, Integer y);

        int subtract(Integer x, Integer y);
}


with call like this : testJMSService.add(1,6)


the XMLTextMessageProcessor class generate this body for the JMS Message :


<arg0 xmlns:ns2="http://stub.personne/";>1</arg0>




but il would generated :



<arg0 xmlns:ns2="http://stub.personne/";>1</arg0>
<arg1 xmlns:ns2="http://stub.personne/";>6</arg1>




this problem appear in the method createJMSMessage of 
org.apache.tuscany.sca.binding.jms.provider.XMLTextMessageProcessor class.

only the first element of the array is set for body text.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to