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 17:08:52 UTC
Illegal annotations in a service interface class
Hi,
Here's another error test. Do you guys have a list of what's not compliant
yet, or is it ok if I just keep firing these tests at you?
<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_3011">
<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_3011Component1" />
<property name="testName">JCA_3011</property>
</component>
<!-- JCA_3011Service is local to this contribution and contains a forbidden
annotation.
It is compatible with the Service1 interface from the General_POJO
contribution.
-->
<component name="TEST_JCA_3011Component1">
<implementation.java class=
"org.oasisopen.sca.test.JCA3011serviceImpl"/>
<service name="JCA3011Service">
<interface.java interface=
"org.oasisopen.sca.test.JCA3011Service"/>
</service>
<property name="serviceName">JCA_3011Service</property>
</component>
</composite>
package org.oasisopen.sca.test;
import org.oasisopen.sca.annotation.Remotable;
import org.oasisopen.sca.annotation.Property;
/**
* A test service interface
* @author DaveBooz
*
*/
@Remotable
public interface JCA3011Service {
/**
* Method for invoking testcase service
* @param input - input parameter(s) as a String
* @return - output data as a String
*/
@Property
public String operation1( String input );
}
The @Property annotation is not allowed in service interface classes. The
testcase ran successfully, but should not have.
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: Illegal annotations in a service interface class
Posted by Luciano Resende <lu...@gmail.com>.
On Thu, Oct 1, 2009 at 8:19 AM, Simon Laws <si...@googlemail.com> wrote:
> Hi Dave
>
> We don't have an explicit list of what's outstanding at the moment.
> IMO the right thing to do is track with JIRA (in the "OASIS compliance
> - Tuscany" category for Tuscany problems). Any help generating those
> JIRA is very much appreciated.
>
> We do have a list [1] based on the OASIS JIRA where we've started
> looking at what changes need to be made for the various specs but I'm
> sure this is out of date now. We are only just getting back to this
> now.
>
> As for running the otests themselves we use another page [2] to
> coordinate progress amongst multiple people working on the same set of
> tests. You'll see that there are only entries for the assembly ones at
> the moment. I'll create a Java version of the table as the tests
> become available.
>
> Regards
>
> Simon
>
> [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/OSOA+SCA+vs+OASIS+SCA
> [2] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Conformance+Testing
>
Dave,
I have started reviewing the Java Spec Compliance and some of the
spec jiras [1] and also addressing some of these issues. Please
continue to provide feedback and I can handle the JIRA and updates to
[1]...
[1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/OSOA+SCA+vs+OASIS+SCA
--
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/
Re: Illegal annotations in a service interface class
Posted by Simon Laws <si...@googlemail.com>.
Hi Dave
We don't have an explicit list of what's outstanding at the moment.
IMO the right thing to do is track with JIRA (in the "OASIS compliance
- Tuscany" category for Tuscany problems). Any help generating those
JIRA is very much appreciated.
We do have a list [1] based on the OASIS JIRA where we've started
looking at what changes need to be made for the various specs but I'm
sure this is out of date now. We are only just getting back to this
now.
As for running the otests themselves we use another page [2] to
coordinate progress amongst multiple people working on the same set of
tests. You'll see that there are only entries for the assembly ones at
the moment. I'll create a Java version of the table as the tests
become available.
Regards
Simon
[1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/OSOA+SCA+vs+OASIS+SCA
[2] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Conformance+Testing