Announcement Announcement Module
Collapse
No announcement yet.
Spring WS - POJO Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring WS - POJO

    Hello
    I 'am a newcomer in Spring WS world, and i would like to know, if can write webservice in POJO ?
    Must i manage all the time with XML library to write services ?

  • #2
    Originally posted by cyriuslevirus View Post
    Hello
    I 'am a newcomer in Spring WS world, and i would like to know, if can write webservice in POJO ?
    Must i manage all the time with XML library to write services ?
    No, Spring-WS does not enable you to write a Web service as a POJO. This is by design, mainly because Web services are all about offering an XML API, and not a Java. Therefore, if you write your WS in Java, you could end up with a lot of interoperability issues, because of the Object/XML impedance mismatch.

    Comment


    • #3
      If you want to do POJO-style development, though, I can recommend XFire.

      Comment

      Working...
      X