Page 1 of 1

About Question enthuware.ocejws.v6.2.130 :

Posted: Wed Feb 26, 2014 4:57 am
by t.alex
Hi again,

regarding the explanation for the first option
Note that if a SIB refers to a SEI, the only annotations that are allowed on a SIB are @WebService and @HandlerChain.
Are you sure about that? Question 6.2.178 states:
When used with a javax.jws.WebService annotation, this annotation [@Adressing] MUST only be used on the service endpoint implementation class (SIB).
Greetings,
Alex

Re: About Question enthuware.ocejws.v6.2.130 :

Posted: Wed Feb 26, 2014 5:00 am
by t.alex
oh...on the main explanation you have it right :)
Note that if a SIB refers to a SEI, the only annotations that are allowed on a SIB are @WebService, @HandlerChain, @MTOM, and @Addressing.

Re: About Question enthuware.ocejws.v6.2.130 :

Posted: Wed Feb 26, 2014 3:42 pm
by fjwalraven
Hi Alex,
t.alex wrote: Note that if a SIB refers to a SEI, the only annotations that are allowed on a SIB are @WebService and @HandlerChain.
This explanation came directly from JSR-181 and was bound to all the annotations defined in that document. The @MTOM and @Addressing annotations are not defined in JSR-181 and have to be placed on the SIB.

I have updated the explanation "the only JSR-181 annotations that are allowed on a SIB are @WebService and @HandlerChain". The main explanation stays the same.

Thanks again!
Frits