Hi currently i am trying out RTI Connext and i encounter a problem when i try to use an QoS file which was used for the ADLINK's Opensplice implementation.
I added the qos_library is should, but it still can't find the sub elements past the qos_profile.
this is a snippet of my QoS.xml file.
<?xml version="1.0" encoding="UTF-8"?>
<dds
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="6.0.0"><qos_library name="TestLibrary">
<qos_profile name="TestProfile" ><topic_qos name="StaticData">
<durability>
<kind>TRANSIENT_DURABILITY_QOS</kind>
</durability>
<lifespan>
<duration>
<sec>DURATION_INFINITE_SEC</sec> <nanosec>DURATION_INFINITE_NSEC</nanosec>
</duration>
</lifespan>
</topic_qos>
</qos_library>
</qos_profile></dds>
and use "dds::core::QosProvider(ConvertToUri(pathQoSFile) + "QoS.xml, TestLibrary::TestProfile)" to make it known to manager.
i still get the following error:
DDS_QosProvider_get_profile_xml_objectI:ERROR: Profile 'TestLibrary::StaticData' not found
DDS_QosProvider_get_topic_qos_from_profile:ERROR: Profile '(null)::StaticData' not found
I have verified that it can find the profile from the QoS file, and ik can, and the profiles are also loaded.
What is than the reason that i get this error?
I try to reuse my code which i used when trying out Opensplice as much as possible, and i don't have any problems there.
Thanks in advance,
Nick
I use the following code:
with some tries a manage to change the error message.
I forced TestPofile::StaticData, but it doesn't change anything.
it is now either the above or:
I managed to solve my problem. When i call the QosProvider::topic_qos it asks for the profile itself. not the topic_qos.
Aparently RTI handles this different than Adlink.
But after that i get a new error which i find dificult to understand.
I am glad that you were able to make it work.
WRT your second issue, it sounds to me like you are using unbounded sequences but that you missed setting some properties (See this, extracted from this other post). If this is not the case, open a new thread with your issue.