You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Todd Deshane <to...@gmail.com> on 2012/08/22 19:29:31 UTC

HTTP Method Extensions

Example ex04_1 implements a PATCH HTTP method extension [1], however,
the findTargetMethod is not finding it.  "HTTP Method: UNSUPPORTED" is
being thrown by TomEE.

Aug 22, 2012 1:06:38 PM org.apache.cxf.jaxrs.utils.JAXRSUtils findTargetMethod
WARNING: No operation matching request path
"/workbook-ex04_1-1.0/customers/1" is found, Relative Path: /1, HTTP
Method: UNSUPPORTED, ContentType: application/xml, Accept: */*,.
Please enable FINE/TRACE log level for more details.

I was wondering if they is a way to get this to work?

Thanks,
Todd


[1] https://github.com/resteasy/Resteasy/blob/master/jaxrs/examples/oreilly-workbook/ex04_1/src/main/java/org/ieft/annotations/PATCH.java

Re: HTTP Method Extensions

Posted by Todd Deshane <to...@gmail.com>.
Thanks!

Works now.

On Wed, Aug 22, 2012 at 2:46 PM, Romain Manni-Bucau
<rm...@gmail.com> wrote:
> fixed on trunk, was  bug :(:
> https://issues.apache.org/jira/browse/TOMEE-401
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau*
> *Blog: http://rmannibucau.wordpress.com*
>
>
>
>
> 2012/8/22 Todd Deshane <to...@gmail.com>
>
>> Suggestions on how to go about debugging this issue?
>>
>> Thanks,
>> Todd
>>
>> On Wed, Aug 22, 2012 at 1:41 PM, Romain Manni-Bucau
>> <rm...@gmail.com> wrote:
>> > it is supported by cxf (https://issues.apache.org/jira/browse/CXF-4224) so
>> > the issue should be elsewhere
>> >
>> > *Romain Manni-Bucau*
>> > *Twitter: @rmannibucau*
>> > *Blog: http://rmannibucau.wordpress.com*
>> >
>> >
>> >
>> >
>> > 2012/8/22 Todd Deshane <to...@gmail.com>
>> >
>> >> Example ex04_1 implements a PATCH HTTP method extension [1], however,
>> >> the findTargetMethod is not finding it.  "HTTP Method: UNSUPPORTED" is
>> >> being thrown by TomEE.
>> >>
>> >> Aug 22, 2012 1:06:38 PM org.apache.cxf.jaxrs.utils.JAXRSUtils
>> >> findTargetMethod
>> >> WARNING: No operation matching request path
>> >> "/workbook-ex04_1-1.0/customers/1" is found, Relative Path: /1, HTTP
>> >> Method: UNSUPPORTED, ContentType: application/xml, Accept: */*,.
>> >> Please enable FINE/TRACE log level for more details.
>> >>
>> >> I was wondering if they is a way to get this to work?
>> >>
>> >> Thanks,
>> >> Todd
>> >>
>> >>
>> >> [1]
>> >>
>> https://github.com/resteasy/Resteasy/blob/master/jaxrs/examples/oreilly-workbook/ex04_1/src/main/java/org/ieft/annotations/PATCH.java
>> >>
>>

Re: HTTP Method Extensions

