Hi Marc,

For setup the CXF servlet in a junit test, you can get more details from
trunk/systests/src/test/java/org/apache/cxf/systest/servlet/SpringServletTest.java
and it's superclass
trunk/systests/src/test/java/org/apache/cxf/systest/servlet/AbstractServletTest.java

Best Regards

Freeman

Marc Baumgartner wrote:
Hm, I have the Jetty Module (cxf-rt-transports-http-jetty) in my classpath and 
it doesn't work.

How can I set up the CXF Servlet in a JUnit Test? I want to set up a web service in a 
"before test" method, test my service and shut the web service down.

Marc


-------- Original-Nachricht --------
Datum: Thu, 12 Jul 2007 11:00:15 -0600
Von: "Dan Diephouse" <[EMAIL PROTECTED]>
An: [email protected]
Betreff: Re: http://schemas.xmlsoap.org/soap/http

This typically happens if you're trying to create an HTTP webservice and
haven't either:
a) Included the Jetty module on your classpath
OR
b) set up the CXFServlet.

Have you done either of those? What does your config look like?
Thanks,
- Dan

On 7/12/07, Marc Baumgartner <[EMAIL PROTECTED]> wrote:
Hi all,

I get an org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'helloWorldWS': Invocation of init method
failed;
nested exception is java.lang.RuntimeException: Could not find
destination
factory for transport http://schemas.xmlsoap.org/soap/http

Where can I find this schema? How do I have to include it in my spring
conf?

Regards,
Marc
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog

Reply via email to