Hi Bernd,
 
We are unable to get the classes available in the CMS webservice. Could you 
please let us know how we can get that. It is failing in the first step 
itself.
// RqlService is a class manually generated using Visual Stuio by pointing 
to the web service URL
RqlService RqlServiceObj = new RqlService();
 
However we are able to reference the webservice in .Net 4.0 as add 
reference and gave the webservice URL. 
After referring to it we are unable to view any methods or classes so that 
we could get the page HTML using page GUID.
 
Thanks,
Regards
Samridhi
 
On Friday, December 5, 2014 3:15:18 PM UTC+5:30, Bernd wrote:

> 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] <javascript:>
> >:
>
> 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
> ---------------------------------
> // 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] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> Visit this group at http://groups.google.com/group/reddot-cms-users.
> For more options, visit 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