Thanks Ivan for the catch. Yes, our example was wrong. I updated it. Section 4.1.1 of JSR 181 (Latest maintenance release[1], June 2006) defines which member-values of @WebService are valid for SEI's and which aren't, and the three listed below are indeed not allowed for them.
Regards, Glen [1] http://jcp.org/en/jsr/detail?id=181 Am Mittwoch, den 02.01.2008, 16:43 -0600 schrieb Olvera Segura Jaime Ivan: > Hi: > > I was creating a webservice with annotations follow the guide in page > http://cwiki.apache.org/CXF20DOC/developing-a-service.html > > As the example 4 I put @webservice annotation in interface with > portName and serviceName attributes, but when I made the deploy the > following error appear: > > javax.xml.ws.WebServiceException: Attributes portName, serviceName and > endpointInterface are not allowed in the @WebService annotation of an > SEI. > > > So I thing maybe the example is wrong, isn't it? > > Greetings > Ivan Olvera > > .
