Question Jakub Hemala · Feb 27, 2024

Hello,

I wrote a class that extends %Persistent and has only a few properties, one of which is Serial, a %SerialObject property (it needs to store any class that extends %SerialObject). When I assign a value to this property and call %Save on the class instance, I get this:

<METHOD DOES NOT EXIST>zSerialNewObject+1^HS%Library.SerialObjectr

I have not modified the compiled code manually. I have tried deleting the Storage definition for the class and recompiling. Did not work. I have tried creating an entirely new class, copying the properties in and compiling, that didn't work either.

4
0 306
Question Jakub Hemala · Nov 7, 2023

Hello,

I've been stuck on this for a few days so I figured I'd ask for help here.

I have an XMLMessage response from a ProvideAndRegister call which looks like this:

<?"1.0"?>
<!-- type: HS.Message.XMLMessage  id: ### --><</

I want to extract RegistryResponse/RegistryErrorList/RegistryError/@errorCode from this message. 

I have tried way too many permutations of the XPath query to list.

4
0 415