Question

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.

Was it helpful?

Solution 2

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.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top