473,779 Members | 2,038 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem getting responseXML, Using MSXML 3.0

Hi,

Could someone please suggest where I am going wrong... Iam using MSXML
3.0 and VC++ but i end up getting blank response XML

try
{
hr = m_PSiebelDocume nt.CreateInstan ce(MSXML2::CLSI D_DOMDocument);
if(SUCCEEDED(hr ))
{
hr = m_PSiebelHTTPpa ge.CreateInstan ce(CLSID_XMLHTT P30);
SUCCEEDED(hr) ? 0 : throw (HTTPSEND_ERROR );
hr=m_PSiebelHTT Ppage->open("GET",url String,false);
SUCCEEDED(hr) ? 0 : throw (URL_OPEN_ERROR );
hr=m_PSiebelHTT Ppage->send();
SUCCEEDED(hr) ? 0 : throw (SWE_SEND_ERROR );
m_PSiebelDocume nt = m_PSiebelHTTPpa ge->responseXML;
AfxMessageBox(m _PSiebelDocumen t->xml);//This is always blank
:-(
m_PSiebelElemen t = m_PSiebelDocume nt->documentElemen t;//This is
always NULL
}
}

The responseXML is blank when the urlString is as follows

http://test-tyrelink.bfeuro pe.com/eai_enu/start.swe?Usern ame=SADMIN&Pass word=SADMIN&SWE ExtCmd=Execute& SWEExtSource=Si ebelQuery&SWEEx tData=<?xml+ver sion="1.0"+enco ding="UTF-8"?<SiebelMessa ge+MessageId="" +IntObjectForma t="Siebel+Hiera rchical"+Messag eType="Integrat ion+Object"+Int ObjectName="MF+ PDA+Jobsheet+Mg t+(Portal)"><Li stOfMfPdaJobshe etMgtPortal><Mf JobsheetHeader+ searchspec="'Id '+=+'1-14ZQPZ'"><L
stOfMfJobsheetT yres2><MfJobshe etTyres2+search spec="'Type'+=+ 'Product+on+Veh icle'"/></ListOfMfJobshee tTyres2><ListOf MfJobsheetTyres Replacement2><M fJobsheetTyresR eplacement2+sea rchspec="'Type' +=+'New+Product '"/></ListOfMfJobshee tTyresReplaceme nt2></MfJobsheetHeade r></ListOfMfPdaJobs heetMgtPortal></SiebelMessage>

Is it because of the particular URL type and length or am I going
wrong somewhere in code? but the method responseText is working
fine..
Regards
Punit
Jul 20 '05 #1
0 1635

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

Similar topics

0
1346
by: prash | last post by:
hello everyone In my applicaiton I am using vb6 dll to connect to a jboss 4 server and run a script in the jboss and get the data from jboss server and contiue work with that data return in the dll my code looks like this Dim oXMLdoc As New MSXML.DOMDocument '// Create a XMLHttpRequest object
4
12231
by: leodippolito | last post by:
Hello sirs, I am trying to send a POST request to a webservice on the click of a button. This will return me an XML document with a list of combo box items. The problem: in FIREFOX, when the get the XmlDocument from the XmlHttpRequest object, I can't access its contents. I keep getting empty strings and "null".
3
8584
by: Alexander Mikhailian | last post by:
I have an http = new XMLHttpRequest(); that provides me with an http.responseXML. Somewhere deep in the http.responseXML there is a fragment called e.g. mydom that I want to copy with all its children to the document. document.getElementsByTagName('body').innerHTML=mydom; does not work. What should I do? Traverse mydom manually? Look for a JS library that does this already?
3
8495
by: Q1tum | last post by:
Hi all, I have a problem with getting the amount of childs in a XML structure, the strucure is somewhat like the following: <?xml version="1.0" encoding="iso-8859-1"?> <cms> <num>21</num> <xmlnames> <field>id</field>
3
1645
by: kimono | last post by:
I'm using MSXML 4.0 in my application and i have a problem when i try to retrieve an attribut value with the property IXMLDOMNode::nodeTypedValue. in my XML i have the element : <MyElem x_date="2006-03-16T12:30:30" x_int="6"/> If i attach an XDR document : <AttributeType name="x_date" required="yes" dt:type="datetime" /> <AttributeType name="x_int" required="yes" dt:type="number" />
7
5013
by: KaNos | last post by:
Hello aspx world, I consume a webservice with Javascript functions. But the response is ok and, very strange, document is null. How to resolve this problem thanks ?????? xmlHttpRequest.open("POST", myAddressLocation, false); xmlHttpRequest.setRequestHeader("Content-Type", "text/xml; charset=utf-8"); xmlHttpRequest.send(xmldocumentSoapRequest);
1
2181
by: Pugi! | last post by:
Currently I am using a responsexml for an xmlhttprequest. The information is then processed by javascript : elements are created with attributes incl events using setAttribute; in other words I create html with the information in the responsexml. This works fine with firefox and Opera, but IE doesn't do anything with these events (onclick, onmouseover, ...) on an image or cell (td) created this way. One alternative is that I should be...
4
5945
by: =?Utf-8?B?SmFzb24=?= | last post by:
I'm using an ASP 3.0 page to query the USPS site for shipping rate info using the ServerXMLHTTP.3.0 object. The code is as follows: set objSrvHTTP = Server.CreateObject("Msxml2.ServerXMLHTTP.3.0") objSrvHTTP.open "GET", "http://production.shippingapis.com/ShippingAPI.dll?API=RateV2&XML=" & xmlDoc.xml, False objSrvHTTP.send The request is successful, as indicated when I pretty print the resulting
8
2627
by: =?ISO-8859-1?Q?Une_B=E9v?==?ISO-8859-1?Q?ue?= | last post by:
I have a page here : <http://thoraval.yvon.free.fr/Fixed_layout/import_nodes.xhtml> where i import nodes using XMLHttpRequest. it's ok when importing an SVG file (click on "Actions" + "Import SVG") but i get req.responseXML === null when trying to import a MathMl file why ? the file bernoulli.nml is ther...
0
9636
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...
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10306
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10138
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10074
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
9930
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
6724
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
5503
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2869
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.