Search

 

Module: Editor

Version: 21.01 +

Category: Data

 

Description

Allows you to retrieve the ResourceManager XML string from Vision. This can be used as ResourceDocument for your Futurama application. On the page Text-management-and-Multi-language in the section 'Importing resources using a VisionReference' is described how the property ResourceDocument in Document can be filled with the ResourceManager XML string using a VisionReference.

Parameters

No parameter is required to call this Vision-reference.

Response

Format

<Response xmlns="http://www.actuit.nl/futurama/vision/service/response/1.0">
    <ResultCode code="00000" success="true">
        <Description>Success</Description>
    </ResultCode>
    <Result xsi:type="GetResourceManagerXmlResult">
        <ResourceManagerXml><![CDATA[
<ResourceManager xmlns="http://www.ActuIT.nl/DataTypes/Resources/"
  xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <languages>
        <arr:string>NL</arr:string>
        <arr:string>EN</arr:string>
    </languages>
    <resources>
        <Resources>
            <ResourceID>Title</ResourceID>
            <ResourceData>
                <translations>
                    <arr:string>TitelNL</arr:string>
                    <arr:string>TitleEN</arr:string>
                </translations>
            </ResourceData>
        </Resources>
        <Resources>
            <ResourceID>Weblabel</ResourceID>
            <ResourceData>
                <translations>
                    <arr:string>Weblabel_NL</arr:string>
                    <arr:string>Weblabel_EN</arr:string>
                </translations>
            </ResourceData>
        </Resources>
    </resources>
</ResourceManager>]]></ResourceManagerXml>
    </Result>
</Response>

Within the Result element you find the result of your VisionReference webservice call. Use soapUI to get a quick overview of the responses (see the paragraph 'Example soapUI message').

Return codes

The following return codes can be encountered:

  • 00000 - GeneralSuccess: The operation completed successfully
  • 01999 - GeneralFailError: The operation caused an error

Example soapUI message

Below you find an example of an XML-message. This example can be used in your soapUI project to test the connection with Vision and to see the response.

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
	<s:Header>
		<Futurama path="\\servername\path\futurama" version="1.0" xmlns="http://www.actuit.nl/futurama/vision/service/header/1.0"/>
		<Document path="\\servername\path\data.xml" version="1.0" xmlns="http://www.actuit.nl/futurama/vision/service/header/1.0"/>
	</s:Header>
	<s:Body>
		<Request method="GetResourceManagerXml" version="1.0" module="Data" xmlns="http://www.actuit.nl/futurama/vision/service/request/1.0"/>
	</s:Body>
</s:Envelope>

Within the Header element you find an element 'Document' and an element 'Futurama'. For these elements you have to fill in the path of the Document and the Futurama respectively you also configured in the Apps and Futuramas tab of the Vision Management Site.

Feedback

If you have any questions about this subject or if you want to provide us feedback please send us an e-mail.

Updated: 2021-01-27