Forum Discussion

dkarr's avatar
dkarr
Contributor
16 years ago

Test built from WADL fails with "URIException: escaped absolute path not valid"

I have a simple prototype using CXF running on my laptop, using "wget" for testing.  The URL used for the test has nothing unusual in it.  No spaces or special characters.

I used CXF to generate the WADL file and stored that to disk (the new project dialog doesn't grok it if I specify the WADL URL) and was able to create a new project from the WADL. When I tried to run a test, I got

"Thu Sep 17 11:57:08 PDT 2009:INFO:Error getting response for [rest?_wadl&type=xml./item/{id}:Request 1]; org.apache.commons.httpclient.URIException: escaped absolute path not valid"

In the "Request 1" test in the new project, the initial part of the URL is "http://localhost:7001", and the "Full path" field adds "/SSAxis/rest/catalog/item/{id}". In the Name/Value pairs table, I set the value for "id" to "1".

I've attached the WADL file.