Announcement Announcement Module
Collapse
No announcement yet.
Multiple annotation based endpoints Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multiple annotation based endpoints

    Hello,
    Is it possible to use multiple annotation based _Endpoint mappings within the same WS context using different interceptors?

    For example I would like to have both non-secured and secured endpoints. After looking through the Airline sample which uses the same model for the "secureMapping" and browsing through the code a bit I suspect not.

    The Airline sample contains two mappings ("annotationMapping" and "secureMapping") but secureMapping uses "PayloadRootQNameEndpointMapping" instead of annotations. Unless I'm wrong it doesn't appear possible in the current code base to support both endpoint mappings using annotations for each.

    It would be nice to limit the visibility (by class and/or package) of the automatic annotation mapping to support the two different endpoint mapping configurations as it is much more convenient than having to create a bunch of PayloadRootQNameEndpointMapping for each non-secured web service.

    Any other suggestions would be greatly appreciated.

    Thanks!
Working...
X