mmoser18
8 years agoFrequent Contributor
Error opening soapUI project file from v5.3.0 with soapUI v5.2.1
We have a problem with the new soapUI version 5.3.0: Some of our team have already upgraded to v5.3.0, others have not. Initially we had no issue with that but with our current version of our tes...
- 8 years ago
I believe the only way to stay 100% compatible with 5.2.1 is to stay with 5.2.1 with all editors of the SoapUI project. The 5.3.0 version comes with changes and they are reflected in the project file XML structure.
In your case, version 5.3.0 allows the status of access token having the value "UNKNOWN", whereas 5.2.1 did not.
The set of allowed values is in 5.3.0:
<xsd:simpleType name="AccessTokenStatus"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="UNKNOWN"></xsd:enumeration> <xsd:enumeration value="ENTERED_MANUALLY"></xsd:enumeration> <xsd:enumeration value="WAITING_FOR_AUTHORIZATION"></xsd:enumeration> <xsd:enumeration value="RECEIVED_AUTHORIZATION_CODE"></xsd:enumeration> <xsd:enumeration value="RETRIEVED_FROM_SERVER"></xsd:enumeration> <xsd:enumeration value="EXPIRED"></xsd:enumeration> <xsd:enumeration value="RETRIEVAL_CANCELED"></xsd:enumeration> </xsd:restriction> </xsd:simpleType>
In the version 5.2.1:
<xsd:simpleType name="AccessTokenStatus"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="ENTERED_MANUALLY"></xsd:enumeration> <xsd:enumeration value="WAITING_FOR_AUTHORIZATION"></xsd:enumeration> <xsd:enumeration value="RECEIVED_AUTHORIZATION_CODE"></xsd:enumeration> <xsd:enumeration value="RETRIEVED_FROM_SERVER"></xsd:enumeration> <xsd:enumeration value="EXPIRED"></xsd:enumeration> <xsd:enumeration value="RETRIEVAL_CANCELED"></xsd:enumeration> </xsd:restriction> </xsd:simpleType>
If you want to convert the project file back to 5.2.1, I would try changing the value (UNKNOWN to e.g. EXPIRED) in the project XML and then to check in the 5.2.1 SoapUI. There might be other issues once you resolve this one.