473,322 Members | 1,417 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

processinginstruction wont show up from webservice

Hi,

I have a webservice that returns an xmldocument.
I write some processing isntructions to this xmldocument like this

XmlProcessingInstruction myPI3;
PItext = "progid='InfoPath.Document'";
myPI3 = oXML.CreateProcessingInstruction("mso-application", PItext);
oXML.AppendChild (myPI3);

when I invoke this webservice the processing instructions don't show in the
xml.
The idea is that invoking this webservice from a browser results in opening
Infopath 2003 with the correct Infopath form filled with the data from an SQL
server db/
Does anybody have a clue how to do it, either make the processing
instructions appear or this dynamically serving thing to Infopath ?

Thanks in advance
David

Jan 22 '06 #1
0 1128

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: mali djuro | last post by:
Hi all, i try to make xml file with jdom, and also i made xsl file for presenting xml in browser. because of that i need to add processing instuction in xml file .... <?xml-stylesheet...
4
by: anders | last post by:
I have a 'solution' with a Webservice, Business layer and a data layer. In the Business layer I've added a form that need to be started on the server(this site has full rights, runs with Local...
0
by: scorpion53061 | last post by:
I am doing a very deep study of the properties and elements regarding XML in the .NET Framework. Take a look at the sample at http://www.ibiblio.org/xml/slides/sd2003west/xmlandjava/17.html ...
1
by: eewwttww | last post by:
how to show the "txt code" that the WebBrowser wont to save when he wont to save html+pictures with the "dialogbox" - before saving. this is the code to open the save "dialogbox" ...
5
by: AliR | last post by:
Hi Everyone, I have a Visual C++ MFC program, and I am trying to use a webservice written in C#. When I add the webservice to my project using Add Web Reference the sproxy compiler complains...
1
by: Diz | last post by:
Hi, Can anybody tell me why my php script wont run properly unless i put it in a page all on its own? Is it antisocial? Does it want to be alone? I have put it in a page with background and links to...
3
by: Arthur Dent | last post by:
Hello All,.. I have some settings stored in the project settings which show up under My.Settings. ... All works fine. Now, I wanted to change the value of one of these settings, so I went...
2
by: Kent Tenney | last post by:
Howdy, I want to generate the following file; <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet mystyle?> <leo_file>stuff</leo_file> How should I be doing this?
0
by: qutspan | last post by:
When I create taskbox on the form the line beside the box wont show up. it show up untill I have MouseEnter event occur. Also when I have 2 taskbox on the form it does draw the line around the...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.