cannot pass xmldocument
|
| cannot pass xmldocument | hi
i am currently working on a web service which is supposed to take a xmldocument as input parameter, and then returns another xmldocument. the service is added to the web references in my windows application, and the call is executed. problem is that the input arguments gets value nothing in the web service.
currently the code works as follows: - create xmldocument 'input' - create and append elements using appendchild - call the webmethod 'VersionInfo' dim return = VersionInfo(input)
when i don't pass any parameter, just including a load instead, the returned document is all fine. as i have understood, the input parameter should be of type xmlnode, to be loaded into the xmldocument. but as explained above, it shows as 'nothing' in the web service
tia oj
| | > i am currently working on a web service which is supposed to take a > xmldocument as input parameter, and then returns another xmldocument. > the service is added to the web references in my windows application,
Check the topic of XmlSerialization and related Attributes. -- Happy Hacking, Gaurav Vaish http://www.mastergaurav.org http://www.edujini.in -------------------
|
|
|
|
|
 | Members Area | |
|
 | Last Web Marketing |
|
|
|
|
 | Last Programming Tips |
|
|
|
|
 | Last News |
|
|
|
|
|
|