You can use the Axis2 Code Generator Tool to create client stubs from your WSDL. Here is a link to a tutorial: http://today.java.net/pub/a/today/2006/06/22/axis-2-generated-client-code.html
-----Original Message----- From: Asma Maalej [mailto:[email protected]] Sent: Monday, August 24, 2009 12:13 PM To: [email protected] Subject: How to call a web service from another one??? Hello I am using Axis2.1.4.1 and eclipse ganymede 3.4 and I am trying to create a web service which is a consumer to another webservice, but I don't know how could I call another web service from the consumer one. I knew that with Axis1, this call between web services will be made across a method from the generated stubs of the webservice which would be called here is the instruction: service = (new package_name.service_nameServiceLocator()).getService_name(); have you any idea, how would I make this call in Axis2?? thanks / / -- Asma MÂALEJ BESBES Laboratoire LAAS - CNRS Toulouse - France Tèl: +33 (0)5 61 33 62 63 Mobile: +33 (0)6 72 18 36 56 E-mail: [email protected] STATEMENT OF CONFIDENTIALITY: The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify WHI Solutions immediately at [email protected], and destroy all copies of this message and any attachments.
