get return value from web service

Last post 08-21-2008 7:26 AM by kamii47. 2 replies.

Sort Posts:

  • get return value from web service

    08-21-2008, 6:27 AM
    • Member
      694 point Member
    • goh6613
    • Member since 03-07-2006, 3:18 AM
    • Posts 244

    hi all...

    i created a web service which will return value to my website when i pass some parameters to the function in web service......when the return value is normal datatype like string,integer,datatable..... it return successfully....but when i try to return a table....it return me this error.... "The XML element 'EnableTheming' from namespace 'http://tempuri.org/' is already present in the current scope. Use XML attributes to specify another XML name or namespace for the element." ..... may i know what is the error......can i return the whole table ?

     

    thanks

  • Re: get return value from web service

    08-21-2008, 7:20 AM
    Answer
    • Member
      171 point Member
    • russell786
    • Member since 02-27-2007, 10:55 AM
    • Posts 41

     u can not return table.... but u can return DataSet .... because dataset can be serialized .....

    hope it will solve the problem

     

    Please click Mark as Answer on this post if it helps you
  • Re: get return value from web service

    08-21-2008, 7:26 AM
    Answer
    • Star
      9,462 point Star
    • kamii47
    • Member since 05-26-2005, 4:04 PM
    • Karachi, Pakistan
    • Posts 2,198

    yes u have return dataset instead of datatable

    Check http://support.microsoft.com/kb/306134 

    Kamran Shahid
    Sr. Software Engineer
    (MCP,MCAD.net,MCSD.net,MCTS,MCPD.net[web])

    Remember to click "Mark as Answer" on the post that helps U
Page 1 of 1 (3 items)