Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Web Service De- Serialize errors

Web Service De- Serialize errors

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpcsharpwcfxml
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jonathan15
    wrote on last edited by
    #1

    I get the following error When i access a function on a web service: System.InvalidOperationException: There is an error in XML document (1, 681). ---> System.InvalidCastException: Cannot assign object of type System.Xml.XmlNode[] to an object of type System.String. It looks like it is when the response is being deserialized. What i dont get is that .net generates the code to do this from the WSDL file. So is this a bug in .net or a problem with the WSDL file (niether of which i can do much about). Also how am i going to fix it. If anyone has any ideas i can post the wsdl and the full error. Jonathan

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups