Results 1 to 3 of 3

Thread: using annotation in spring ws

  1. #1
    Join Date
    Aug 2005
    Posts
    13

    Smile 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. #2
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    Quote 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.


    Quote 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,
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

  3. #3
    Join Date
    Aug 2005
    Posts
    13

    Thumbs up thanks

    dear poutsma,

    thanks, to your kindly help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •