473,409 Members | 1,954 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,409 software developers and data experts.

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_PSiebelDocument.CreateInstance(MSXML2::CLSID_DOM Document);
if(SUCCEEDED(hr))
{
hr = m_PSiebelHTTPpage.CreateInstance(CLSID_XMLHTTP30);
SUCCEEDED(hr) ? 0 : throw (HTTPSEND_ERROR);
hr=m_PSiebelHTTPpage->open("GET",urlString,false);
SUCCEEDED(hr) ? 0 : throw (URL_OPEN_ERROR);
hr=m_PSiebelHTTPpage->send();
SUCCEEDED(hr) ? 0 : throw (SWE_SEND_ERROR);
m_PSiebelDocument = m_PSiebelHTTPpage->responseXML;
AfxMessageBox(m_PSiebelDocument->xml);//This is always blank
:-(
m_PSiebelElement = m_PSiebelDocument->documentElement;//This is
always NULL
}
}

The responseXML is blank when the urlString is as follows

http://test-tyrelink.bfeurope.com/eai_enu/start.swe?Username=SADMIN&Password=SADMIN&SWEExtCm d=Execute&SWEExtSource=SiebelQuery&SWEExtData=<?xm l+version="1.0"+encoding="UTF-8"?<SiebelMessage+MessageId=""+IntObjectFormat="Si ebel+Hierarchical"+MessageType="Integration+Object "+IntObjectName="MF+PDA+Jobsheet+Mgt+(Portal)"><Li stOfMfPdaJobsheetMgtPortal><MfJobsheetHeader+searc hspec="'Id'+=+'1-14ZQPZ'"><L
stOfMfJobsheetTyres2><MfJobsheetTyres2+searchspec= "'Type'+=+'Product+on+Vehicle'"/></ListOfMfJobsheetTyres2><ListOfMfJobsheetTyresRepla cement2><MfJobsheetTyresReplacement2+searchspec="' Type'+=+'New+Product'"/></ListOfMfJobsheetTyresReplacement2></MfJobsheetHeader></ListOfMfPdaJobsheetMgtPortal></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 1619

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

Similar topics

0
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...
4
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...
3
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...
3
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>...
3
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...
7
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 ?????? ...
1
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...
4
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 =...
8
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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,...
0
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...
0
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...
0
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,...
0
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...

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.