cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnson, Eric" <Eric.John...@iona.com>
Subject RE: FW: Java first question
Date Wed, 06 Dec 2006 17:14:48 GMT
I'll give it go. Thanks.

Any ideas why I cannot attach anyting to my e-mails without it getting
stripped?
 

> -----Original Message-----
> From: Dan Diephouse [mailto:dan@envoisolutions.com] 
> Sent: Wednesday, December 06, 2006 12:12 PM
> To: cxf-dev@incubator.apache.org
> Subject: Re: FW: Java first question
> 
> I saw this problem the other day but haven't had the chance 
> to fix - I think it occurs when you leave @WebService off 
> your implementation class. If you have an interface & 
> implementation (as opposed to just a class), then you need to 
> specify @WebService(endpointInterface="...")
> 
> Hope that helps,
> - Dan
> 
> On 12/6/06, Johnson, Eric <Eric.Johnson@iona.com> wrote:
> >
> > 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.getEndpointName(JaxW
> > sI
> > mplementorInfo.java:123)
> >      [java]     at
> > 
> org.apache.cxf.jaxws.support.JaxWsServiceConfiguration.getEndpointName
> > (J
> > axWsServiceConfiguration.java:103)
> >      [java]     at
> > 
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.getEndpoin
> > tN
> > ame(ReflectionServiceFactoryBean.java:455)
> >      [java]     at
> > 
> org.apache.cxf.service.factory.AbstractEndpointFactory.createEndpoint(
> > Ab
> > stractEndpointFactory.java:60)
> >      [java]     at
> > 
> org.apache.cxf.service.factory.ServerFactoryBean.create(ServerFactoryB
> > ea
> > 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(Provide
> > rI
> > 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:jim.ma@iona.com]
> > > Sent: Tuesday, December 05, 2006 9:35 PM
> > > To: cxf-dev@incubator.apache.org
> > > 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:Eric.Johnson@iona.com]
> > > > Sent: Wednesday, December 06, 2006 6:57 AM
> > > > To: cxf-dev@incubator.apache.org
> > > > Subject: Java first question
> > > >
> > > >
> > > > What is the minimum amount of annotation I need to add to
> > > an interface
> > > > to Web service enable it?
> > > >
> > > >
> > >
> > >
> >
> >
> 
> 
> --
> Dan Diephouse
> Envoi Solutions
> http://envoisolutions.com | http://netzooid.com/blog
> 

Mime
View raw message