문제

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.

도움이 되었습니까?

해결책 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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top