Recently I created a webservice (eclipse + jboss) and deployed it using ant. It works great, without problems.
The thing is that I need to create a second one with several modifications, and I need to change the targetNameSpace. I already did that on the @WebService annotation, but when I deploy this new one I always get the older targetNameSpace in the wsdl! I checked and the .class files in my bin folder are not being recreated, I don't know why.
Could you please help me onto changing properly the targetNameSpace? As far as I know, I need to change the urn at the @WebService annotation, but I think I need to do something else, don't know why.
Thanks in advance!
posted 6 years ago
Daahh!! It was not a java problem, but an Eclipse problem.
It had some problems rebuilding the project. Checked in the Eclipse's properties, rebuilded and it changed.