Hi,

I think, the solution was posted before:
you generate a client-stub for A and use this stub within code of B to call A.
That's it... :))
the same procedure as calling a WS X via client-stub of X.

Thanks,
Markus

-----Ursprüngliche Nachricht-----
Von: Asma Maalej [mailto:[email protected]] 
Gesendet: Dienstag, 25. August 2009 11:25
An: [email protected]
Betreff: Re: How to call a web service from another one???

Hello

thank you for your reply. But I don't need to invoke the Axis2 
webservice from the stubs clients, however, I need to call a webservice 
A from an other webservice B. How could this call be happen? I mean  I 
wonder if there is a way (method call ) across which both of webservice 
A and B can interact between them?

I'm really blocked and I'm looking forward to your help.

Caristi, Joe a écrit :
> 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.
>
>   


-- 
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]

Reply via email to