I'm trying to build a web service client and server in c#. my server has a method that inputs an string, and returns the results of a mysql query (several columns, several rows). My WSDL file has the return as an array, which works when I make a manual client to make the call.
I'm now trying to create a client in c#. I imported the web interface with success and am able to make calls with other functions that return a string. How do i work with an array? When the call is made as-is, i get an exception error:
exception {"'Element' is an invalid XmlNodeType. Line 2, position 523."} System.Exception {System.Xml.XmlException}
The pseudo-code that c# creates shows the function returns a string, so i'm not sure if my WSDL file should be updated w/ something other than array, or my c# code needs update w/ a better function or different data type. Any ideas? I'd be happy to post the WSDL file or c# code.
thanks,
I'm now trying to create a client in c#. I imported the web interface with success and am able to make calls with other functions that return a string. How do i work with an array? When the call is made as-is, i get an exception error:
exception {"'Element' is an invalid XmlNodeType. Line 2, position 523."} System.Exception {System.Xml.XmlException}
The pseudo-code that c# creates shows the function returns a string, so i'm not sure if my WSDL file should be updated w/ something other than array, or my c# code needs update w/ a better function or different data type. Any ideas? I'd be happy to post the WSDL file or c# code.
thanks,