• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

developing web services using netbeans (error on deploying application)

 
Ranch Hand
Posts: 113
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am developing a web service using netbeans and created a test client for it. Here my webservice is hosted locally as you can see the path is localhost:8080....




if I remove @WebServiceRef............ line of code then I am able to deploy the application. but it is required for me to have this code and getting below error on deployment.

deploy?path=C:\Documents and Settings\tanukumar.gulati\My Documents\NetBeansProjects\FirstClient\build\web&name=FirstClient&force=true failed on GlassFish v3 Domain
C:\Documents and Settings\tanukumar.gulati\My Documents\NetBeansProjects\FirstClient\nbproject\build-impl.xml:578: The module has not been deployed.


When i tried to create another webservice client i was able to deploy and run the webservice (below one)


Is it some thing to do with the webservice locally hosted ? can any body suggest me some thing.

I am using http://netbeans.org/kb/61/websvc/client.html as a starting point to create webservices client in netbeans.
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Have you noticed that the @WebServiceRef annotation is used to annotate an instance field, not a class?
Like this:

Best wishes!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic