This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Services and the fly likes Can someone help in identifying what is wrong with the code? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Can someone help in identifying what is wrong with the code?" Watch "Can someone help in identifying what is wrong with the code?" New topic
Author

Can someone help in identifying what is wrong with the code?

Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

I am trying to learn Webservice. Right now I was looking in RPC and was confronted with the following error.
Can someone help me here.





I am also attaching the screenshot of my workspace for better clarity.



[Thumbnail for screenShot.jpg]


My Blog SCJP 5 SCWCD 5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42367
    
  64
I'm not familiar with the org.apache.xmlrpc.webserver.WebServer class, but if it doesn't have some particular mathod, why are you trying to use that method?


Ping & DNS - my free Android networking tools app
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

Well I am referring some book and in that this program was given. OI was just trying to run it so that I can have better understanding.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42367
    
  64
Well, that class has no such method, so you need to try something else.
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

Yes the example is done using older version.

Thanks Ulf for the help.
 
 
subject: Can someone help in identifying what is wrong with the code?