Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

DMXService SetEntry() Problem
Last Post 11/20/2010 8:16 AM by khademiattehran. 1 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
vkh
New Member
New Member
Posts:1


--
11/17/2010 11:45 AM

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:
           

  1.           Dim ds As New System.Data.DataSet
  2. ''''''''''''''''           
  3.           'Fill the DataSet ds
  4. ''''''''''''''''
  5.           ds.AcceptChanges()
  6.           Dim dmx As New localhost.Service
  7.           Dim m As New localhost.LoginCredentials()
  8.           m.PortalId = 0
  9.           m.Username = "user"
  10.           m.Password = "pass"
  11.           dmx.LoginCredentialsValue = m
  12.  
  13.             If dmx.Login() Then
  14.                 dmx.SetEntry(ds)
  15.             End If
  16.  

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

 

khademiattehran
New Member
New Member
Posts:1


--
11/20/2010 8:16 AM
Hi VKH
i think so that's a bug in setEntry Method.
You are not authorized to post a reply.