Hi Samridhi,

normally you receive a string and not a object, are you sure that you receive a 
object from the execute command? maybe this is the issue.

Cheers

Bernd


> Am 05.12.2014 um 10:40 schrieb Sami Dubey <[email protected]>:
> 
> Dear All,
>  
> We are trying to access the page's HTML using page GUID. However we are not 
> able to achieve this using RQL in .Net 4.0 version.
>  
> Please find the code below we are trying so far
> Webservice URL - http://ourdomain/cms/webservice/RDCMSXMLServer.WSDL 
> <http://ourdomain/cms/webservice/RDCMSXMLServer.WSDL>
> ---------------------------------
> // look up how to transfer asp session to aspx session
> // Basically, asp page loop through all sessions and submit them to aspx
> // which then save the received sessions into aspx sessions
> string _LoginGuid = HttpContext.Current.Session["projectguid"].ToString();
> string _SessionKey = HttpContext.Current.Session["sessionkey"].ToString();
> string _PageGuid = HttpContext.Current.Session["treeguid"].ToString();
>  
> // RqlService is a class manually generated using Visual Stuio by pointing to 
> the web service URL
> RqlService RqlServiceObj = new RqlService();
>  
> string RQL_Command = string.Format("<IODATA sessionkey=\"{0}\" 
> loginguid=\"{1}\"><PAGE action=\"load\" guid=\"{2}\"/></IODATA>", _LoginGuid, 
> _SessionKey, _PageGuid);
> object retObj = RqlServiceObj.ExecuteString(RQL_Command);
>  
> if (retObj != null)
> {
>     // parse that retObj
> }
> ----------------------------
>  
> Please help on this if any one have already used it so far.
>  
> Thanks in Advance,
> With Regards
> Samridhi
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "RedDot CMS Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/reddot-cms-users 
> <http://groups.google.com/group/reddot-cms-users>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reddot-cms-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to