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. Web Development
  3. ASP.NET
  4. deserialization error: no deserializer is registered for schema type: hashMap

deserialization error: no deserializer is registered for schema type: hashMap

Scheduled Pinned Locked Moved ASP.NET
helpcsharpjavadatabasexml
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.
  • I Offline
    I Offline
    IamMohan
    wrote on last edited by
    #1

    Hi, I am consuming a Java web service from my .NET client application. I am able to send and receive all primitive types but when I send ArrayList of Hashmaps to Java Web Service, I am getting the following error. "caught exception while handling request: deserialization error: no deserializer is registered for schema type: hashMap" Please find the code that I wrote given below. Kindly help me to fix this problem. private void Form2_Load(object sender, EventArgs e) { object[] objarray = new object[1]; MyWebService1 ts = new MyWebService1(); arrayList al = new arrayList(); hashMap hMap = new hashMap(); mapEntry[] mEntryArray = new mapEntry[1]; mapEntry mEntry = new mapEntry(); mEntry.key = "ert"; mEntry.value = "54"; mEntryArray[0] = mEntry; hMap.mapEntry = mEntryArray; objarray[0] = hMap; al.item = objarray; // = objarray; arrayList alt; alt = ts.testArrayListOfArrayListOfHashmap(al); }

    M-o-h-a-n

    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