You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by James Mao <ja...@iona.com> on 2006/11/22 07:48:41 UTC
CXF-258
About the http://issues.apache.org/jira/browse/CXF-258
I found the following issue:
1.
The method isWrapped(Method m) in JaxWsServiceConfiguration
The SoapBindind annotation can not placed in the method with the RPC
style according to the JSR181 spec, both the tools and rt should report
error for this[1].
So this
SOAPBinding ann = m.getAnnotation(SOAPBinding.class);
if (ann != null) {
return !(ann.parameterStyle().equals(ParameterStyle.BARE) ||
ann.style().equals(Style.RPC));
}
can be changed to
SOAPBinding ann = m.getAnnotation(SOAPBinding.class);
if (ann != null) {
return !(ann.parameterStyle().equals(ParameterStyle.BARE));
}
besides we should also check the method in the interface
2. The ReflectionServiceFactoryBean set the default wrappedStyle to
TRUE, but the testcase is RPC style, so the operation wrappedStyle set
to FALSE
That's why if the wsdlLocation is missing there will have a NPE in
the following code.
if (wrappedStyle) {
initializeWrappedSchema(serviceInfo);
}
Cheers,
James.
[1] http://issues.apache.org/jira/browse/CXF-263