On Monday, December 26, 2011 9:55:06 PM Guy Pardon wrote: > Hi all, > > Last time I tried to do both an SEI class and an impl class, I was turned > off by the combination of @WebService attributes on both/either of them. > > Is there a clear summary of what should/can be present on both? What if a > same value is present on both (like: wsdlLocation)?
The only one that I STRONGLY recommend sticking on both is the targetNamespace. Per spec, that really has different meaning depending on which it is on so putting it on both (and setting them the same) seems to work the best. Per JSR181, serviceName and endpointInterface is not allowed on the SEI. I believe the others are pulled from the implementation except for portName which is from the SEI if there is an SEI. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
