You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by David Booz <bo...@us.ibm.com> on 2009/10/01 15:55:19 UTC

Is @remotable supported in ?


Hi,

I'm on rev 820618

My testcase is complex and I'm trying to test an error case, not a working
case. Here's the top level composite:

<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"

targetNamespace="http://docs.oasis-open.org/ns/opencsa/scatests/200903"

xmlns:test="http://docs.oasis-open.org/ns/opencsa/scatests/200903"
           name="TEST_JCA_3009">

    <component name="TestClient">
            <implementation.composite name="test:TestClient_0002"/>
            <service name="TestInvocation">
                  <interface.wsdl
interface="http://test.sca.oasisopen.org/#wsdl.porttype(TestInvocation)"/>
            <binding.ws/>
            </service>
        <reference name="reference1"
target="TEST_JCA_3009Component1/Service1" />
        <property name="testName">JCA_3009</property>
    </component>

    <component name="TEST_JCA_3009Component1">
        <implementation.java class="org.oasisopen.sca.test.service1Impl"/>
        <service name="Service1">
            <interface.java interface="org.oasisopen.sca.test.Service1"
remotable="false"/>
        </service>
        <property name="serviceName">service1</property>
    </component>

</composite>

Notice the @remotable attribute on the interface of Service1 in
TEST_JCA_3009Component1.  The Service1 interface class is remotable.

package org.oasisopen.sca.test;

import org.oasisopen.sca.annotation.Remotable;

/**
 * A test service interface
 * @author MikeEdwards
 *
 */
@Remotable
public interface Service1 {

      /**
       * Method for invoking testcase service
       * @param input - input parameter(s) as a String
       * @return - output data as a String
       */
      public String operation1( String input );

}

The testcase runs to successful completion, no errors.  The runtime does
not flag the remotable="false" error.

thanks

Dave Booz
STSM, BPM and SCA Architecture
Co-Chair OASIS SCA-Policy TC and SCA-J TC
"Distributed objects first, then world hunger"
Poughkeepsie, NY (845)-435-6093  or  8-295-6093
e-mail:booz@us.ibm.com

Re: Is @remotable supported in ?

Posted by Simon Laws <si...@googlemail.com>.
Hi Dave

Can you raise a JIRA for this in the "OASIS compliance - TUSCANY"
category so we can track. You'll notice there is a "OASIS compliance -
OASIS" category also. This latter one is used where we find test
broken and we've reported a problem to OASIS. Just so we can get a
picture of why otests are failing.

Regards

Simon

Re: Is @remotable supported in ?

Posted by David Booz <bo...@us.ibm.com>.
It's not an emergency, but sometime in the next month would be good.

Dave Booz
STSM, BPM and SCA Architecture
Co-Chair OASIS SCA-Policy TC and SCA-J TC
"Distributed objects first, then world hunger"
Poughkeepsie, NY (845)-435-6093  or  8-295-6093
e-mail:booz@us.ibm.com

ant elder <an...@gmail.com> wrote on 10/01/2009 09:59:30 AM:

