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 generate the wrapper beans, fault beans in case of jaxws.

James

Hi,

It work using like:
http://localhost:8080/ecm_syn/services/EchoService?wsdl

But I still have the question :

Is it a good approach to generate wsdl using an url or using tool java2wsdl is better ?
Thanks for your advice
Willy

----- Message d'origine ----
De : "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
À : cfx liste <[email protected]>
Envoyé le : Vendredi, 13 Juillet 2007, 18h32mn 14s
Objet : 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





_____________________________________________________________________________ Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail

Reply via email to