Details

    • Type: New Feature New Feature
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      3

      Description

      Add a RestHandler in addition to a SoapHandler.

      1. RestHandler.java
        4 kB
        Brian Bonner
      2. RestHandlerTest.java
        2 kB
        Brian Bonner
      3. restRequest.xml
        0.2 kB
        Brian Bonner

        Activity

        Hide
        Brian Bonner added a comment -

        Dan,

        So, I created a RestHandler under the org.codehaus.xfire.rest package extending AbstractHandler similar to SoapHandler, and
        I kept the HandlerChain messages intact. I've eliminated the SOAP binding since there really isn't any other binding, and the Can you comment on this?

        Also, the SoapHandlerTest only responded that both CheckPointHandlers were invoked. The RestHandlerTest handles this the same way.

        Brian

        Show
        Brian Bonner added a comment - Dan, So, I created a RestHandler under the org.codehaus.xfire.rest package extending AbstractHandler similar to SoapHandler, and I kept the HandlerChain messages intact. I've eliminated the SOAP binding since there really isn't any other binding, and the Can you comment on this? Also, the SoapHandlerTest only responded that both CheckPointHandlers were invoked. The RestHandlerTest handles this the same way. Brian
        Hide
        Dan Diephouse added a comment -

        The SOAP binding thing is going away don't worry about that. I will try and finish up my commit tonight, which will probably make it a lot clearer for you.

        Can you attach your rest handler?

        Show
        Dan Diephouse added a comment - The SOAP binding thing is going away don't worry about that. I will try and finish up my commit tonight, which will probably make it a lot clearer for you. Can you attach your rest handler?
        Hide
        Brian Bonner added a comment -

        Dan,

        I haven't tested the RestHandler except for a RestHandlerTest testcase. I'm still uncertain about a few things. I'll attach it. I'm not guaranteeing anything about it though

        Brian

        Show
        Brian Bonner added a comment - Dan, I haven't tested the RestHandler except for a RestHandlerTest testcase. I'm still uncertain about a few things. I'll attach it. I'm not guaranteeing anything about it though Brian
        Hide
        Brian Bonner added a comment -

        RestHandler - this is "tested" using the RestHandlerTest testcase, but has not been put into practice (added per Dan's request).

        Show
        Brian Bonner added a comment - RestHandler - this is "tested" using the RestHandlerTest testcase, but has not been put into practice (added per Dan's request).
        Hide
        Brian Bonner added a comment -

        This is the RestHandlerTest test (and restRequest) based on SoapHandlerTest. I was originally thinking that this would verify that the proper envelope was included around the response (in this case) none.

        Show
        Brian Bonner added a comment - This is the RestHandlerTest test (and restRequest) based on SoapHandlerTest. I was originally thinking that this would verify that the proper envelope was included around the response (in this case) none.
        Hide
        Matt Raible added a comment -

        Is this related to http://netzooid.com/blog/2006/05/22/an-attempt-at-a-rest-programming-model/? Is there a target version # for REST services via XFire?

        Show
        Matt Raible added a comment - Is this related to http://netzooid.com/blog/2006/05/22/an-attempt-at-a-rest-programming-model/? Is there a target version # for REST services via XFire?
        Hide
        Dan Diephouse added a comment -

        Well, I have a prototype on the current xfire version, but its kind of hackish. I'd like to do it for 2.0, which is the celtix/xfire merge, as it has a much more flexible binding architecture. So I think we could see something here in the next 2 months.

        Show
        Dan Diephouse added a comment - Well, I have a prototype on the current xfire version, but its kind of hackish. I'd like to do it for 2.0, which is the celtix/xfire merge, as it has a much more flexible binding architecture. So I think we could see something here in the next 2 months.

          People

          • Assignee:
            Unassigned
            Reporter:
            Dan Diephouse
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: