You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2009/04/16 04:34:14 UTC

[jira] Created: (OPENEJB-1020) Inheritance not supported in JAX-WS endpoint interfaces exposed via CXF

Inheritance not supported in JAX-WS endpoint interfaces exposed via CXF
-----------------------------------------------------------------------

                 Key: OPENEJB-1020
                 URL: https://issues.apache.org/jira/browse/OPENEJB-1020
             Project: OpenEJB
          Issue Type: Bug
          Components: integration, webservices
    Affects Versions: 3.1, 3.0, 3.0-beta-2, 3.0-beta-1
            Reporter: David Blevins




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


[jira] Commented: (OPENEJB-1020) Inheritance not supported in JAX-WS endpoint interfaces exposed via CXF

Posted by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713562#action_12713562 ] 

Jean-Louis MONTEIRO commented on OPENEJB-1020:
----------------------------------------------

OK, the patch for OPENEJB-977 has been finalized so we are able to support SEI inheritance (JAX-WS 2.1 feature).

> Inheritance not supported in JAX-WS endpoint interfaces exposed via CXF
> -----------------------------------------------------------------------
>
>                 Key: OPENEJB-1020
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1020
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: integration, webservices
>    Affects Versions: 3.0-beta-1, 3.0-beta-2, 3.0, 3.1
>            Reporter: David Blevins
>            Assignee: Jonathan Gallimore
>


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


[jira] Assigned: (OPENEJB-1020) Inheritance not supported in JAX-WS endpoint interfaces exposed via CXF

Posted by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Louis MONTEIRO reassigned OPENEJB-1020:
--------------------------------------------

    Assignee: Jean-Louis MONTEIRO  (was: Jonathan Gallimore)

> Inheritance not supported in JAX-WS endpoint interfaces exposed via CXF
> -----------------------------------------------------------------------
>
>                 Key: OPENEJB-1020
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1020
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: integration, webservices
>    Affects Versions: 3.0-beta-1, 3.0-beta-2, 3.0, 3.1
>            Reporter: David Blevins
>            Assignee: Jean-Louis MONTEIRO
>


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


[jira] Assigned: (OPENEJB-1020) Inheritance not supported in JAX-WS endpoint interfaces exposed via CXF

Posted by "Jonathan Gallimore (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Gallimore reassigned OPENEJB-1020:
-------------------------------------------

    Assignee: Jonathan Gallimore

> Inheritance not supported in JAX-WS endpoint interfaces exposed via CXF
> -----------------------------------------------------------------------
>
>                 Key: OPENEJB-1020
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1020
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: integration, webservices
>    Affects Versions: 3.0-beta-1, 3.0-beta-2, 3.0, 3.1
>            Reporter: David Blevins
>            Assignee: Jonathan Gallimore
>


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


[jira] Commented: (OPENEJB-1020) Inheritance not supported in JAX-WS endpoint interfaces exposed via CXF

Posted by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704650#action_12704650 ] 

Jean-Louis MONTEIRO commented on OPENEJB-1020:
----------------------------------------------

Hi,

I've done some tests around this topic.
I checked over specifications first and I've seen it's a JAX-WS 2.1 feature.

By default, the runtime just examines the exact classes referenced from the SEI interface to figure out what classes need to be bound into the JAXB context. A way to change it is to use the JAXB annotation @XmlSeeAlso where it's needed.

For example:
@WebService
public interface BaseService {
    String echo(String toEcho);
}
@WebService
public interface HelloWorld extends BaseService {
    String sayHi(String text);
}
@WebService(serviceName = "HelloWorld")
@XmlSeeAlso(value = {BaseService.class})
public class HelloWorldImpl implements HelloWorld {

    public String sayHi(String text) {
        return "Hello " + text;
    }

    public String echo(String toEcho) {
        return toEcho;
    }
   
}

But the case is that OpenEJB embeds CXF 2.0.x which does not support JAX-WS 2.1
To support interface inheritance, we have to migrate to CXF 2.1 (min)

I've tested it with CXF (standalone) and it works fine.
But, we can not change CXF version out of the box in OpenEJB because API has been modified.

I'm working with a colleague to get OpenEJB compiling and running with CXF 2.2.1 (lastest version available).

First results are expected by the end of this week.

Kind regards,
Jean-Louis


> Inheritance not supported in JAX-WS endpoint interfaces exposed via CXF
> -----------------------------------------------------------------------
>
>                 Key: OPENEJB-1020
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1020
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: integration, webservices
>    Affects Versions: 3.0-beta-1, 3.0-beta-2, 3.0, 3.1
>            Reporter: David Blevins
>            Assignee: Jonathan Gallimore
>


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


[jira] Closed: (OPENEJB-1020) Inheritance not supported in JAX-WS endpoint interfaces exposed via CXF

Posted by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Louis MONTEIRO closed OPENEJB-1020.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1.3

OPENEJB-977 is now closed so we can definitely support SEI inheritance.
Committed revision 893441.

> Inheritance not supported in JAX-WS endpoint interfaces exposed via CXF
> -----------------------------------------------------------------------
>
>                 Key: OPENEJB-1020
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1020
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: integration, webservices
>    Affects Versions: 3.0-beta-1, 3.0-beta-2, 3.0, 3.1
>            Reporter: David Blevins
>            Assignee: Jean-Louis MONTEIRO
>             Fix For: 3.1.3
>
>


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