Forum Discussion

dkarr's avatar
dkarr
Contributor
16 years ago

Creating a new rest project from WADL URL makes it think it's a WSDL

I have a webapp using CXF (2.2.3) running on my laptop, and I've tested the WADL URL for it, and it appears to return something reasonable (I haven't verified it).  I opened up SoapUI 3.0.1 and tried to create a new project.  On that dialog, it seems like when I enter a WADL URL, it thinks it's a WSDL URL. When I click OK, it gives errors saying it couldn't parse a WSDL. The other hint I have that it thinks it's a WSDL is that the "Add REST Service" checkbox gets greyed out when I enter the URL.
  • Hi!

    can you attach the WADL file so I can try to import it myself?

    The "Add REST Service" checkbox will get greyed out since the service will be created from the WADL instead of being manually defined.

    regards!

    /Ole
    eviware.com
  • Well, I would attach the WADL file, but I just discovered that when I simply saved the resulting WADL file to disk and then tried to load that directly, it works fine. So, the problem is with specifying the WADL as a "http:" URL, not loading it from the file system.
  • Hi!

    ah.. ok.. then I have a hunch what could be causing this.. what was the actual URL of the WADL when you tried it that way?

    regards!

    /Ole
    eviware.com
  • "http://localhost:7001/SSAxis/rest?_wadl&type=xml".

    When I used this with "wget" it returned my WADL file (attached just in case).
  • Hi,

    thanks.. unfortunately soapUI isn't very smart here.. it just checks for a .wadl url (ie it doesn't check the actual contents of the file).. It's on the list for improvements.. sorry for the inconvenience..

    regards!

    /Ole
    eviware.com