Announcement Announcement Module
Collapse
No announcement yet.
using annotation in spring ws Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • using annotation in spring ws

    dear friends.

    im new in spring ws,

    i saw spring ws examples,

    im looking for some other simple example, please help me

    and a question :

    can i use java annotation in spring ws ?


    regards
    shams

  • #2
    Originally posted by m.h.shams
    im new in spring ws,

    i saw spring ws examples,

    im looking for some other simple example, please help me
    There is a new, simple example provided in the 1.0 M1 release. It's is in the spring-ws-samples/echo directory.


    Originally posted by m.h.shams
    can i use java annotation in spring ws ?
    It depends on which annotations you mean , but I suppose you mean JSR 181 annotations like @WebService, @WebMethod, etc. Also known as the Web service magic pixie dust.

    We don't support those, because they enforce a RPC (Remote-Procedure-Call) development style, while Spring-WS focusses on document-driven web services. During a recent interview, Ted Neward explained his view on these annotations, and I think he is right. That said, we might support other annotations in the future. I honestly haven't thought about that yet. If you have any ideas, feel free to post them!

    If you are looking for a SOAP stack that supports JSR 181, may I suggest using XFire, which does support them.

    Cheers,

    Comment


    • #3
      thanks

      dear poutsma,

      thanks, to your kindly help.

      Comment

      Working...
      X