You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Reinhardt Willy <wi...@yahoo.fr> on 2007/07/13 18:27:07 UTC
WSDL generate using url ../EchoService?wsdl
Hi,
I am using Spring (2.0) and I tried XFire and cxf.
With xFire I could get wsdl using an url like:
http://localhost:8080/ecm_syn/services/EchoService?wsdl
I could not find in documentation how to do the same behaviour with cxf.
another question is it a good approach to generate wsdl like this or should I use java2wsdl ?
below the Spring configuration:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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://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" />
<jaxws:endpoint
id="echoService"
implementor="ch.vd.dsi.syn.ws.server.EchoServiceImpl"
address="/services/EchoService" />
</beans>
Willy
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail