Cyberactiva - webmaster tutorials, programming and videogames tricks

webmaster menu webmaster menu webmaster menu webmaster menu webmaster menu webmaster menu webmaster menu webmaster menu
  

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
-------------------
Register for freeMembers Area
Web MarketingLast Web Marketing
Web MarketingLast Programming Tips
Web MarketingLast News


Web Marketing Links and links exchange .