Passing a parameter to a web service

R

Rob Blitz

If I have a secondary data source attached to a web service, and that web
service (method) takes a parameter, how do I set the parameter at run time.
I can get the secondary data source DOM and I can see from the XML that it
has an input property, but can't seem to access the node to update the input
parameter. Whenever I try to select the node, I get an exception stating
that the namespace prefix is not declared, even though I see the prefix in
the XML.

The only thing weird about the secondary data source XML is that it has not
XML declaration; but I didn't create it that way, InfoPath did.

Is modifying the secondary datasource DOM this way (and then invoking the
Query method of that DataObject to inoke the web service) the right
approach?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top