vendredi 20 février 2015

Jersey invoke multi restful webservice using the same annotaed pojo

we have used Spring mvc,Jersey to implement restful web services running under weblogic. Could someone elaborate how can we invoke multiple services by passing the same annotated class as inputs?


E.g. Let's say annotated class is C1 used to send as input for service S1 and S1 intern invokes service S2 along with same C1 object as input.


We have the package-info at the package level (which is bound to S1 namespace) but how can i design C1 in such way to make it compatible and reusable for the invocations of service S1 and S2? This will help us writing duplicate annotated classes for each service. Thanks much in advance!!


Aucun commentaire:

Enregistrer un commentaire