You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "wangfeng (JIRA)" <tu...@ws.apache.org> on 2007/07/18 04:38:04 UTC

[jira] Created: (TUSCANY-1449) The annotation 'Service' processor occurs error.

The annotation 'Service' processor occurs error.
------------------------------------------------

                 Key: TUSCANY-1449
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1449
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Core Runtime
    Affects Versions: Java-SCA-0.91
            Reporter: wangfeng
             Fix For: Java-SCA-Next


1.The SCA Java Component Implementation Spec (line 21 to 121) show the annotation 'Service' value may be three ways:Java Interface,Java class,WSDL portType.But in tuscany only support Java Interface.

21 1.2.1 Service
22    A component implementation based on a Java class may provide one or more services.
23    The services provided by a Java-based implementation may have an interface defined in one of the
24    following ways:
25      A Java interface
26      A Java class
27      A Java interface generated from a Web Services Description Language[3] (WSDL) portType

2.The SCA Java AnnotationsAndAPIs Spec (line 1635) show the annotation 'Service' can has not attributes,but the 'Service' processor in tuscany don't support this.

1635 A @Service annotation with no attributes is meaningless, it is the same as not having the annotation there
1636 at all. 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1449) The annotation 'Service' processor occurs error.

Posted by "wangfeng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

wangfeng updated TUSCANY-1449:
------------------------------

    Attachment: 1449.patch

I am sorry for this.I have make the patch using the patch format. 
The patch resolve the problem which is not support java class and must has attributes on the annotation of 'Service' .

> The annotation 'Service' processor occurs error.
> ------------------------------------------------
>
>                 Key: TUSCANY-1449
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1449
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-0.91
>            Reporter: wangfeng
>             Fix For: Java-SCA-Next
>
>         Attachments: 1449.patch, ServiceProcessor.java
>
>
> 1.The SCA Java Component Implementation Spec (line 21 to 121) show the annotation 'Service' value may be three ways:Java Interface,Java class,WSDL portType.But in tuscany only support Java Interface.
> 21 1.2.1 Service
> 22    A component implementation based on a Java class may provide one or more services.
> 23    The services provided by a Java-based implementation may have an interface defined in one of the
> 24    following ways:
> 25      A Java interface
> 26      A Java class
> 27      A Java interface generated from a Web Services Description Language[3] (WSDL) portType
> 2.The SCA Java AnnotationsAndAPIs Spec (line 1635) show the annotation 'Service' can has not attributes,but the 'Service' processor in tuscany don't support this.
> 1635 A @Service annotation with no attributes is meaningless, it is the same as not having the annotation there
> 1636 at all. 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1449) The annotation 'Service' processor occurs error.

Posted by "wangfeng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

wangfeng updated TUSCANY-1449:
------------------------------

    Attachment: ServiceProcessor.java

This is the patch for 'Service' processor. Please review and apply.

> The annotation 'Service' processor occurs error.
> ------------------------------------------------
>
>                 Key: TUSCANY-1449
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1449
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-0.91
>            Reporter: wangfeng
>             Fix For: Java-SCA-Next
>
>         Attachments: ServiceProcessor.java
>
>
> 1.The SCA Java Component Implementation Spec (line 21 to 121) show the annotation 'Service' value may be three ways:Java Interface,Java class,WSDL portType.But in tuscany only support Java Interface.
> 21 1.2.1 Service
> 22    A component implementation based on a Java class may provide one or more services.
> 23    The services provided by a Java-based implementation may have an interface defined in one of the
> 24    following ways:
> 25      A Java interface
> 26      A Java class
> 27      A Java interface generated from a Web Services Description Language[3] (WSDL) portType
> 2.The SCA Java AnnotationsAndAPIs Spec (line 1635) show the annotation 'Service' can has not attributes,but the 'Service' processor in tuscany don't support this.
> 1635 A @Service annotation with no attributes is meaningless, it is the same as not having the annotation there
> 1636 at all. 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-1449) The annotation 'Service' processor occurs error.

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng resolved TUSCANY-1449.
-----------------------------------

    Resolution: Fixed