> [image removed]
>
> Re: Is @remotable supported in <interface.java/>?
>
> ant elder
>
> to:
>
> user
>
> 10/01/2009 10:00 AM
>
> Please respond to user
>
> No, we've not implemented the remotable attribute yet. It shouldn't
> take too long to add so if you need it right now just say.
>
>  ...ant
>
> On Thu, Oct 1, 2009 at 2:55 PM, David Booz <bo...@us.ibm.com> wrote:
> > Hi,
> >
> > I'm on rev 820618
> >
> > My testcase is complex and I'm trying to test an error case, not a
working
> > case. Here's the top level composite:
> >
> > <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
> > targetNamespace="http://docs.oasis-open.org/ns/opencsa/scatests/200903"
> > xmlns:test="http://docs.oasis-open.org/ns/opencsa/scatests/200903"
> > name="TEST_JCA_3009">
> >
> > <component name="TestClient">
> > <implementation.composite name="test:TestClient_0002"/>
> > <service name="TestInvocation">
> > <interface.wsdl
> > interface="http://test.sca.oasisopen.org/#wsdl.porttype
(TestInvocation)"/>
> > <binding.ws/>
> > </service>
> > <reference name="reference1"
target="TEST_JCA_3009Component1/Service1" />
> > <property name="testName">JCA_3009</property>
> > </component>
> >
> > <component name="TEST_JCA_3009Component1">
> > <implementation.java class="org.oasisopen.sca.test.service1Impl"/>
> > <service name="Service1">
> > <interface.java interface="org.oasisopen.sca.test.Service1"
> > remotable="false"/>
> > </service>
> > <property name="serviceName">service1</property>
> > </component>
> >
> > </composite>
> >
> > Notice the @remotable attribute on the interface of Service1 in
> > TEST_JCA_3009Component1. The Service1 interface class is remotable.
> >
> > package org.oasisopen.sca.test;
> >
> > import org.oasisopen.sca.annotation.Remotable;
> >
> > /**
> > * A test service interface
> > * @author MikeEdwards
> > *
> > */
> > @Remotable
> > public interface Service1 {
> >
> > /**
> > * Method for invoking testcase service
> > * @param input - input parameter(s) as a String
> > * @return - output data as a String
> > */
> > public String operation1( String input );
> >
> > }
> >
> > The testcase runs to successful completion, no errors. The runtime does
not
> > flag the remotable="false" error.
> >
> > thanks
> >
> > Dave Booz
> > STSM, BPM and SCA Architecture
> > Co-Chair OASIS SCA-Policy TC and SCA-J TC
> > "Distributed objects first, then world hunger"
> > Poughkeepsie, NY (845)-435-6093 or 8-295-6093
> > e-mail:booz@us.ibm.com

Re: Is @remotable supported in ?

Posted by ant elder <an...@gmail.com>.
No, we've not implemented the remotable attribute yet. It shouldn't
take too long to add so if you need it right now just say.

 ...ant

On Thu, Oct 1, 2009 at 2:55 PM, David Booz <bo...@us.ibm.com> wrote:
> Hi,
>
> I'm on rev 820618
>
> My testcase is complex and I'm trying to test an error case, not a working
> case. Here's the top level composite:
>
> <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
> targetNamespace="http://docs.oasis-open.org/ns/opencsa/scatests/200903"
> xmlns:test="http://docs.oasis-open.org/ns/opencsa/scatests/200903"
> name="TEST_JCA_3009">
>
> <component name="TestClient">
> <implementation.composite name="test:TestClient_0002"/>
> <service name="TestInvocation">
> <interface.wsdl
> interface="http://test.sca.oasisopen.org/#wsdl.porttype(TestInvocation)"/>
> <binding.ws/>
> </service>
> <reference name="reference1" target="TEST_JCA_3009Component1/Service1" />
> <property name="testName">JCA_3009</property>
> </component>
>
> <component name="TEST_JCA_3009Component1">
> <implementation.java class="org.oasisopen.sca.test.service1Impl"/>
> <service name="Service1">
> <interface.java interface="org.oasisopen.sca.test.Service1"
> remotable="false"/>
> </service>
> <property name="serviceName">service1</property>
> </component>
>
> </composite>
>
> Notice the @remotable attribute on the interface of Service1 in
> TEST_JCA_3009Component1. The Service1 interface class is remotable.
>
> package org.oasisopen.sca.test;
>
> import org.oasisopen.sca.annotation.Remotable;
>
> /**
> * A test service interface
> * @author MikeEdwards
> *
> */
> @Remotable
> public interface Service1 {
>
> /**
> * Method for invoking testcase service
> * @param input - input parameter(s) as a String
> * @return - output data as a String
> */
> public String operation1( String input );
>
> }
>
> The testcase runs to successful completion, no errors. The runtime does not
> flag the remotable="false" error.
>
> thanks
>
> Dave Booz
> STSM, BPM and SCA Architecture
> Co-Chair OASIS SCA-Policy TC and SCA-J TC
> "Distributed objects first, then world hunger"
> Poughkeepsie, NY (845)-435-6093 or 8-295-6093
> e-mail:booz@us.ibm.com