- Posts: 15
- Joined: Sat Oct 25, 2014 1:58 am
I have been trying to understand why there are so many rules around wsaddressing annotation.
Firstly, i realized that if @Addressing annotation is used on interface than it doesn't make any difference to WSDL and hence WS-Addressing is not enabled. We are advised to use @Addressing annotation only on Service Endpoint Implementation Class.
Secondly, WS-Adressing concept tells us that its great to have @Action annotation with addressing to make it more interoperable but to my surprise if we use @Action annotation on class it doesn't make any difference on the WSDL it needs to go on Interface!
Can you please let me know suspense behind this requirement?
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
Unfortunately the specs don't say why it is like it is, but for the @Action you could argue that it is used in the wsdl:portType which is related to the SEI.Can you please let me know suspense behind this requirement?
For the @Addressing annotation it could have been on either the SEI or the SIB, however they specified that it has to be on the SIB. Maybe it is related to the tooling that works with these classes behind the scenes.
Users browsing this forum: No registered users and 0 guests