It is warning message not error . You do not need to provide them . Java2wsdl can generate wsdl and the wrapper bean
for this class.

Regards
Jim

yulinxp wrote:
Here is the SEI. I use cxf 2.0.3 when I run java2wsdl, why it always asks for
RequestWrapper & ResponseWrapper. Do I need to provide RequestWrapper and
ResponseWrapper?


package demo.spring;

import javax.jws.WebService;

@WebService
public interface HelloWorld {

        public void sayHi(
        java.lang.String text
    );
}


bin>java2wsdl demo.spring.HelloWorld
Dec 26, 2007 3:30:23 PM
org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.Wrapper
getWrapperClass
WARNING: Can not load wrapper class demo.spring.jaxws.SayHi, please check
the @RequestWrapper or @ResponseWrapper and also check the class is in your
classpath
Dec 26, 2007 3:30:23 PM
org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.Wrapper
getWrapperClass
WARNING: Can not load wrapper class demo.spring.jaxws.SayHiResponse, please
check the @RequestWrapper or @ResponseWrapper and also check the class is in
your classpath

Reply via email to