[Solved] Get Page with Authorisation to a Analytics server

Regular Contributor

[Solved] Get Page with Authorisation to a Analytics server

Dear all,

I am very familar with RM and RA and I love both.
Now I got a new Issue to solve.

I have to connect with the Operator Get Page to a Rapid Analytics Webservice.
The connections working well with curl request in PHP and RM Requests if the credentials are stored in the password manager.

But I need that this process, that connects to a anaylytics server, is exported as a webservice it self on a Rapid Analytics Server.
Both analytics server don't have to be the same Server.

I assume it is solveable via the request parameters like in Curl Requests. I still miss there a description which parameters are allowed .. or I have to use to implements Get Page in a dynamic way.

Regards Uwe

Re: Get Page with Authorisation to a Analytics server

Hi Uwe,

you can use BasicAuth with Get Page to authenticate to a RA Webservice.
Here is an example:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.3.009">
  <operator activated="true" class="process" compatibility="5.3.009" expanded="true" name="Process">
    <process expanded="true">
      <operator activated="true" class="web:get_webpage" compatibility="5.3.000" expanded="true" height="60" name="Get Page" width="90" x="112" y="75">
        <parameter key="url" value="http://localhost:8080/RAWS/process/dynamiclyLoadCategories"/>
        <list key="query_parameters">
          <parameter key="filter" value="2"/>
        <list key="request_properties">
          <parameter key="Authorization" value="Basic YWRtaW46Y2hhbmdlaXQ="/>
      <connect from_op="Get Page" from_port="output" to_port="result 1"/>
      <portSpacing port="source_input 1" spacing="0"/>
      <portSpacing port="sink_result 1" spacing="0"/>
      <portSpacing port="sink_result 2" spacing="0"/>

I've set the request property 'Authorization' with the basic authentication parameters 'Basic' and Base64 encoded 'username:password'.

Regular Contributor

Re: Get Page with Authorisation to a Analytics server

Dear Nils,

sorry for reading and answering by myself lately.
My colleague said It works fine.
Thank you.