Posted by Romain Manni-Bucau <rm...@gmail.com>.
fixed on trunk, was  bug :(:
https://issues.apache.org/jira/browse/TOMEE-401

*Romain Manni-Bucau*
*Twitter: @rmannibucau*
*Blog: http://rmannibucau.wordpress.com*




2012/8/22 Todd Deshane <to...@gmail.com>

> Suggestions on how to go about debugging this issue?
>
> Thanks,
> Todd
>
> On Wed, Aug 22, 2012 at 1:41 PM, Romain Manni-Bucau
> <rm...@gmail.com> wrote:
> > it is supported by cxf (https://issues.apache.org/jira/browse/CXF-4224) so
> > the issue should be elsewhere
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau*
> > *Blog: http://rmannibucau.wordpress.com*
> >
> >
> >
> >
> > 2012/8/22 Todd Deshane <to...@gmail.com>
> >
> >> Example ex04_1 implements a PATCH HTTP method extension [1], however,
> >> the findTargetMethod is not finding it.  "HTTP Method: UNSUPPORTED" is
> >> being thrown by TomEE.
> >>
> >> Aug 22, 2012 1:06:38 PM org.apache.cxf.jaxrs.utils.JAXRSUtils
> >> findTargetMethod
> >> WARNING: No operation matching request path
> >> "/workbook-ex04_1-1.0/customers/1" is found, Relative Path: /1, HTTP
> >> Method: UNSUPPORTED, ContentType: application/xml, Accept: */*,.
> >> Please enable FINE/TRACE log level for more details.
> >>
> >> I was wondering if they is a way to get this to work?
> >>
> >> Thanks,
> >> Todd
> >>
> >>
> >> [1]
> >>
> https://github.com/resteasy/Resteasy/blob/master/jaxrs/examples/oreilly-workbook/ex04_1/src/main/java/org/ieft/annotations/PATCH.java
> >>
>

Re: HTTP Method Extensions

Posted by Todd Deshane <to...@gmail.com>.
Suggestions on how to go about debugging this issue?

Thanks,
Todd

On Wed, Aug 22, 2012 at 1:41 PM, Romain Manni-Bucau
<rm...@gmail.com> wrote:
> it is supported by cxf (https://issues.apache.org/jira/browse/CXF-4224 ) so
> the issue should be elsewhere
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau*
> *Blog: http://rmannibucau.wordpress.com*
>
>
>
>
> 2012/8/22 Todd Deshane <to...@gmail.com>
>
>> Example ex04_1 implements a PATCH HTTP method extension [1], however,
>> the findTargetMethod is not finding it.  "HTTP Method: UNSUPPORTED" is
>> being thrown by TomEE.
>>
>> Aug 22, 2012 1:06:38 PM org.apache.cxf.jaxrs.utils.JAXRSUtils
>> findTargetMethod
>> WARNING: No operation matching request path
>> "/workbook-ex04_1-1.0/customers/1" is found, Relative Path: /1, HTTP
>> Method: UNSUPPORTED, ContentType: application/xml, Accept: */*,.
>> Please enable FINE/TRACE log level for more details.
>>
>> I was wondering if they is a way to get this to work?
>>
>> Thanks,
>> Todd
>>
>>
>> [1]
>> https://github.com/resteasy/Resteasy/blob/master/jaxrs/examples/oreilly-workbook/ex04_1/src/main/java/org/ieft/annotations/PATCH.java
>>

Re: HTTP Method Extensions

Posted by Romain Manni-Bucau <rm...@gmail.com>.
it is supported by cxf (https://issues.apache.org/jira/browse/CXF-4224 ) so
the issue should be elsewhere

*Romain Manni-Bucau*
*Twitter: @rmannibucau*
*Blog: http://rmannibucau.wordpress.com*




2012/8/22 Todd Deshane <to...@gmail.com>

> Example ex04_1 implements a PATCH HTTP method extension [1], however,
> the findTargetMethod is not finding it.  "HTTP Method: UNSUPPORTED" is
> being thrown by TomEE.
>
> Aug 22, 2012 1:06:38 PM org.apache.cxf.jaxrs.utils.JAXRSUtils
> findTargetMethod
> WARNING: No operation matching request path
> "/workbook-ex04_1-1.0/customers/1" is found, Relative Path: /1, HTTP
> Method: UNSUPPORTED, ContentType: application/xml, Accept: */*,.
> Please enable FINE/TRACE log level for more details.
>
> I was wondering if they is a way to get this to work?
>
> Thanks,
> Todd
>
>
> [1]
> https://github.com/resteasy/Resteasy/blob/master/jaxrs/examples/oreilly-workbook/ex04_1/src/main/java/org/ieft/annotations/PATCH.java
>