Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8927

WIS30650 after changing universes with REST API

$
0
0

I created a very simple WebI report (one object), and attempted to switch it from its original unv universe to an identical unx universe.  The switch appeared to work correctly:

 

GET http://server:6405/biprws/raylight/v1/documents/69684/dataproviders/mappings?originDataproviderIds=DP0&targetDatasourceId=69934

 

Response:

<?xml version="1.0" encoding="UTF-8"?><mappings>

    <content>

        <mapping status="Ok">

            <source>

                <id>DS0.DO8</id>

            </source>

            <target>

                <id>OBJ_8</id>

            </target>

        </mapping>

    </content>

</mappings>

 

Send the mapping back in a POST to do the change:

POST http://ad1hfdbow010:6405/biprws/raylight/v1/documents/69684/dataproviders/mappings?originDataproviderIds=DP0&targetDatasourceId=69934

 

<?xml version="1.0" encoding="UTF-8"?><success>

    <message>The resource of type 'Document' with identifier '69684' has been successfully updated.</message>

    <id>69684</id>

</success>

 

Re-get the data provider to ensure it was updated correctly:

GET http://ad1hfdbow010:6405/biprws/raylight/v1/documents/69684/dataproviders/DP1

 

Response is as expected:

<?xml version="1.0" encoding="UTF-8"?><dataprovider>

    <id>DP1</id>

    <name>Query 1</name>

    <dataSourceId>69934</dataSourceId>

    ......

 

Save successfully:

PUT http://ad1hfdbow010:6405/biprws/raylight/v1/documents/69684

<?xml version="1.0" encoding="UTF-8"?><success>

    <message>The resource of type 'Document' with identifier '69684' has been successfully updated.</message>

    <id>69684</id>

</success>

 

But when I attempt to open the report in WebI, I get:

The action cannot be performed. (WIS 30650).

 

Any idea?


Viewing all articles
Browse latest Browse all 8927

Trending Articles