cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maomaode (JIRA)" <>
Subject [jira] Created: (CXF-258) Server can not start when SEI has no wsdlLocation in the WebService annotation
Date Tue, 21 Nov 2006 07:28:03 GMT
Server can not start when SEI has no wsdlLocation in the WebService annotation

                 Key: CXF-258
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
    Affects Versions: 2.0-M1
            Reporter: maomaode
             Fix For: 2.0-M1

We have a simple testcase(attached the SEI), in which we have only one operation sayHi, we
use the java2wsdl to genete the code, the wsdl file generated is OK. 
Then We use the wsdl2java to generate the java artifacts, those artifacts are also FINE.
but when we start the server, then the server give us the following exception:

INFO: Creating Service {}HelloService from class com.cxf.HelloImpl
Exception in thread "main" java.lang.NullPointerException
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeWrappedSchema(
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(
        at org.apache.cxf.jaxws.EndpointImpl.<init>(
        at org.apache.cxf.jaxws.spi.ProviderImpl.createEndpoint(
        at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(
        at com.cxf.HelloServer.<init>(
        at com.cxf.HelloServer.main(

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message