Link to home
Start Free TrialLog in
Avatar of densontech
densontech

asked on

posting xml message to servicereference

I am trying to post the following xml string via service reference to  a webservice webmethod function, how do i format the string to accept the xml message in VB.NET.
The current way gives me the following error:Cannot set a value on node type 'Element'
<
im client As New ServiceReference1.ServiceSoapClient()
            client.UpdateBatchData.Value = ("<tunnelcommunication><DeviceID>1</DeviceID><slingready>True</slingready></tunnelcommunication>")

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of ste5an
ste5an
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial