Here is the attached code.... 

> -----Original Message-----
> From: Johnson, Eric [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 06, 2006 12:10 PM
> To: [email protected]
> Subject: FW: Java first question
> 
> Using the attached code I get the following exception when running my
> server:
>      [java] Exception in thread "main" java.lang.NullPointerException
>      [java]     at
> org.apache.cxf.jaxws.support.JaxWsImplementorInfo.getEndpointN
> ame(JaxWsI
> mplementorInfo.java:123)
>      [java]     at
> org.apache.cxf.jaxws.support.JaxWsServiceConfiguration.getEndp
> ointName(J
> axWsServiceConfiguration.java:103)
>      [java]     at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.ge
> tEndpointN
> ame(ReflectionServiceFactoryBean.java:455)
>      [java]     at
> org.apache.cxf.service.factory.AbstractEndpointFactory.createE
> ndpoint(Ab
> stractEndpointFactory.java:60)
>      [java]     at
> org.apache.cxf.service.factory.ServerFactoryBean.create(Server
> FactoryBea
> n.java:77)
>      [java]     at
> org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:220)
>      [java]     at
> org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:155)
>      [java]     at
> org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint
> (ProviderI
> mpl.java:67)
>      [java]     at javax.xml.ws.Endpoint.publish(Endpoint.java:156)
>      [java]     at org.eric.demo.Server.main(Server.java:12)
>  
> What did I forget to do?
> 
> > -----Original Message-----
> > From: Jim Ma [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, December 05, 2006 9:35 PM
> > To: [email protected]
> > Subject: RE: Java first question
> > 
> > If use RPC_Lit and Doc_Bare , we need add  two annotaions to an
> > interface:
> > @WebService
> > @SOAPBinding
> > 
> > If use Doc_Wrapped, we only need to add @WebService annotation . 
> > Doc_Wrapped is the default  style .
> > 
> > Regards
> > 
> > Jim
> > 
> > > -----Original Message-----
> > > From: Johnson, Eric [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, December 06, 2006 6:57 AM
> > > To: [email protected]
> > > Subject: Java first question
> > >
> > >
> > > What is the minimum amount of annotation I need to add to
> > an interface
> > > to Web service enable it?
> > >
> > >
> > 
> > 
> 

Reply via email to