Forum Discussion
4 Replies
Sort By
- SmartBear_SuppoSmartBear Alumni (Retired)Hi!
Have a look at http://www.eviware.com/blogs/oleblog/?p=11 and scroll down to the "Define a REST Service without a WADL" section further down in this document..
regards!
/Ole
eviware.com - sabereshcpContributorThanks Ole, For the response. But the tool is not able to invoke the service if i give the uri where the xml file is located for the rest service.when i try to invoke it says
ERROR:An error occured [WSDLException (at /PersonsT): faultCode=INVALID_WSDL: Expected element '{http://schemas.xmlsoap.org/wsdl/}definitions'.]
there is just a xml file in the url specified.I just want to know whether that can be invoked in the tool.
Thanks in Advance,
Saberesh C P - SmartBear_SuppoSmartBear Alumni (Retired)Hello,
I think you're looking at the wrong part of the blog post. Since you do not have a WADL file to work from you need to skip past the section "Starting from a WADL" and instead look at the section below it, "Define a REST Service without a WADL". Doing so, you don't enter anything for the initial WSDL/WADL field when creating the project. Instead you get an empty project for which you can then add a new REST Service. This is where you provice the URL you are targeting.
Regards,
Dain
eviware.com - sabereshcpContributorHi Dain,
Thanks for the reply. I have done with it. Thanks a lot.
I just want to know whether can we parameterize the parameters in the REST request with the values from the properties step.Can it be done through groovy scripting.If so please let me know the scripting or the classes which areused and the syntax to set the parameter values.
Thanks in Advance,
Saberesh C P