Aegis+Jaxws ignores namespaces on @WebParams
--------------------------------------------
Key: CXF-1092
URL: https://issues.apache.org/jira/browse/CXF-1092
Project: CXF
Issue Type: Bug
Components: JAX-WS Runtime
Affects Versions: 2.0.2
Reporter: benson margulies
I think I've run into some hard case related to SEIs versus implementations.
Here's the interface:
@WebService(name="NameIndex", targetNamespace="urn:com.basistech.rnm.index.ws")
public interface NameIndexService {
@WebMethod
public abstract void addNameBatch(@WebParam(name="indexid") String indexid,
@WebParam(targetNamespace="urn:com.basistech.rnm", name="names")Name[] names)
throws NameIndexException; ...
}
Here's the implementation:
@WebService (serviceName = "NameIndex",
endpointInterface = "com.basistech.rnm.index.ws.NameIndexService",
targetNamespace="urn:com.basistech.rnm.index.ws")
public class NameIndexServiceImpl extends NameIndexServiceCommon implements
NameIndexService {
public void addNameBatch(String indexid, Name names[]) throws
NameIndexException { ... }
I am trying the JaxWs runtime proxy generator, and I get the following:
javax.xml.ws.WebServiceException:
org.apache.cxf.service.factory.ServiceConstructionException: Could not find a
message part matching name {urn:com.basistech.rnm}names. Possible values are
[{urn:com.basistech.rnm.index.ws}indexid,
{urn:com.basistech.rnm.index.ws}names].
Looks like the client generator is paying attention to the annotation, but the
server is not.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.