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). EG in
the AddressBook, the calling/instantion of GetAddress performs the
registering of the required objects, creating the other objects that are
needed on the same SOAP stack. What I am looking to do is run SOAP to
provide communication between two physically distinct devices, (joined by,
probably, ethernet). So using the AddressBook example, I would want to
create a number of Address objects and add them to the AddressBook in a
class called, for example, AddressBookInit which would be created on a
device, eg device1.
Then I would want to create a GetAddress example on another device, device2,
and for it to run (as it does in the example), to retrieve a given field, or
all fields, or whatever, from my AddressBook on device1.
I have tried to modify the AddressBook example to suit my needs, but have
been struggling for a couple of days. I'm fairly sure my problem lies in the
registering of my Objects or services. I create the initial AddressBook,
populate it with Addresses, and thats fine. But I am not sure of how I
register it, (and also alllow my remote instance of GetAddress to know the
details of this registry). I continually get "Null" faults from a Fault Code
of server, which I assume means it has no handle on the registry of my
objects.
I hope that made sense, almost certainly not....
Any help at all would be met with enormous waves of gratitude, (even
pointing me at some examples that demonstrate this)....
Thanks very much.