Hi Jeff,

I just checked and I have all those files (yes I read the README :-) )
So you mean you get the same WSDL by choosing any of the jaxws:endpoint ?

Could you send me your  webapp (without the lib dir) ?
I am using the 2.0.7 spring version.

Cheers
Guillaume

On Jan 8, 2008 5:12 PM, Jeff Zhang <[EMAIL PROTECTED]> wrote:
> Hi Guillaume,
>
> I tested on my machine, it works.
> Could you check the required 3rd-party jars was put into WEB-INF/lib,
> you can find the jars in the README.txt in groovy sample directory.
> * spring-aop-2.0.x.jar
> * spring-support-2.0.x.jar
> * groovy-1.0.jar
> * antlr-2.7.6.jar
> * asm-2.2.3.jar
>
> regards
> Jeff
>
>
> tog wrote:
> > My goal is to deploy configure a groovy service in tomcat using spring.
> >
> > I started using the java_first_spring_support samples. I deployed it
> > into tomcat and started to modify it a bit.
> > I added the files HelloWorld.groovy & HelloWorldImpl.groovy in
> > webapps/spring_http/WEB-INF/classes.
> > I then modified the beans.xml so that it look like this:
> >
> > <beans xmlns="http://www.springframework.org/schema/beans";
> >         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >         xmlns:lang="http://www.springframework.org/schema/lang";
> >         xmlns:jaxws="http://cxf.apache.org/jaxws";
> >         xsi:schemaLocation="
> > http://www.springframework.org/schema/beans
> > http://www.springframework.org/schema/beans/spring-beans.xsd
> > http://www.springframework.org/schema/lang
> > http://www.springframework.org/schema/lang/spring-lang-2.0.xsd
> > http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd";>
> >
> >         <import resource="classpath:META-INF/cxf/cxf.xml" />
> >         <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
> >         <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
> >
> >         <lang:groovy id="helloworld"
> > script-source="classpath:HelloWorld.groovy" scope="prototype"/>
> >         <lang:groovy id="helloworldImpl"
> > script-source="classpath:HelloWorldImpl.groovy" scope="prototype"/>
> >
> >         <bean id="hello" class="demo.spring.HelloWorldImpl" />
> >         <jaxws:endpoint id="helloEndPoint"
> > implementor="#helloworldImpl" address="/HelloWorld" />
> > <!--
> >         <jaxws:endpoint id="helloEndPoint" implementor="#hello"
> > address="/HelloWorld" />
> > -->
> >
> > </beans>
> >
> > Starting tomcat and looking the logs is fine except that my WSDL is
> > almost empty (see below). Any idea what I am doing wrong ?
> >
> > <wsdl:definitions name="HelloWorldImplService"
> > targetNamespace="http://unknown.namespace/";>
> > <wsdl:portType name="HelloWorldImpl">
> >   </wsdl:portType>
> >       <wsdl:binding name="HelloWorldImplServiceSoapBinding"
> > type="tns:HelloWorldImpl">
> > <soap:binding style="document"
> > transport="http://schemas.xmlsoap.org/soap/http"/>
> > </wsdl:binding>
> >       <wsdl:service name="HelloWorldImplService">
> >       <wsdl:port binding="tns:HelloWorldImplServiceSoapBinding"
> > name="HelloWorldImplPort">
> > <soap:address location="http://localhost:8080/spring_http/HelloWorld"/>
> > </wsdl:port>
> > </wsdl:service>
> > </wsdl:definitions>
> >
> >
>



-- 

Best Regards
Guillaume
http://cheztog.blogspot.com

Reply via email to