At 12:00 PM 6/26/2001 +0100, Dylan J Browne wrote:
>Hi,
>
>This is a difficult question to put into words, especially as I am new-ish
>to SOAP, but I'll try....
>
>All the examples given with SOAP2.2, and all the others I can find on the
>web, are run using a single SOAP implementation(Ie on one machine)...
> .....So using the AddressBook example, I would want to
>create a number of Address objects ....which would be created on a
>device, eg device1.
>
>Then I would want to create a GetAddress example on another device, device2
...
I'm not sure what you mean by saying that the examples run on one machine.
The AddressBook objec, as part of the service, does need to be deployed on
one particular machine, the server for that service; that service carries
with it a JVM with a classpath, and samples.addressbook.AddressBook needs
to be available to that JVM on that machine. However, when you run the
PutAddress and GetAddress and so on, they communicate with the server via
http, so they can live on device2, device3, .. deviceN, and the service
(i.e., the AddressBook object, with whatever Address objects it contains)
does not know and does not care. Thus I have no trouble running a SOAP
service on this machine and a client on another machine connected via
ethernet...but maybe I'm just not understanding the difficulty.
Tom Myers