On Wednesday, June 15, 2011 11:18:28 PM Damon wrote:
> Like targetNamespace, if only add it to SEI, it didn't work. I have to add
> it to both SEI and the class. But the CXF user guide said that the only
> nessesary annotation for concrete class is endpointinterface.

Technically, it's not required.   However, if not specified, it generates a 
default based on the package name which is likely not what you want.   

> So is there any other annotations need us to add them both on SEI and the
> service class?

Honestly, you should specify the targetNamespace, the portName and serviceName 
on the service class, and name on the SEI.   That would remove the 
ambiguities.


-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog
Talend - http://www.talend.com

Reply via email to