• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Wrong targetNameSpace in wsdl

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greetings!

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!
 
Liwuen Chew
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
That's a very big dog. I think I want to go home now and hug this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic