Hi Jian,
 
Thank you for the information :)
 
Regards
Samridhi
On Monday, December 8, 2014 10:29:33 AM UTC+5:30, Jian Huang wrote:

> Hi Samridhi, 
>
> The session variables are ASP sessions.  Please first google "transfering 
> asp sessions to .net sessions"
>
> There are .NET code samples for both MS 10.x (.NET 2, I think) and MS 11.x 
> (.NET 4) in the RQL manual, please download that and have a look.
>
> If you are going the .NET route, instead of the JQuery RQL route, please 
> have a look at Hilmar's https://github.com/erminas/smartapi
>
> If you are going the JQuery RQL route, here is the 7.x to 11.x compatible 
> connector, https://github.com/jhuangsoftware/j-rql-connector-https
>  
> On Friday, December 5, 2014 4:58:52 AM UTC-5, Sami Dubey wrote: 
>>
>>  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 <sd7...@gmail.com>:
>>>
>>>  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 reddot-cms-use...@googlegroups.com.
>>> To post to this group, send email to reddot-c...@googlegroups.com.
>>> 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 reddot-cms-users+unsubscr...@googlegroups.com.
To post to this group, send email to reddot-cms-users@googlegroups.com.
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