RFEM 6 API: get_all_selected_objects returns "UNKNOWN" type #42
-
Hi there, we have encountered unexpected response when invoking get_all_selected_objects in RFEM 6.02.0073. Here is a dump of the response: <?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<n1:get_all_selected_objectsResponse xmlns:n1="http://www.dlubal.com/rfem.xsd">
<value>
omitting unrelated elements...
<object_location>
<type>UNKNOWN</type>
<no>1</no>
</object_location>
</value>
</n1:get_all_selected_objectsResponse>
</soap:Body>
</soap:Envelope> "UNKNOWN" type was not expected because it is not in the object_types enum. This causes an exception during deserialization on our side. Is UNKNOWN a new enum? Or it is an issue in API response? Thank you for answering. :-) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @sonkaste1, |
Beta Was this translation helpful? Give feedback.
Hi @sonkaste1,
unfortunately I could not reproduce this behaviour in the current customer version (6.03.0001). UNKNOWN is no new enum and therefore shouldn't be returned. Which object type did you select in your model? For further analysis of the problem it would be good if you could provide a detailed description and the related RFEM model.