cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] Resolved: (CXF-2789) wsdl2java generates bad @XmlSeeAlso annotation
Date Tue, 05 Oct 2010 18:22:33 GMT


Daniel Kulp resolved CXF-2789.

       Resolution: Won't Fix
    Fix Version/s: Invalid

Unfortunately, this is not something we're allowed to fix.   The JAX-WS spec (and JAXB spec)
says we're not allowed to do any mapping of these and it's up to the user to provide jaxb
customization files to remap the class names and such as required by the user.

> wsdl2java generates bad @XmlSeeAlso annotation
> ----------------------------------------------
>                 Key: CXF-2789
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.2.7
>            Reporter: peter schröder
>            Priority: Minor
>             Fix For: Invalid
>         Attachments: service.wsdl
> we are trying to generate a client stub from the attlasian crowd service wsdl and having
some problems with their (bad) approach on exception handling.
> there are several exceptions thrown that are in an inheritance chain with java.rmi.RemoteException
and java.lang.Throwable.
> we excluded these two from generation with calling wsdl with nexclude:
> {noformat}
> wsdl2java -autoNameResolution -verbose -client -d src/main/java -nexclude
-nexclude -b wsdl/service_bindings.xml wsdl/service.wsdl
> {noformat}
> this produces a port type like this:
> {noformat}
> @WebService(targetNamespace = "urn:SecurityServer", name = "SecurityServerPortType")
> @XmlSeeAlso({com.atlassian.crowd.integration.authentication.ObjectFactory.class,ObjectFactory.class,com.atlassian.crowd.integration.model.ObjectFactory.class,com.atlassian.crowd.integration.model.user.ObjectFactory.class,com.atlassian.crowd.integration.exception.ObjectFactory.class,java.rmi.ObjectFactory.class,com.atlassian.crowd.integration.soap.ObjectFactory.class,java.lang.ObjectFactory.class})
> @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
> public interface SecurityServerPortType {
> {noformat}
> where java.rmi.ObjectFactory.class and java.lang.ObjectFactory.class were not generated!
> maybe i did it completely wrong...

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message