This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Java web services, javax.xml.ws.Service missing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Java web services, javax.xml.ws.Service missing" Watch "Java web services, javax.xml.ws.Service missing" New topic
Author

Java web services, javax.xml.ws.Service missing

vaibhav mishra
Ranch Hand

Joined: Jun 18, 2008
Posts: 168
I am using Netbeans IDE 6.5.1w/ JDK 1.6u13 installed, and when I write this code , or in short this import statement, it says javax.xml.ws not present




can somebody help me

it seems to be some problem with IDE, I used the nightly and its good now


SCJP
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39530
    
  27
Are you certain that NetBeans is using Java 6 for compiling, and not some other installed JRE? That package was added to the JDK in Java 6, so using an earlier version of the class libraries would produce that error.


Ping & DNS - updated with new look and Ping home screen widget
vaibhav mishra
Ranch Hand

Joined: Jun 18, 2008
Posts: 168
thaks for the pointer , but edited the post, my Netbeans6.5.1 shows the above error but it is the Netbeans javafx version so there might be the root of the problem, on the other hand Netbeans 19 may nightly shows no problem with the above code but it is full netbeans installed , with base IDE and javaSE, JavaEE, etc., i.e., everything , problem seems to be like my wrong use of IDE plugins, and there is no other JRE installed in my system, currently I am working on my java code in the nightly Netbeans and on JavaFX in the current version and they both are running f9
 
Don't get me started about those stupid light bulbs.
 
subject: Java web services, javax.xml.ws.Service missing
 
Similar Threads
Help me in writing client foe this JAX ws Web service
Please Help regarding error while create *Service class by using wsimport glassfish v2
cannont resolve getIntegerInstance
No getPort method in javax.xml.ws.Service
JBoss WS client exception