On Wednesday 02 June 2010 3:03:23 pm Henry Lu wrote: > Thank for your web site. I followed the instructions in the web page and > the build.xml file generated 3 interface files: > > xxxHttpget.java > xxxHttppost.java > xxxSoap.java > and xxx.java of service > > There is no implementation files for client at all. Could you show me > what I should do to generate a complete client code.
The "*_client.java" stuff generated with the -client flag is really just a sample client to show how to use the above code. It's not really production code, it's just a sample to get things started. The above is really all that is need. Dan > > -Henry > > On 6/2/2010 2:21 PM, Glen Mazza wrote: > > http://www.jroller.com/gmazza/entry/soap_client_tutorial, > > http://www.jroller.com/gmazza/entry/setting_up_ssl_and_basic > > > > HTH, > > Glen > > > > henry lu wrote: > >> I am new to cxf. I have a wsdl file and want to generate client file(s) > >> to call the service. I used the following command: > >> > >> wsdl2java -client xxx.wsdl > >> > >> It generates following files: > >> xxx.java > >> xxxhttpget_client.java > >> xxxhttppost_client.java > >> xxxSoap_client.java > >> xxxSoap12_client.java > >> > >> Which java file if good for me to use? > >> > >> And our server side service requires login user name and password, how > >> do I set username and password in the client code? > >> > >> -Henry -- Daniel Kulp [email protected] http://dankulp.com/blog
