[SoapRMI] Beginner
Aleksander Slominski
aslom_at_cs.indiana.edu
Sat, 05 Apr 2003 18:19:42 -0500
Leo Galambos wrote:
>On Sat, 5 Apr 2003, Aleksander Slominski wrote:
>
>
>
>>http://www.extreme.indiana.edu/xgws/xsoap/download/xsoap_1_2/LICENSE.txt
>>
>>
>
>Superb! BTW: 5) ... Indiana Univeristy ... Indiana Univeristy Extreme!
>Lab... ??? Univeristy or University ???
>
>
University ...
>>>2) If I implement something via XSOAP (so my JAVA app'd think that it
>>>operates over RMI, right?), may I export the inner SOAP functions to the
>>>world?
>>>
>>>
>>yes - every remote object exported with XSOAP is also web service.
>>
>>
>
>Is there a sample (or guide)?
>
if you know RMI it is (almost) all that you need. however with XSOAP is
is even simpler (!) as you do not need naming service such as RMI
registry (still you can use JNDI if you want but it is not required) as
you can specify location of remote object directly by its host:port.
check hello example in src/java/samples and that should get you started
quickly.
>Let us say, I have an interface
>http://egothor.sourceforge.net/docs/org/egothor/data/Barrel.html that
>would be enveloped by SOAP. It is my starting/ending point.
>
make sure that all services are marked as remote objects (extend
RemoteObject) and exporte (UnicastRemoteObject.exportObject()).
thanks,
alek
--
"Mr. Pauli, we in the audience are all agreed that your theory is crazy.
What divides us is whether it is crazy enough to be true." Niels H. D. Bohr