Re: Consistently getting "No operation matching request path" for RESTful service

2008-05-25 Thread Mick Knutson
I use /cxf myself. But glad that it is working for you now On Sun, May 25, 2008 at 4:36 PM, John Mikhail <[EMAIL PROTECTED]> wrote: > I ended up getting it to work. It wasn't tomcat, but it had to do with my > service paths. I was running multiple service classes, so I had them all > use t

RESTful service returning objects that don't have XmlRootElement

2008-05-25 Thread John Mikhail
Hello, So for the RESTful service I'm writing, I generated my data model from a third party xsd. All the objects created there don't have a @XmlRootElement annotation, but rather just @XmlType. So when I return these objects from my RESTful service, I'm now getting: .No message body writer found

Re: Consistently getting "No operation matching request path" for RESTful service

2008-05-25 Thread John Mikhail
I ended up getting it to work. It wasn't tomcat, but it had to do with my service paths. I was running multiple service classes, so I had them all use the same path "/" defined in the spring configuration. When I changed them to all be different, things started working. Thanks for the help Mick

Re: Authentication and Session Management in Soap/cxf

2008-05-25 Thread Agustí Dosaiguas Falcó
Jonathan, To authenticate users you can use the WS-Security standard that is supported by CXF. With WS-Security you can choose many autentication methods including user/password (UsernameToken) or client certificates. Regards, Augusti Dosaiguas En/na Jonathan Glaschke ha escrit: Hello, I'

Re: Consistently getting "No operation matching request path" for RESTful service

2008-05-25 Thread Mick Knutson
try tomcat 5.5 as a test. On Sun, May 25, 2008 at 11:13 AM, John Mikhail <[EMAIL PROTECTED]> wrote: > Jdk 1.5 and tomcat 6.0.14, all running under osx 10.5. Can't give you > the exact jdk version now since I'm not at my machine. > > On 5/25/08, Mick Knutson <[EMAIL PROTECTED]> wrote: > > What v

Re: Consistently getting "No operation matching request path" for RESTful service

2008-05-25 Thread John Mikhail
Jdk 1.5 and tomcat 6.0.14, all running under osx 10.5. Can't give you the exact jdk version now since I'm not at my machine. On 5/25/08, Mick Knutson <[EMAIL PROTECTED]> wrote: > What version of Tomcat? What JDK? > > On Sun, May 25, 2008 at 10:19 AM, John Mikhail <[EMAIL PROTECTED]> wrote: > >> Y

Re: Consistently getting "No operation matching request path" for RESTful service

2008-05-25 Thread Mick Knutson
What version of Tomcat? What JDK? On Sun, May 25, 2008 at 10:19 AM, John Mikhail <[EMAIL PROTECTED]> wrote: > Yeah that's the bizzar thing about it. Do you notice anything in my config > that would not cause it to deploy? Tomcat comes up fine with no errors and > I can see my application contex

Re: Consistently getting "No operation matching request path" for RESTful service

2008-05-25 Thread John Mikhail
Yeah that's the bizzar thing about it. Do you notice anything in my config that would not cause it to deploy? Tomcat comes up fine with no errors and I can see my application context loaded fine. I know its going to be something small too. John On May 25, 2008, at 9:56 AM, "Mick Knutson

Re: Consistently getting "No operation matching request path" for RESTful service

2008-05-25 Thread Mick Knutson
afaik, you should be able to see the services that are deployed. If you do not see them, then they are not deployed correctly. On Sun, May 25, 2008 at 9:43 AM, John Mikhail <[EMAIL PROTECTED]> wrote: > No I don't. Anything after / produces that error. > > On Sun, May 25, 2008 at 1:35 AM, Mick

Re: Consistently getting "No operation matching request path" for RESTful service

2008-05-25 Thread John Mikhail
No I don't. Anything after / produces that error. On Sun, May 25, 2008 at 1:35 AM, Mick Knutson <[EMAIL PROTECTED]> wrote: > do you see the service listed when you go to fooService/ ??? > > > On Sun, May 25, 2008 at 1:20 AM, John Mikhail <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > I'm buildi

Re: Using AOP in CXF service impl

2008-05-25 Thread Ian Roberts
Wolf, Chris (IT) wrote: static class ServiceCallPointcut extends StaticMethodMatcherPointcut { public boolean matches(Method m, Class targetClass) { return (targetClass == this.getClass() && m.getName().matches("(add.*)|(delete.*)|(fetch.*)|(login.*)")); } } I'm suspic

ejb3 jax ws exception handling resources ?

2008-05-25 Thread Mohammad Shamsi
Java EE 5 let me have Web Service and Stateless Session Bean both in on class : @WebService @Stateless public class FooImpl implements Foo { public void foo() { throw new RuntimeExceptin("this is it ??? "); } } it means that RMI client and WebService client both can user this cod

Re: Consistently getting "No operation matching request path" for RESTful service

2008-05-25 Thread Mick Knutson
do you see the service listed when you go to fooService/ ??? On Sun, May 25, 2008 at 1:20 AM, John Mikhail <[EMAIL PROTECTED]> wrote: > Hello, > > I'm building a RESTful service using cxf and I'm consistently getting "No > operation matching request path /fooService/foo/1/ is found, ContentType

Consistently getting "No operation matching request path" for RESTful service

2008-05-25 Thread John Mikhail
Hello, I'm building a RESTful service using cxf and I'm consistently getting "No operation matching request path /fooService/foo/1/ is found, ContentType : */*, Accept : text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8." This is a very simple service (source code at the end). I s

Authentication and Session Management in Soap/cxf

2008-05-25 Thread Jonathan Glaschke
Hello, I'm looking for the ability to authenticate users in soap. I don't want to use http authentication, because that would mean relying on http as transport, but when I'm using soap, I'm in the first instance independent of the transport method. I want to keep this flexibility. On the inter