Results 1 to 2 of 2
Nov 28, 2008, 10:23 #1
- Join Date
- Sep 2004
- 0 Post(s)
- 0 Thread(s)
posting xml file to a web service
what is the correct syntax to post an xml file to a web service.
XmlDocument x = new XmlDocument();
TxttoolsAddressbookServiceService myService = new TxttoolsAddressbookServiceService();
but this gives error on build -
cannot convert from 'System.Xml.XmlDocument' to 'TxtToolsService.AddressbookRequest'
also i tried converting the file to a series of bytes but get this error on build -
cannot convert from 'byte' to 'TxtToolsService.AddressbookRequest'
Whats the correct way to pass the xml data to the web service?
Nov 28, 2008, 14:10 #2
You may want to consider outsourcing the work.