Results 1 to 2 of 2

Thread: Plain XML web service

  1. #1
    Join Date
    Jul 2008
    Posts
    4

    Default 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. #2
    Join Date
    May 2007
    Location
    Brisbane, Australia
    Posts
    97

    Default

    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').

Posting Permissions

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