Tags » User

need to get the node value from the xml

I use the following code for Getting the Id by using SOAP Services.I got the Xml Response for that it was working Fine.

    function guid(){

    var xml = "<?xml version='1.0' encoding='utf-8'?>" + 
        "<soap:Envelope xmlns:soap=\"http://ift.tt/sVJIaE\" xmlns:xsi=\"http://ift.tt/ra1lAU\" xmlns:xsd=\"http://ift.tt/tphNwY\">" + 
        GenerateAuthenticationHeader() +
        "<soap:Body>" + 
        "<RetrieveMultiple xmlns=\"http://ift.tt/19Bb7BX\">" + 
        "<query xmlns:q1=\"http://ift.tt/1gOjyyB\" xsi:type=\"q1:QueryExpression\">" + 
        "<q1:EntityName>opportunity</q1:EntityName>" + 
        "<q1:ColumnSet xsi:type='q1:ColumnSet'>" + 
        "<q1:Attributes>" + 
        "<q1:Attribute>opportunityid</q1:Attribute>" +
        "</q1:Attributes>" + 
        "</q1:ColumnSet>" + 
        "<q1:Distinct>false</q1:Distinct>" + 
        "</query></RetrieveMultiple>" +
        "</soap:Body></soap:Envelope>";

        var xmlHttpRequest = new ActiveXObject("Msxml2.XMLHTTP");
        xmlHttpRequest.Open("POST", "/mscrmservices/2007/CrmService.asmx", false);
       // xmlHttpRequest.setRequestHeader("SOAPAction", "http://ift.tt/1aqXjO3");
        xmlHttpRequest.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
        xmlHttpRequest.setRequestHeader("Content-Length", xml.length);
        xmlHttpRequest.send(xml);

        var result = xmlHttpRequest.responseXML.xml;
        var doc = new ActiveXObject("MSXML2.DOMDocument");
        doc.async = false;
        doc.load(result);


    }
… 24 more words
Recent Questions - Stack Overflow

Wow! Far Cry 4 !

I am so happy with Far Cry 4 that I’m creating a blog. Hopefully it can serve as a hub for questions, discoveries, easter eggs, etc. 286 more words

Far Cry 4

An Introductory Definition

There’s been a lot of flibbity jibbity lately about too many Facebook selfies being a big fat pointy finger at a narcissist. While this is a potential indicator of both somatic narcissism and douche-tobogganism, it’s misleading as hell. 747 more words

Narcissistic Personality Disorder

3 Easy Ways to Optimize Your Website for Mobile Devices

If you haven’t optimized your website or blog for mobile traffic, you’re missing out on a huge revenue opportunity. If you don’t optimize your website, poor formatting and slow load times will scare away mobile traffic. 397 more words

App

COMPUTER VS HEALTH

Computer has played such important role in our modern day lives. Most computer-related jobs require people to sit in front of the computer for longer periods both for students and workers. 330 more words

Stella Maris International School

list to tuple return in python

I am new to python. I am trying to create a function which takes string and list as arguments and returns a boolean value for every list element found (this should be returned as tuple) in the string. 95 more words

Recent Questions - Stack Overflow

Using EWS Managed Api with Office 365 Api

I am trying to use EWS managed Api with Office 365 Api via Azure AD. I have done the following tasks so far.

Recent Questions - Stack Overflow