I am trying to deploy a RESTful application from Netbeans to a remote server (with the domain name "agdata.se") by following this guide . After I built and deployed, then enter the url " http://agdata.se:8080/WebTest/test-resbeans.html " I get the following error message:
"Unable to access WADL: restart the RESTful application and refresh this page."
When I look in the project folder and unzip the war file, wadl will not be found there. He like Netbeans never created it.
I created a project (let me call it project A) using the selected folders. I chose Java EE 6Web and JavaServer Faces as the basis. I did not configure the structure, so I did not select PrimeFaces or any other components.
Then I made a “RESTFful web service from the database” by clicking on the node project. I created the data source as the guide said, since I am using a MySQL database, not Derby.
I left the "Generate Named Query Annotations for Persistent Fields" set. I did not check "Use Jersey Special Features".
Then I created another web application as well as Faces as a framework. Letäs calls this project B.
I run the "Test RESTful Web Services" and check the "Web Test Client in Project". Then I select project B and I can deploy and build it without any errors. Then I enter the URL of the REST test in Firefox, and it says that it cannot access the WADL file. Again, there is no such file in the project folder when I look at a war file. To be clear, this is the remote server I am deploying to, not localhost. Ubuntu 13 server, I'm on Mac OSX.
Thanks for the help I can get!
source
share