function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ReksReks 

Related to WADL

Can anyone please suggest what  file has to be imported in IMPORT WADL ?

gbu.varungbu.varun

It is an XML file which is generally used for Rest based web service

Ashish_SFDCAshish_SFDC

Hi Rek, 

 

Are you looking for WSDL or WADL? Where are you trying to Import?

 

Regards,

Ashish

ReksReks

After u click on the Import WADL in the first screen in the link  http://www.soapui.org/REST-Testing/getting-started.html then how to proceed further with the file of Initial  WADL ?

 

gbu.varungbu.varun

Do you have a WADL file or not???

ReksReks

Can I have details on that WADL file as I m new to it and would like to start my testing.

gbu.varungbu.varun

you ca find more detail about wadl file here:

 

http://www.w3.org/Submission/wadl/

ReksReks

I would like to understand how to get this linked with the Initial WADL File ? Please suggest !

Even though I referred your link I dint get complete ans for my question. From where this WADL link provided and how to get that so that I could upload and proceed with my testing.

Ashish_SFDCAshish_SFDC

Hi Rek, 

 

Here is a Sample WADL File which might help, take a look, 

 

http://devcenter.kinvey.com/rest/guides/data-link-for-salesforce

 

<application xmlns="http://wadl.dev.java.net/2009/02">
<doc xmlns:jersey="http://jersey.java.net/" jersey:generatedBy="Jersey: 1.16 11/28/2012 02:09 PM"/>
<grammars/>
<resources base="http://0.0.0.0:8081/">
<resource path="{collection}">
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="collection" style="template" type="xs:string"/>
<method id="getQueryResponse" name="GET">
<request>
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="query" style="query" type="xs:string" default="{}"/>
</request>
<response>
<representation mediaType="application/json"/>
</response>
</method>
<method id="deleteQuery" name="DELETE">
<request>
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="query" style="query" type="xs:string" default="{}"/>
</request>
<response>
<representation mediaType="application/json"/>
</response>
</method>
<method id="entityPost" name="POST">
<request>
<representation mediaType="application/json"/>
</request>
<response>
<representation mediaType="application/json"/>
</response>
</method>
</resource>
<resource path="{collection}/{id}">
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="id" style="template" type="xs:string"/>
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="collection" style="template" type="xs:string"/>
<method id="entityPost" name="POST">
<request>
<representation mediaType="application/json"/>
</request>
<response>
<representation mediaType="application/json"/>
</response>
</method>
<method id="entityGet" name="GET">
<response>
<representation mediaType="application/json"/>
</response>
</method>
<method id="entityPut" name="PUT">
<request>
<representation mediaType="application/json"/>
</request>
<response>
<representation mediaType="application/json"/>
</response>
</method>
<method id="entityDelete" name="DELETE">
<response>
<representation mediaType="application/json"/>
</response>
</method>
</resource>
<resource path="/ping">
<method id="handlePing" name="GET">
<response>
<representation mediaType="application/json"/>
</response>
</method>
</resource>
<resource path="{collection}/_group">
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="collection" style="template" type="xs:string"/>
<method id="groupPost" name="POST">
<request>
<representation mediaType="application/json"/>
</request>
<response>
<representation mediaType="application/json"/>
</response>
</method>
</resource>
</resources>
</application>

 

http://devcenter.kinvey.com/resources/salesforce/WADL.xml

 

Regards,

Ashish

 

 

Team WorksTeam Works
How can i use this WADL file with Salesforce? Can i import it into Salesforce to create the class?
gbu.varungbu.varun
You can import wsdl file in the Salesforce to generate Apex class