Hallo to all readers
I try to call a VCO webservice from a vb.net program.
one of the input parameter is a LDAP User Object. When I try to deliver a .net LDAP Object the webservice complains about putting a LDAP Object into a string .
Example :
Attribute15.name = "ResponsiblePerson" Attribute15.type ="LdapUser" Attribute15.value = GetADInfo.GetDirectoryEntry(newServer.ServerResponsible) Attributes.SetValue(Attribute15, 15)
So I tried to use :
Attribute15.name = "ResponsiblePerson" Attribute15.type = "LdapUser" Attribute15.value = GetADInfo.GetDirectoryEntry(newServer.ServerResponsible).Path.ToString Attributes.SetValue(Attribute15, 15) Then the GetADInfo.GetDirectoryEntry(newServer.ServerResponsible).Path.ToString looks like : LDAP://CN=Lastname\, Firstname \/XXX HAM,OU=Remote,OU=Users,OU=XXXXX,OU=XXXX,DC=XXX,DC=XXXXX,DC=net but it does not work. So the Question is what does the webservice expect to get when using the type LDAPUser ? The VCO is Version 5.1 running on the VMWare Linux appliance. thx for your sugesstions