I have tried the same thing with another of my simpler services - connecting
a 2.0.x client to a 2.2 server - and it seems to be working fine.  I think
the problems appear with my more complicated service where I had define a
custom type mapper for one of my interfaces.  I use the interface as a map
key, and it appears that the schema for that return value is not being
properly generated.  Here is my interface:

<code>
@WebService
public interface OrganizationService
{
    public Collection<Organization> retrieveByAlias(OrganizationAlias
alias);

    public Map<OrganizationAlias, Collection<Organization>>
retrieveByAliases(Collection<OrganizationAlias> aliases);

    public Map<String, Organization> retrieveByIds(Collection<String>
organizationIds);
}
</code>

And I will attach the generated 2.0 and 2.2 wsdls:

http://www.nabble.com/file/p22187629/OrganizationService.wsdl
OrganizationService.wsdl 
http://www.nabble.com/file/p22187629/OrganizationService22.wsdl
OrganizationService22.wsdl 

Any ideas?


relphie wrote:
> 
> Hello,
> 
> I am attempting to upgrade my 2.0.9 cxf service to 2.2-SNAPSHOT.  However,
> with my 2.0.9 client, I am unable to pass my tests connection to a
> 2.2-SNAPSHOT server.  Also, the server side WSDL that is generated is
> different between the 2.0.9 version and the 2.2 version.  Is this to be
> expected?  Is 2.0.9 and 2.2-SNAPSHOT compatible?
> 
> Thanks,
> Brian
> 

-- 
View this message in context: 
http://www.nabble.com/CXF-2.0--%3E-2.2-tp22171176p22187629.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to