Announcement Announcement Module
No announcement yet.
Plain XML web service Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Plain XML web service

    Hi, I'm very new to Spring so I was hoping you could help me out on a requirement I have for a project I'm working on.

    I need to accept XML messages from an outside party over HTTP. The XML is in a fixed format and isn't wrapped in any sort of SOAP elements - it's just various proprietary XML messages sent over HTTP, in a well-documented structure.

    I was orginally just going to use a Servlet and parse the XML using Xerces, and manually create objects to represent the messages internally. So my question is - what facilities in Spring are there to make this easier and more robust. Most of what I have read involves SOAP web services so I'm not sure if there would be support for doing anything like this? Any help would be much appreciated.


  • #2
    Check out the 'pox' (Plain Old XML) example that comes with Spring Web Services. I think it does exactly what you want.

    See also:

    (Search for 'pox').