DavidRodriguezVallejo

Create Automatic Request and Responses from WADL

Discussion created by DavidRodriguezVallejo on Mar 27, 2015
Latest reply on Oct 12, 2017 by pawel.lenicki

Hi,

 

I have deployed a VS from a WADL and I have to write the possible responses and the format.

 

Is there any way to create a VS from a WADL and create some set of request-responses automatically?

 

This is an extract from the wadl where you can see it is defined parameters and responses.

 

<resources base="http://ei-arqaso.igrupobbva:7050/announcements">

  <resource path="/V01" id="com.bbva.enax.announcements.facade.v01.SrvAnnouncementsV01">

  <method name="GET" id="listAnnouncements">

  <request>

  <param name="$filter" style="query" default="null" type="xs:string"/>

  <param name="paginationKey" style="query" default="null" type="xs:string"/>

  <param name="pageSize" style="query" default="2" type="xs:long"/>

  <param name="$sort" style="query" default="null" type="xs:string"/>

  </request>

  <response>

  <representation mediaType="application/json" element="prefix1:listAnnouncementsOut"/>

  </response>

Outcomes