Hi

I was able to get the Soap V1 interface working so defined relationships by sending the 2 modules and the 2 ids. But: when using a selfreference (i.e. linking "Contacts" to "Contacts") the Soap V1 interface crashes so I tried V2.

Besides that it got me some minutes until I found that the password needs to be MD5 hashed before sending I got it generally working. But set_relationship doesn't work for me probably as I'm using the wrong parameters.

I tried V2 (would as well take V4 if it works better)

Even the interface answers: created 1, failed 0, deleted 0 no entry into the relationship table is done.

Here my relation definition
relationship_name: contacts_contacts
lhs_module ; Contacts
lhs_table : contacts
lhs_key : id
rhs_module : Contacts
rhs_table : contacts
rhs_key : id
join_table : contacts_contacts_c
join_key_lhs : contact95d0acts_ida
join_key_rhs : contact902bacts_idb
relationship_type : many-to-many

What I enter into the soap client
session: => session id I got from login is => is working
module_name: Contacts
module_id: ??? shall I enter the ID of contact 1 here ???
link_field_name: contacts_contacts
related_ids.item[0]: ??? does come the ID of contact 1 or 2 here ???
name_value_list.item[0].name: ???
name_value_list.item[0].value: ???
delete: 0

I know this was asked before but I haven't found an answer in the forum nor on Google. Can anyone post a SOAP request that works?

Cheers
pbel