Announcement Announcement Module
Collapse
No announcement yet.
Plain XML web service Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • 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.

    Thanks.

  • #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: http://static.springframework.org/sp...ml/server.html

    (Search for 'pox').

    Comment

    Working...
    X