- This topic has 3 replies, 2 voices, and was last updated 14 years, 5 months ago by support-shalini.
-
AuthorPosts
-
Brian HammondMemberI have a web service that was working, but now is broken. I’m using MyEclipse 8.5 on a Windows computer. The project name is NSAM, the web service is CtrlSvc, but the wsdl that myeclipse generates points to http://localhost:8080/Test2/CtrlSvcPort. I don’t even have a Test2 project, so I don’t understand why it wants to put it there. When I create the web service using the wizard, I get a consistent error:
An internal error occurred during: “Generating JAX-WS Web Services”.
java.lang.NullPointerException
I’ve examined the class, and there’s no dangling reference in it; so I don’t think the null pointer is coming from there. I think it may be related to the Test2 entry in the URL.
As I said, this used to work; all I did was try to recreate the web service.
Can you offer any insights into what’s going on?
Thanks,
Brian
support-shaliniMemberBrian,
Can you give some more information?
1. Can you clarify if the project exists in the workspace dir?
2. Are you using the bottom-up scenario to create a web service? In that case when you browse to enter a java bean, while creating a new webservice, do you have test2 listed there? Please make sure you have pointed to the correct java bean.
3. Can you try using the -clean as given in the link below and verify if that works for you
https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/
Also, can you switch to a new workspace and check if the issue persists?
Brian HammondMemberShalini,
1. NSAM exists in the workspace dir, but Test2 doesn’t.
2. I’m using the bottom-up scenario. I’m correctly pointed to the CtrlSvc bean. Test2 doesn’t exist as a bean.
3. I tried the -clean, but it didn’t help.
I created a new project and moved all my files over to it. That cleared up the problem. In the new project I don’t get the null pointer error and the wsdl correctly points to the new project rather than Test2. Apparently, the project properties got corrupted somehow.
Thanks for your help,
Brian
support-shaliniMemberBrian,
Good to know that you are all set.
Do let us know if you have any issues. -
AuthorPosts