I do believe that that's actually generating a client based on the xfire generated wsdl. It might work (it normally does), but it's rather different to taking the same source wsdl and generating both the service stub, and the client proxy from the same .wsdl.
(which for certain (IMO trivial) wsdls with xfire 1.2.2 doesn't work at all, allegedly 1.2.3 fixes this, but that's still being tested here) > -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of William (Yi) Zhu > Sent: Tuesday, December 12, 2006 2:32 PM > To: [email protected] > Subject: [xfire-user] Re: book example: generate client & > server stub from WSDL usi > > Hi Tomek, > > Believe me, that true for xfire-1.2.2. > > 1. download and unzip the xfire-1.2.2 bin; 2. build "book" > example with Maven and deploy the "xfire-book-1.2.2.war" to > Tomcat 5.5 server; 3. run the following script: > > set ant_home=c:\apps\ant > set gpath=lib\xfire-all-1.2.2.jar;%ant_home%\lib\ant.jar; > lib\xbean-2.1.0.jar;lib\jaxb-api-2.0.jar;lib\stax-api-1.0.1.jar; > lib\jdom-1.0.jar;lib\jaxb-impl-2.0.1.jar;lib\jaxb-xjc-2.0.1.jar; > lib\wstx-asl-3.0.1.jar;lib\commons-logging-1.0.4.jar; > lib\activation-1.1.jar;lib\wsdl4j-1.5.2.jar; > lib\XmlSchema-1.1.jar;lib\xfire-jsr181-api-1.0-M1.jar; > > java -cp %gpath% org.codehaus.xfire.gen.WsGen > -wsdl > http://localhost:8080/xfire-book-1.2.2/services/BookService?wsdl > -o client\BookService\generated-source > -p my.webservicex.bookservice.xmlbeans > -b xmlbeans -overwrite true > > under the your xfire_home\ > > you will see the magic! > > Thanks,William > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > >
