Search code examples
javaeclipseweb-servicesjax-rpc

WebService Client in Java with jax-rpc


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.


Solution

  • 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.