Patch applied. Thanks!

> The annotation 'Service' processor occurs error.
> ------------------------------------------------
>
>                 Key: TUSCANY-1449
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1449
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-0.91
>            Reporter: wangfeng
>             Fix For: Java-SCA-Next
>
>         Attachments: 1449.patch
>
>
> 1.The SCA Java Component Implementation Spec (line 21 to 121) show the annotation 'Service' value may be three ways:Java Interface,Java class,WSDL portType.But in tuscany only support Java Interface.
> 21 1.2.1 Service
> 22    A component implementation based on a Java class may provide one or more services.
> 23    The services provided by a Java-based implementation may have an interface defined in one of the
> 24    following ways:
> 25      A Java interface
> 26      A Java class
> 27      A Java interface generated from a Web Services Description Language[3] (WSDL) portType
> 2.The SCA Java AnnotationsAndAPIs Spec (line 1635) show the annotation 'Service' can has not attributes,but the 'Service' processor in tuscany don't support this.
> 1635 A @Service annotation with no attributes is meaningless, it is the same as not having the annotation there
> 1636 at all. 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1449) The annotation 'Service' processor occurs error.

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513427 ] 

Raymond Feng commented on TUSCANY-1449:
---------------------------------------

Hi, wangfeng.

Thank you very much for reporting the issue and providing a patch. I would appreciate if you can a bit more here:-)

1. Describe what problem you ran into or what feature your patch implements
2. Provide the patch using the "patch" format, you can run "svn diff" or use other tools such as TortoiseSVN or the Subclipse plugin 
3. Don't forget to grant Apache license to the patch when you attach the file.

Raymond

> The annotation 'Service' processor occurs error.
> ------------------------------------------------
>
>                 Key: TUSCANY-1449
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1449
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-0.91
>            Reporter: wangfeng
>             Fix For: Java-SCA-Next
>
>         Attachments: ServiceProcessor.java
>
>
> 1.The SCA Java Component Implementation Spec (line 21 to 121) show the annotation 'Service' value may be three ways:Java Interface,Java class,WSDL portType.But in tuscany only support Java Interface.
> 21 1.2.1 Service
> 22    A component implementation based on a Java class may provide one or more services.
> 23    The services provided by a Java-based implementation may have an interface defined in one of the
> 24    following ways:
> 25      A Java interface
> 26      A Java class
> 27      A Java interface generated from a Web Services Description Language[3] (WSDL) portType
> 2.The SCA Java AnnotationsAndAPIs Spec (line 1635) show the annotation 'Service' can has not attributes,but the 'Service' processor in tuscany don't support this.
> 1635 A @Service annotation with no attributes is meaningless, it is the same as not having the annotation there
> 1636 at all. 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1449) The annotation 'Service' processor occurs error.

Posted by "wangfeng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

wangfeng updated TUSCANY-1449:
------------------------------

    Attachment:     (was: ServiceProcessor.java)

> The annotation 'Service' processor occurs error.
> ------------------------------------------------
>
>                 Key: TUSCANY-1449
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1449
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-0.91
>            Reporter: wangfeng
>             Fix For: Java-SCA-Next
>
>         Attachments: 1449.patch
>
>
> 1.The SCA Java Component Implementation Spec (line 21 to 121) show the annotation 'Service' value may be three ways:Java Interface,Java class,WSDL portType.But in tuscany only support Java Interface.
> 21 1.2.1 Service
> 22    A component implementation based on a Java class may provide one or more services.
> 23    The services provided by a Java-based implementation may have an interface defined in one of the
> 24    following ways:
> 25      A Java interface
> 26      A Java class
> 27      A Java interface generated from a Web Services Description Language[3] (WSDL) portType
> 2.The SCA Java AnnotationsAndAPIs Spec (line 1635) show the annotation 'Service' can has not attributes,but the 'Service' processor in tuscany don't support this.
> 1635 A @Service annotation with no attributes is meaningless, it is the same as not having the annotation there
> 1636 at all. 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org