473,769 Members | 1,637 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

processinginstr uction wont show up from webservice

Hi,

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

XmlProcessingIn struction myPI3;
PItext = "progid='InfoPa th.Document'";
myPI3 = oXML.CreateProc essingInstructi on("mso-application", PItext);
oXML.AppendChil d (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 1161

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

Similar topics

1
5916
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 type="text/xml" href="test.xsl" ?> <root> .... </root>
4
7694
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 System account), th BL is called from the WS. So in my Business layer I've added code to start and close the form, but I get the error: "It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode....
0
895
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 Starting with <?php it is a "processingInstruction" which we have a property for in our XmlTextReader. When I place this instruction into an XML doc in my case statement in my
1
1353
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" Me.WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_PROMPTUSER, 0, 0 this is not good for me: Text1.Text = WebBrowser1.Document.documentElement.OuterHTML
5
3798
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 about one of the object wanting to extend MarshalByRefObject object, and I get an error SDL1030. I can use the webservice in a C# project just fine but not the C++. Can anyone help me out with this?
1
1597
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 other pages, but it wont generate a large version of a thumbnail unless it has a page all to itself. here is the php coding i've used: <td colspan="2" rowspan="3" width="760" > <?php /** * Autogallery * Urs Gehrig, <urs @circle.ch> * */...
3
3014
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 into the app.config file, and changed the value, and reran the app. But it still picks up the old value, and doesn't pay attention to the new value which I entered in the app.config file.
2
2291
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
1367
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 label however the line wont draw when i have 1 taskbox move away from another taskbox. The line is gone at last sec when taskbox move away. could someone please tell me where does I made mistake and how to fix it thank you Below is the code.
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
9994
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9863
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8870
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7408
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3958
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.