I have developed and published a Java web service on Glassfish server using Netbeans. I can test and use the wsdl file properly using my local application. When I deployed the war file on the server (temporarily I am using jelastic.com as my server), I can access the wsdl file using the URL
http://fesdvi.jelastic.servint.net/FESWebService/Diagnose?WSDL
But cannot test the web service using url
http://fesdvi.jelastic.servint.net/FESWebService/Diagnose?Tester
It gives me following error message
Error generating artifacts for the following WSDL (removed http:// as cannot post more than 2 links) fesdvi.jelastic.servint.net/FESWebService/Diagnose?WSDL
PS: I am not using secured http.
Please help me to sort out this problem.
Following is the extract from the server-instance.log
[ERROR] Connection refused
Failed to read the WSDL document: because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not .
Could not find wsdl:service in the provided WSDL(s):
At least one WSDL with at least one service definition needs to be provided.|#]
Failed to parse the WSDL.|#]
Moreover I am trying to find the wsdl on the server but I am not able to find, I am still exploring the application deployment structure in jelastic..
It looks like the root cause of the issue is wrong endpoints settings, since you have uploaded your project with local machine settings. It is possible to see list of all Web Service endpoints at the Admin Console. After you have logged to it, look at tree in the left, find item "Applications" expand it and click on your WebApplication. You will see the table, in action column you will find "View Endpoint" links (They should contain the URL of your environment and correct ports).
Also, I think that the Eclipse plugin from Jelastic ( http://docs.jelastic.com/eclipse-plugin-user-manual ) will help you to solve this issues. PS If this will not help, you should to contact with your Hosting Provider Support and ask them about the help.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.