0

i am going to develop a RESTFul web service using Spring WS. This service will receive an XML as request which will have authentication information as well as request information.

I need to parse XML request and get those authentication details and authenticate that request.

How can i achieve this functionality using Spring Security? Or any other way for this?

Please Help. Thanks.

Ankur Raiyani
  • 1,509
  • 5
  • 21
  • 49

1 Answers1

0

As far as I know, you can only develop contract-first SOAP services with Spring-WS.

Spring Web Services aims to facilitate contract-first SOAP service development, allowing for the creation of flexible web services using one of the many ways to manipulate XML payloads

Check out: http://static.springsource.org/spring-ws/sites/2.0/

Take a look at this page for examples on how to create restful services with Spring 3.x.

evandongen
  • 1,995
  • 17
  • 19