Hi,
I have the SEI class with the following methods and the same request wrapper
classes:

    @RequestWrapper(className = "com.example.bean.StartRequest")    
    boolean start(
            @WebParam(name = "application")
            final String appID) ;

    @RequestWrapper(className = "com.example.bean.StartRequest")
    boolean stop(
            @WebParam(name = "application")
            final String appID);

When I use java2ws for generating these beans "java2ws -server -wrapperbean
com.example.MyExample" I receive the message:

duplicate class: com.example.bean.StartRequest
public class StartRequest {
          ^

Is it not recomended to use the same wrapper class or it is a bug in java2ws
tool? I'm using cxf 2.2.12.





--
View this message in context: 
http://cxf.547215.n5.nabble.com/java2ws-and-request-wrappers-problem-tp4405910p4405910.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to