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
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.