0 Replies Latest reply on Apr 28, 2015 12:23 PM by coffee bean

    Rest using Fuse

    coffee bean Newbie

      Hi

       

      I'm using the following versions :

      CXF :2.7.0.redhat-610379

      Fuse : jboss-fuse-6.1.0.redhat-379

       

      I'm trying to invoke the annotated "ALL" rest method ( process() ) on the service but the method does not get called. I've debugged and logged messages out, neither of which have proved successful. I can only conclude that the methods are not getting called.

       

      I've attached the Test class, Service class, Interface class and XML configuration files.

       

       

      Don't receive any output from the log message to indicate that the implementation class log message have been executed. Here is the log out put when the url is issued via the Test class:

       

      2015-04-28 23:39:24,750 | DEBUG | tp1340583659-129 | ChannelEndPoint              | ? ? | 92 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.14.v20131031 | ishut SCEP@3d939fde{l(/0:0:0:0:0:0:0:1:51266)<->r(/0:0:0:0:0:0:0:1:8181),s=1,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@5735341d,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=-3},r=4}
      2015-04-28 23:39:24,750 | DEBUG | tp1340583659-129 | HttpParser                   | ? ? | 92 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.14.v20131031 | filled -1/0
      2015-04-28 23:39:24,750 | DEBUG | tp1340583659-129 | AsyncHttpConnection          | ? ? | 92 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.14.v20131031 | Disabled read interest while writing response SCEP@3d939fde{l(/0:0:0:0:0:0:0:1:51266)<->r(/0:0:0:0:0:0:0:1:8181),s=1,open=true,ishut=true,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@5735341d,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=-3},r=4}
      2015-04-28 23:39:24,750 | DEBUG | tp1340583659-129 | ChannelEndPoint              | ? ? | 92 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.14.v20131031 | close SCEP@3d939fde{l(/0:0:0:0:0:0:0:1:51266)<->r(/0:0:0:0:0:0:0:1:8181),s=1,open=true,ishut=true,oshut=false,rb=false,wb=false,w=true,i=1!}-{AsyncHttpConnection@5735341d,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=-3},r=4}
      2015-04-28 23:39:24,750 | DEBUG | 59-126 Selector0 | nio                          | ? ? | 92 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.14.v20131031 | destroyEndPoint SCEP@3d939fde{l(null)<->r(0.0.0.0/0.0.0.0:8181),s=0,open=false,ishut=true,oshut=true,rb=false,wb=false,w=true,i=1!}-{AsyncHttpConnection@5735341d,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=-3},r=4}
      2015-04-28 23:39:24,750 | DEBUG | 59-126 Selector0 | AbstractHttpConnection       | ? ? | 92 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.14.v20131031 | closed AsyncHttpConnection@5735341d,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=-3},r=4
      2015-04-28 23:39:28,900 | DEBUG | heckpoint Worker | MessageDatabase              | ? ? | 131 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610379 | Checkpoint started.

       

       

       

       

      I would appreciate it if someone could provide me with some insight as I have struggled with this issue for some time.

       

      Thank in advance

       

      Glenn