hello,
i want to add an entry to DMX from a picturegallery module.in this case when i add a picture to the gallery i want to add a reference of that picture to DMX. then i found that SetEntry() function in the DMXWebservice might do the job. the code that i am using is below:
- Dim ds As New System.Data.DataSet
- ''''''''''''''''
- 'Fill the DataSet ds
- ''''''''''''''''
- ds.AcceptChanges()
- Dim dmx As New localhost.Service
- Dim m As New localhost.LoginCredentials()
- m.PortalId = 0
- m.Username = "user"
- m.Password = "pass"
- dmx.LoginCredentialsValue = m
-
- If dmx.Login() Then
- dmx.SetEntry(ds)
- End If
-
But at line 14 Visual studio gets this error:
<!--[if gte mso 9]>
Normal
0
false
false
false
EN-US
X-NONE
AR-SA
MicrosoftInternetExplorer4
"The request failed with HTTP status 400: Bad Request."
please help me get rid of this error.
Thanks,
VKH