users@jersey.java.net

Custom WADL generators

From: Niranjan Nanda <nnanda_at_live.in>
Date: Tue, 26 Jan 2010 23:49:44 +0530

Hi All,

I have a situation in my project for which I am not able to decide how to put a custom WADL generator. I have already gone through the Jersey WIKI which explains the custom WADL generators. Please go through my situation which is summarized below and help me.

We have a SOAP service in place and we want to build RESTful service endpoints around it.The application has 12 SOAP endpoints because there are 12 different business actors. Each has its own WSDL and uniquely identified as a unique URL in the system. (simply, we have configured 12 <endpoint> elements in WEB-INF/sun-jaxws.xml file)I could develop RESTful endpoints for all these 12 segregation by assigning unique @Path to endpoint class. But when I am opening the WADL (http://host:port/context/restful/application.wadl), it opens all the 12 unique Paths. I am using SOAP-UI for testing my services.My intention is to block this default WADL generation because this way all 12 actors are able to invoke all services.My next intention is to generate WADL for each of these segregation which we can distribute as our RESTful service contract (as we distribute WSDL as SOAP service contract).
Please let me know if there is a way I can do. Let me know if further information is needed. I cannot share the actual endpoint details because of non-disclosure restrictions.

Thanks,
Niranjan


                                               
_________________________________________________________________
New Windows 7: Simplify what you do everyday. Find the right PC for you.
http://windows.microsoft.com/shop