locked
Calling custom webservice in ms crm RRS feed

  • Question

  • i need to send some xml data to my webservice like

    [Webmethod]
    public string GetResponse(string strXmlRequest)
        {

    XmlDocument doc=new XmlDocument();
    doc.load(strXmlRequest);
       }

            and i amd sending data like.......
    <soap:Body>"+
    "<GetResponse xmlns=\'http://tempuri.org/\'>"+
    "<strXmlRequest>"+  <LossInfo>
    <LCategory>ABC</LCategory>
    <LCategoryId>110</LCategoryId>
    </LossInfo>
    +"</strXmlRequest>"+
    "</GetResponse>"+
    " </soap:Body>"+
    "</soap:Envelope>";


    but i am not getting any Http response if i send data like this .........Pls help me

    please let me knw if i am using wrong way to  send parameter.........


    thanks in advance...........


    mahender
    Thursday, March 19, 2009 1:44 PM
    Moderator

Answers