@Addressing and the @Action annotation
Posted: Mon Feb 23, 2015 2:32 pm
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.
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.