Webservice for a JSF application
We wrote a quite complicated application using a JSF + Spring + Hibernate.
It has many business process. There are different kind of users (and roles).
Users have to fill many forms and when all the forms are validated the
"order" is sent to the server and it will be processed by another kind of user.

Now we have to write **webservices** for this process. That is, "orders" are going to be
sent batch using XML and an XML file containing error messages has to be returned in case 
of errors or an orderId has to be returned otherwise.

My question is manyfolded.

 - What should I take into consideration?
 - Should I use RestFul webservices
 - Should I use SOAP?
 - Should I use WSDL?

Any comment is welcome.

Thanks in advance.

Luis
Webservice for a JSF application
===

We wrote a quite complicated application using a JSF + Spring + Hibernate.
It has many business process. There are different kind of users (and roles).
Users have to fill many forms and when all the forms are validated the
"order" is sent to the server and it will be processed by another kind of user.

Now we have to write **webservices** for this process. That is, "orders" are going to be
sent batch using XML and an XML file containing error messages has to be returned in case 
of errors or an orderId has to be returned otherwise.

My question is manyfolded.

 - What should I take into consideration?
 - Should I use RestFul webservices
 - Should I use SOAP?
 - Should I use WSDL?

Any comment is welcome.

Thanks in advance.

Luis