Hi Stephen,

Sorry to hear about your trouble, but I am very glad to know that you
are using the AJAX approach to RQL.

Here is the asp rql gateway/connector we use

<?xml version="1.0" encoding="utf-8" ?>
<%
        Response.ContentType = "text/xml"

        Dim objIO       'Declare the objects
        Dim xmlData, sError, retXml
        set objIO = Server.CreateObject("RDCMSASP.RdPageData")
        objIO.XmlServerClassName = "RDCMSServer.XmlServer"

        xmlData = Request.Form("rqlxml")

        xmlData = objIO.ServerExecuteXml (xmlData, sError)

        Set objIO = Nothing

        If sError <> "" Then
        retXml = "<ERROR>" & sError & "</ERROR>"
        Else
        retXml = xmlData
        End If

        Response.Write(retXml)
%>

With this connector, you should still be getting returned rql
containing loginguid whether user is already logged in or not.

However, sessionguid you cannot get unless you use rql to log into a
project.

I strongly advise against running RQL off of the webservice as it
competes with Management Server for RQL communication bandwidth.

Please let us know if this worked for you.

-Jian

On Apr 12, 9:41 am, TonyGayter <[email protected]> wrote:
> Yes thats the same thread I just posted, I think things are getting confused
> though due to google changing their groups layout
>
> Just save this to a asmx file
>
> <%@ WebService Language="C#" Class="RDCMSXMLServer" %>
> using System;
> using System.Web;
> using System.Web.Services;
> using System.Web.Services.Protocols;
>
> [WebService(Namespace = "http://your.site.com/path/";)]
> //[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
> public class RDCMSXMLServer : System.Web.Services.WebService
> {
> [WebMethod]
> public string Execute(string RQLQuery, ref string RQLError)
> {
> Type RdXmlServerType = Type.GetTypeFromProgID("RDCMSServer.XmlServer");
> object RdXmlServer = Activator.CreateInstance(RdXmlServerType);
>
> object[] Arguments = { RQLQuery, RQLError };
>
> return RdXmlServerType.InvokeMember("Execute",
> System.Reflection.BindingFlags.InvokeMethod, null, RdXmlServer,
> Arguments).ToString();
>
> }
> }
>
> Then put that in the same folder as teh other RQL soap services
>
> Call the execute method on teh in teh same way you would using teh
> Rqlservice, but this service will return all teh information the
> Loginservice/RqlService should (but doesnt)

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to