1

I need to use jax-rpc in a project using the Eclipse IDE. The problem is that I don't know what JDK to use because when I write:

import javax.xml.rpc;

or

import javax.xml.rpc.Stub;

I get an error error telling me Eclipse IDE can not find it in the library.

I downloaded the JDK 7 and JDK 6, but neither solves it.

There is a Jax-ws library but, I know I need to use jax-rpc.

user13500
  • 3,817
  • 2
  • 26
  • 33
Charlie
  • 63
  • 1
  • 10

2 Answers2

4

It seems like you didnt add the library in the project. please add rpc jar in the project. RPC is older version of webservice for the tutorial you cans use http://docs.oracle.com/javaee/1.4/tutorial/doc/JAXRPC3.html. You can also use apache axis which more better than the rpc style of webservice.

ramesh027
  • 796
  • 1
  • 10
  • 27
1

open www.google.com

write "download javax.xml.rpc library"

download jar file.

Place the jar file in plugin folder of eclipse.

Right click on your java project->Build path->Add library-> browse the jar from plugin folder.

kingAm
  • 1,755
  • 1
  • 13
  • 23
  • Thank you! Do you know any place where i can find a tutorial for web services jax-rpc con eclipse ? Thanks. – Charlie Mar 16 '14 at 17:59