Error while Calling WebService
-
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 -
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, 2006Is it maybe a serializable issue. Is your user object marked as serializable?
-
Is it maybe a serializable issue. Is your user object marked as serializable?
Yes it mark as a serializable. Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com