Announcement

Collapse

Mirth Connect 4.3.0 Released!

Mirth Connect 4.3.0 is now available as an appliance update and on our GitHub page.

This is a major release containing new features like adding new functionality to the Mirth Connect Setup Wizard, adding the ability for resource and channel-specific classloaders to load child-first or parent-first, and added a default implementation of the getObjectsForSwaggerExamples() method in the ServicePlugin class. This release also contains enhancements for the Mirth Connect Administrator Launcher, the Mirth Connect Docker images, and several bug fixes and security improvements.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

SerializerFactory not defined

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SerializerFactory not defined

    Root Exception stack trace:
    org.mozilla.javascript.EcmaError: ReferenceError: "SerializerFactory" is not defined. (81566f39-ed47-4bb6-8780-2a2995cc8331#5)

    This is 1.7 on OSX

    DAVE

  • #2
    Re:SerializerFactory not defined

    Ok, I'm kinda new to Mirth. Does it usually take a while to get support issues answered? Is there a better place to post this ?

    Dave

    Comment


    • #3
      Re:SerializerFactory not defined

      Your problem is related to an error in the code of your transformers. Please, post your channel to review it.

      Comment


      • #4
        Re:SerializerFactory not defined

        davec wrote:
        Ok, I'm kinda new to Mirth. Does it usually take a while to get support issues answered? Is there a better place to post this ?

        Dave
        You must buy a support package from WebReach if you want official support for Mirth.
        Brendan Haverlock | Mirth Software Engineer | Mirth Corporation

        Comment


        • #5
          Re:SerializerFactory not defined

          Since you are using version 1.7, please post your channel or code so that we can test it here and see if it is a problem with the release or just an error in your code.

          Post edited by: brendanh, at: 01/25/2008 11:50
          Brendan Haverlock | Mirth Software Engineer | Mirth Corporation

          Comment


          • #6
            Re:SerializerFactory not defined

            the transformer that is stored there is old data. It doesn't show up when I try to edit the transformer. incoming.xml (15737 bytes)

            Comment


            • #7
              Re:SerializerFactory not defined

              The problem is the code you have at the preprocessor (Scripts-->Preprocessor)

              You've

              Code:
              return SerializerFactory.getHL7Serializer(useStrictParser, useStrictValidation, handleRepetitions).fromXML(message);
              Please, change it to:

              Code:
              return message;
              And, at the "Source" Tab, choose "No" to process batch files.

              Comment


              • #8
                Re:SerializerFactory not defined

                OK,

                But how do you get from xml to hl7 then ?

                Dave

                Comment


                • #9
                  using Package.
                  Code:
                  Packages.com.mirth.connect.model.converters.SerializerFactory.getHL7Serializer().toXML(returnMessageHL7);

                  Comment

                  Working...
                  X