views:

22

answers:

2

I want to access a inventory system which is accessible through webservice, What is the best way to integrate, I thought of directly expose the entity facade as a web service using @WebSerive it's possible but don't know whether it's a good approach or not, need some advice.

Thanks.

A: 

You could eventually define the methods to be exposed in the same class (or maybe create a wrapper).

thelost
A: 

My understanding is that you want to consume a web service i.e. to implement a web service client. My recommendation would be to use JAX-WS for this. See :

Pascal Thivent