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

Bring2mind Forums

Receive message 'Guid should contain 32 digits with 4 dashes' when calling GetEntry
Last Post 04/12/2010 2:10 PM by Peter Donker. 1 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Michael Merrell
New Member
New Member
Posts:1


--
04/08/2010 4:29 PM

 Hello, I am attempting to the use the web services built into the DMX module and have some issues with the GetEntry web service call.  Running DNN version 4.8.4 and DMX version 5.2.2.

When I make a call to GetEntry these are the exceptions that I get:

 

There is an error in XML document (1, 2590).
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at DMXService.GetEntry(Int32 EntryId) in DMXService.cs:line 524
   at Gen3_DMXMetaSyncWithMaximo.Program.CommandLine(Int32 jobID) in Program.cs:line 130
   at Gen3_DMXMetaSyncWithMaximo.Program.Main(String[] args) in Program.cs:line 78

An error occured during import of an Entry
   at Bring2mind.DNN.Modules.DMX.Business.EntryInfo.ReadXml(XmlReader reader)
   at System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable serializable, Boolean wrappedAny)
   at System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable serializable)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderDMXService.Read30_GetEntryResponse()
   at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer50.Deserialize(XmlSerializationReader reader)
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)

Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
   at System.Guid..ctor(String g)
   at Bring2mind.DNN.Modules.DMX.Business.EntryInfo.ReadXml(XmlReader reader)

Here is the XML that I'm receiving back as well

[?xml version="1.0" encoding="utf-8"?][soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"][soap:body][getentryresponse xmlns="http://www.bring2mind.net/dmx"][getentryresult][entry][entryid]12726[/entryid][author][/author][collectionid]1[/collectionid][created]12/17/2008 1:35:22 PM[/created][deleted]False[/deleted][entry]2008\12\17\file_20081217_133522_BzR_0.txt[/entry][entrytype]File.Text[/entrytype][filesize]5[/filesize][isapproved]True[/isapproved][keywords][/keywords][lastmodified]12/17/2008 1:35:22 PM[/lastmodified][lastversionid]12726[/lastversionid][md5hash]1B2M2Y8AsgTpgAmY7PhCfg==[/md5hash][originalfilename][/originalfilename][owner]-1[/owner][path]0;1;12726;[/path][permissionsonlybyadmin]False[/permissionsonlybyadmin][portalid]0[/portalid][state][/state][version]2[/version][versionstokeep]-1[/versionstokeep][workflowid][/workflowid][remarks][texts][/texts][/remarks][permissions][permission][permissionid]1[/permissionid][addon]Core[/addon][allowaccess]True[/allowaccess][permissionkey]VIEW[/permissionkey][portalid]0[/portalid][resourcefile]DesktopModules/Bring2mind/DMX/App_LocalResources/SharedResources[/resourcefile][roleid]0[/roleid][userid]-10[/userid][rolename]Administrators[/rolename][username][/username][/permission][permission][permissionid]1[/permissionid][addon]Core[/addon][allowaccess]True[/allowaccess][permissionkey]VIEW[/permissionkey][portalid]0[/portalid][resourcefile]DesktopModules/Bring2mind/DMX/App_LocalResources/SharedResources[/resourcefile][roleid]5[/roleid][userid]-10[/userid][rolename]myCVR_IT[/rolename][username][/username][/permission][permission][permissionid]2[/permissionid][addon]Core[/addon][allowaccess]True[/allowaccess][permissionkey]EDIT[/permissionkey][portalid]0[/portalid][resourcefile]DesktopModules/Bring2mind/DMX/App_LocalResources/SharedResources[/resourcefile][roleid]0[/roleid][userid]-10[/userid][rolename]Administrators[/rolename][username][/username][/permission][permission][permissionid]2[/permissionid][addon]Core[/addon][allowaccess]True[/allowaccess][permissionkey]EDIT[/permissionkey][portalid]0[/portalid][resourcefile]DesktopModules/Bring2mind/DMX/App_LocalResources/SharedResources[/resourcefile][roleid]5[/roleid][userid]-10[/userid][rolename]myCVR_IT[/rolename][username][/username][/permission][/permissions][categories][/categories][entryattributes][/entryattributes][entries][/entries][/entry][/getentryresult][/getentryresponse][/soap:body][/soap:envelope]

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/12/2010 2:10 PM
Hi Michael,

I'll make a note if this and ry to replicate.

Peter
You are not authorized to post a reply.