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] Assigned: (CXF-1092) Aegis+Jaxws ignores namespaces on @WebParams
Date Mon, 22 Oct 2007 19:34:50 GMT

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

Daniel Kulp reassigned CXF-1092:
--------------------------------

    Assignee: Daniel Kulp

> 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
>            Assignee: Daniel Kulp
>
> 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.


Mime
View raw message