Hi all,
I'm trying to access the ACK message from a response object using the msg[][] form.
I have the following code:
msg=responseMap.get('MyDestination').getMessage();
I can see the message is hl7 in the logs but I want to be able to access the fields to determine if there were errors or not in order to return the proper soap response to the client. I've looked briefly around the forum and noticed there was a SerializerFactory? can I pass this a string that is already an hl7 object and have it create a message object for me? I'm not sure the best way to go about this, please let me know if clarification is necessary.
I'm trying to access the ACK message from a response object using the msg[][] form.
I have the following code:
msg=responseMap.get('MyDestination').getMessage();
I can see the message is hl7 in the logs but I want to be able to access the fields to determine if there were errors or not in order to return the proper soap response to the client. I've looked briefly around the forum and noticed there was a SerializerFactory? can I pass this a string that is already an hl7 object and have it create a message object for me? I'm not sure the best way to go about this, please let me know if clarification is necessary.
Comment