Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    6.1p RESTHandler small problem with transaction with only one request

    Hi Isomorphic,

    please try to send this data to the RESTHandler servlet (v11.1p_2018-01-11) at http://127.0.0.1:8888/builtinds/sc/RESTHandler

    Code:
    <transaction>
      <operations>
        <request>
          <dataSource>animals</dataSource>
          <operationType>fetch</operationType>
        </request>
      </operations>
    </transaction>
    It seems RESTHandler does not accept transactions with only one request.

    Result is:
    Code:
    java.lang.Exception: Fail: The request doesn't look like a single request, and it doesn't look like a queue either!
    <BR>&nbsp;&nbsp;&nbsp;&nbsp;at com.isomorphic.rpc.RestRequestParser.parseRequest(RestRequestParser.java:310)
    <BR>&nbsp;&nbsp;&nbsp;&nbsp;at com.isomorphic.rpc.RPCManager.&lt;init&gt;(RPCManager.java:392)
    ...
    These two requests work fine:
    Code:
    <transaction>
      <operations>
        <request>
          <dataSource>animals</dataSource>
          <operationType>fetch</operationType>
        </request>
        <request>
          <dataSource>animals</dataSource>
          <operationType>fetch</operationType>
        </request>
      </operations>
    </transaction>
    Code:
    <request>
      <dataSource>animals</dataSource>
      <operationType>fetch</operationType>
    </request>
    Best regards
    Blama

    #2
    We've made a change to address this issue. Please try the next nightly build, dated January 18.

    Regards
    Isomorphic Software

    Comment


      #3
      Hi Isomorphic,

      I can this is fixed in v11.1p_2018-01-23 and all three requests are working now.

      Best regards
      Blama

      Comment

      Working...
      X