sharepoint2010升级2013后 页面脚本调用 内置webservice失效

  alert(strname);
    xmlWrap.push("<?xml version='1.0' encoding='utf-8'?>");
    xmlWrap.push("<soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>");
    xmlWrap.push("<soap:Body>");
    xmlWrap.push("<GetUserProfileByName xmlns='http://microsoft.com/webservices/SharePointPortalServer/UserProfileService'>");
    xmlWrap.push('<AccountName>'+strname+'</AccountName>');
    xmlWrap.push("</GetUserProfileByName>");
    xmlWrap.push("</soap:Body>");
    xmlWrap.push("</soap:Envelope>");
     xmlWrap = xmlWrap.join('');

    $.ajax({
        async:false,
        type:"Post",
        url:"/_vti_bin/userprofileservice.asmx",
        contentType:"text/xml; charset=utf-8",
        processData:false,
        data:xmlWrap,
        dataType:"xml",
        success:function (result) { //succes

         obj=result.xml;
        // alert(obj);

                     },
      error:function (result) { //succes

          alert(result.text+"Get Barch Fail!"); 

          }
    });

服务器升级SP2013后 10的网站页面经常会有红色背景色的提示 升级2013 。我就点了升级。本来正常的脚本就取不到值咯。。。我要取的是userprofileservice中的值