Hi,
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?
Thanks.
@Addressing and the @Action annotation
Moderators: Site Manager, fjwalraven
-
- Posts: 15
- Joined: Sat Oct 25, 2014 1:58 am
- Contact:
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Re: @Addressing and the @Action annotation
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.
Regards,
Frits
-
- Posts: 15
- Joined: Sat Oct 25, 2014 1:58 am
- Contact:
Re: @Addressing and the @Action annotation
Thanks for the response Frits!
Who is online
Users browsing this forum: No registered users and 4 guests