Dan,
The most interesting thing that dawned on me is that a JettyHTTPHandler
\is a/ Jetty \Handler/. Thus, I can instantiate Jetty's standard static
content handler and call it from a subclass of JettyHTTPHandler, since
the same arguments that come into JettyHTTPHandler can be delegated to
the han
Hi Dan. I appreciate the clarification on unwrapped mode. Can you also
answer my question below about running in wrapped mode?
Thanks again,
Jason
From: "Dan Diephouse" <[EMAIL PROTECTED]>
Reply-To: cxf-user@incubator.apache.org
To: cxf-user@incubator.apache.org
Subject: Re: Trouble with cr
Because of the way unwrapped mode works, a method like this cannot be
mapped:
@Get
@HttpResource(location = "/clients/{id}")
public Client getClient( long id );
Unwrapped mode states that the thing in the brackets ({id}), must be mapped
to a property on the method parameter (i.e. the first param
BTW, you may also be interested in this code that I wrote to serve out
static HTML files once upon a time:
private static void serveHTML() throws Exception {
Bus bus = BusFactory.getDefaultBus();
DestinationFactoryManager dfm = bus.getExtension(
DestinationFactoryManager.class);
Hi Benson,
You're very close to getting it to work :-) If you look at the
cxf-extension-http-jetty.xml file you'll see that we associate several
transport IDs with that transport:
http://schemas.xmlsoap.org/soap/http
http://schemas.x
Hi Jacob,
I would go with something like:
org.apache.cxf
cxf-rt-frontend-jaxws
2.0-incubator
org.apache.cxf
cxf-rt-transports-http
2.0-incubator
Yes.
> -Original Message-
> From: Dan Diephouse [mailto:[EMAIL PROTECTED]
> Sent: Saturday, July 14, 2007 12:17 AM
> To: cxf-user@incubator.apache.org
> Subject: Re: WSDL service-name
>
> I'm pretty sure that per the JAX-WS spec, the serviceName goes on the
impl
> class regardless. So I t
Hi,
I think they are same, we use the same piece of code in generating the wsdl.
However, with java2wsdl you got the extra functions,
like generating the jaxb binding files automatically, if your class has
a java.util.Date or java.util.Calendar class, Something like that,
and also it will gener