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. C#
  4. Error while Calling WebService

Error while Calling WebService

Scheduled Pinned Locked Moved C#
helpcomxml
3 Posts 2 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
    Jax_qqq
    wrote on last edited by
    #1

    Hi, I have created a web service that contains a fuction [WebMethod] public int SavePersonInfo( object user ) { WebBLL.User WebUser = (WebBLL.User)user; int Id = WebUser.RegisterUser( WebUser ); return Id; } when i call this fuction like this.... prashant1.Service1 mySer = new BLL.prashant1.Service1(); int val = mySer.SavePersonInfo( this ); It's giving me error...:(( An unhandled exception of type 'System.InvalidOperationException' occurred in system.xml.dll Additional information: There was an error generating the XML document. Pls if anybody have any idea regarding this help me out... Thanx & regards Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com -- modified at 9:47 Tuesday 2nd May, 2006

    P 1 Reply Last reply
    0
    • J Jax_qqq

      Hi, I have created a web service that contains a fuction [WebMethod] public int SavePersonInfo( object user ) { WebBLL.User WebUser = (WebBLL.User)user; int Id = WebUser.RegisterUser( WebUser ); return Id; } when i call this fuction like this.... prashant1.Service1 mySer = new BLL.prashant1.Service1(); int val = mySer.SavePersonInfo( this ); It's giving me error...:(( An unhandled exception of type 'System.InvalidOperationException' occurred in system.xml.dll Additional information: There was an error generating the XML document. Pls if anybody have any idea regarding this help me out... Thanx & regards Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com -- modified at 9:47 Tuesday 2nd May, 2006

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      Is it maybe a serializable issue. Is your user object marked as serializable?

      J 1 Reply Last reply
      0
      • P Paddy Boyd

        Is it maybe a serializable issue. Is your user object marked as serializable?

        J Offline
        J Offline
        Jax_qqq
        wrote on last edited by
        #3

        Yes it mark as a serializable. Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com

        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