cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Roberts <>
Subject Re: Attributes portName, serviceName and endpointInterface are not allowed in the @WebService annotation
Date Tue, 22 Apr 2008 16:40:09 GMT
jblack wrote:
> I am using the example code from the link below as a reference, but the
> webapp fails to initialize with the a stack trace.
> I also found a number of examples where the @Webservice annotation has
> multiple combinations of the attributes in question, so I'm looking for some
> definitive help.

The serviceName, targetNamespace, portName, etc. belong on the 
@WebService annotation on the interface.  The implementation class 
should just have @WebService(endpointInterface = "interfacename").


Ian Roberts               | Department of Computer Science  | University of Sheffield, UK

View raw message