Announcement

Collapse
No announcement yet.

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