4 Replies Latest reply on Nov 9, 2012 12:41 PM by Jeff DeLong

    http binding causes build to fail

    Jeff DeLong Master

      This binding was created with Visual Editor:

       

      <http:binding.http>
          <selector:operationSelector operationName="postCreate"/>
          <http:address>http://localhost:8080/postCreate</http:address>
          <http:method>POST</http:method>
          <http:contentType>text/plain</http:contentType>
        </http:binding.http>

       

       

       

      It fails when building with the following

       

      [ERROR] Failed to execute goal org.switchyard:switchyard-plugin:0.6.0.Beta2:configure (default) on project PAC: Model [org.switchyard.config.model.switchyard.v1.V1SwitchYardModel] is invalid: cvc-complex-type.2.4.a: Invalid content was found starting with element 'http:binding.http'. One of '{"http://docs.oasis-open.org/ns/opencsa/sca/200912":binding, "http://docs.oasis-open.org/ns/opencsa/sca/200912":callback, "http://docs.oasis-open.org/ns/opencsa/sca/200912":requires, "http://docs.oasis-open.org/ns/opencsa/sca/200912":policySetAttachment, "http://docs.oasis-open.org/ns/opencsa/sca/200912":extensions}' is expected. -> [Help 1]

      [ERROR]