cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-3092) WSDLDocumentation annotation not working on SEI implementation
Date Mon, 10 Jan 2011 21:13:49 GMT

     [ https://issues.apache.org/jira/browse/CXF-3092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp updated CXF-3092:
-----------------------------

    Fix Version/s: NeedMoreInfo
         Assignee: Daniel Kulp


I added a testcase for this in:

rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/CodeFirstWSDLTest.java

and it passes fine.  Can you create a more concrete example?    Better yet, update the test
until it doesn't pass.  

> WSDLDocumentation annotation not working on SEI implementation
> --------------------------------------------------------------
>
>                 Key: CXF-3092
>                 URL: https://issues.apache.org/jira/browse/CXF-3092
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.3.0
>            Reporter: Glen Mazza
>            Assignee: Daniel Kulp
>             Fix For: NeedMoreInfo
>
>
> The WSDLDocumentation annotation works when placed on the service endpoint interface
but not the SEI implementation class.  
> Below works:
> package service;
> import javax.jws.WebService;
> import org.apache.cxf.annotations.WSDLDocumentation;
> import org.apache.cxf.annotations.WSDLDocumentationCollection;
> @WebService
> @WSDLDocumentationCollection(
>       {
>               @WSDLDocumentation("My portType documentation"),
>               @WSDLDocumentation(value = "My top level documentation",
>                                  placement = WSDLDocumentation.Placement.TOP),
>               @WSDLDocumentation(value = "My binding doc",
>                                  placement = WSDLDocumentation.Placement.BINDING)
>           }
>       )                        
> public interface DoubleItPortType {
>    public int doubleIt(int numberToDouble);
> }
> This does not:
> package service;
> import javax.jws.WebService;
> import org.apache.cxf.annotations.WSDLDocumentation;
> import org.apache.cxf.annotations.WSDLDocumentationCollection;
> @WebService(targetNamespace = "http://www.example.org/contract/DoubleIt",
>             endpointInterface = "service.DoubleItPortType",
>             serviceName = "DoubleItService",
>             portName = "DoubleItPort")
> @WSDLDocumentationCollection(
>       {
>               @WSDLDocumentation("My portType documentation"),
>               @WSDLDocumentation(value = "My top level documentation",
>                                  placement = WSDLDocumentation.Placement.TOP),
>               @WSDLDocumentation(value = "My binding doc",
>                                  placement = WSDLDocumentation.Placement.BINDING)
>           }
>       )                                   
> public class DoubleItPortTypeImpl implements DoubleItPortType {
>     public int doubleIt(int numberToDouble) {
>         return numberToDouble * 2;
>     }
> }

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


Mime
View raw message