cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maomaode (JIRA)" <>
Subject [jira] Commented: (CXF-258) Server can not start when SEI has no wsdlLocation in the WebService annotation
Date Wed, 22 Nov 2006 02:12:03 GMT
    [ ] 
maomaode commented on CXF-258:

I have attached the testcase, and the description of the steps to reproduce also very clear,
you can try to add the wsdlLocation and remove the wsdlLocation from the WebService annotation
in the SEI. That's how i found the the problem. 

> Server can not start when SEI has no wsdlLocation in the WebService annotation
> ------------------------------------------------------------------------------
>                 Key: CXF-258
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0-M1
>            Reporter: maomaode
>             Fix For: 2.0-RC
>         Attachments:
> 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(
> 45)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(
> 3)
>         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
>         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