I have consumed simple web service for addition of numbers and returns the result in variable which is in the following format
<?xml version="1.0" encoding="utf-16"?>
<int>35</int>
So when I try to insert this 35 into database through Execute SQL Task then whole of the xml content given above is inserted into database, so I used XML Tsk in between web service task and Execute SQL Task, it's screen shot is as follows,
Still it is not able to get the node value that is 35 to insert it into database.
You can use an EXECUTE SQL TASK and use code similar to this in the task:
Of course, you will need to modify that query to insert and modify the
@xml
variable to your source variable. I am only trying to point you in the right direction.Raj