Hi,

I've trouble getting java2wsdl to work on my service interfaces.

Even a simple interface does not work. java2wsdl ends with
  Error: null
  java.lang.NullPointerException
  at
org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.FaultBean.transform(FaultBean.java:64)
  at
org.apache.cxf.tools.java2wsdl.generator.wsdl11.FaultBeanGenerator.generateBeanClasses(FaultBeanGenerator.java:60)

(See  http://www.nabble.com/file/p14665270/java2wsdl.err.txt
java2wsdl.err.txt  for a full log)

Here is the simple Service class:
  import javax.jws.WebService;
  @WebService()
  public interface Service
  {
        void operation() throws ServiceException;       
  }

ServiceException is a simple class the extends java.lang.Exception and two
base constructors (ServiceException(String) and ServiceException(String,
Throwable) without any added properties .
-- 
View this message in context: 
http://www.nabble.com/java2wsdl%3A-NullPointerException-on-%40WebService-interface-throwing-custom-Exception-tp14665270p14665270.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to