Wrox Programmer Forums
|
BOOK: Professional InfoPath 2003
This is the forum to discuss the Wrox book Professional InfoPath 2003 by Ian Williams, Pierre Greborio; ISBN: 9780764557132
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional InfoPath 2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 9th, 2004, 09:46 AM
Authorized User
 
Join Date: Oct 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default External datasource

Hi,
I have created an external data source which calls a web service and return a string.

I have something like that
    objDataObject=XDocument.DataObjects("getDate");
        objDataObject.DOM.setProperty("SelectionNamespaces ",'xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution"');
        data=objDataObject.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/getDateResponse/getDateResult");
XDocument.UI.Alert(data);

but I get an error when it tries to display it.
Am I doing something wrong with the namespace?
Thanks






Similar Threads
Thread Thread Starter Forum Replies Last Post
DataSource suhas_feb BOOK: Professional Jakarta Struts 1 June 19th, 2007 09:46 PM
Datasource Change tjmherman Crystal Reports 2 August 2nd, 2006 10:24 AM
Object datasource VS DataSource SoftMind BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 4 July 27th, 2006 10:44 PM
searching a datasource aadz5 ASP.NET 1.0 and 1.1 Basics 4 November 12th, 2003 05:59 PM
DataSource keseln J2EE 1 June 8th, 2003 08:45 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.