I'm not sure what you mean by "capture string values", but take a look at
this code
http://enterprise-solutions.swits.net/infopath2007/infopath-2007-frequently-aske
d-questions-faq.htm#how-to-call-webservice-from-code
and see whether it helps.
---
S.Y.M. Wong-A-Ton
> Is there anyway to capture string values from a secondary datasource (web
> service) using VB.net?
>
> Thanks