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

Bring2mind Forums

DMXService.asmx
Last Post 12/17/2014 4:18 PM by steve mangelschots. 2 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
steve mangelschots
New Member
New Member
Posts:2


--
12/08/2014 4:56 PM
Hi,

I'm trying to connect to the webservice but i keep getting an error.

var service = new WebprojectenService.Service();

var login = new LoginCredentials();
login.Username = username;
login.Password = password;
login.PortalId = 0;

service.LoginCredentialsValue = login;

service.Login();

var test = service.GetPortalCollectionlist();
my code

Server was unable to process request. ---> Cannot deserialize type 'Bring2mind.DNN.Modules.DMX.Entities.Entries.EntryInfo' because it contains property 'IsLocked' which has no public setter.

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/12/2014 3:55 PM
I'll have a look at this. But I doubt the web service will be kept for very long in its current form. Everyone, even MS, is moving away from this technology in favor of WebAPI. Our dependency on DNN 6 prohibits using this in DMX for now, but eventually we'll move over.

Peter
steve mangelschots
New Member
New Member
Posts:2


--
12/17/2014 4:18 PM
Hi Peter,

Thanks for te responce, I will be better of using a custom module (endpoint) and skip the use of the webservice.

Steve
You are not authorized to post a reply.