1 Reply Latest reply on Nov 11, 2013 8:36 AM by Keith Babo

    Property Violates Validation For Numerics

    pzl_mz Newbie

      switchyard.xml snippet:

       

      <ftp:binding.ftps>
              <ftp:contextMapper/>
              <ftp:directory>${ftp.directory}</ftp:directory> <!-- string property, no problem -->
              <ftp:host>${ftp.host}</ftp:host> <!-- dito -->
              <ftp:port>${ftp.port}</ftp:port> <!-- violates validation at runtime -->
              ...
      </ftp:binding.ftps>
      

       

      Exception thrown:

      java.lang.RuntimeException: SWITCHYARD011602: Model [org.switchyard.config.model.switchyard.v1.V1SwitchYardModel] is invalid: cvc-datatype-valid.1.2.3: "${ftp.port}" ist kein gültiger Wert des Vereinigungsmengentyps "propInteger".
      

       

      How can I set a numeric property field, that does not violate validation?