Re: [Axis2] Client makes multiple calls to retrieve WSDL file

Shameera Rathnayaka <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CAJvLytqUCA8rmntyEVt6hX4LZsQiC_45GyF4edr6iU1p73aefQ@mail.gmail.com>
Hi Patrick,

If it is a concrete contract i don't see any need of retrieve wsld every
time when your client send request. You can download wsdl for any service
deployed in axis2 by using ?wsdl suffix eg:
http://localhost:8080/axis2/services/Version?wsdl this will download wsdl
of Version then you can give this to your client. Hope this will help you.

Thanks,
Shameera.


On Thu, Mar 27, 2014 at 1:57 AM, Patrick Early <[email protected]>wrote:

>  Hello,
>
>
>
> We are having an issue with Axis2 where for every SOAP call we make, the
> client also makes a call to retrieve the WSDL file prior to making the
> actual call.  Is there a way to tell the client to use a local file or
> in-memory string for its WSDL instead of retrieving it from the server?
> The app in question is communicating with a Magento eCommerce server via
> its SOAP API, and the WSDL file is 390K, which is killing performance.  The
> web server log shows the following, where the GET request is for the WSDL
> and the POST request is the actual SOAP call.
>
>
>
> 127.0.0.1 - - [26/Mar/2014:16:25:00 -0400] "GET
> /index.php/api/v2_soap/index/?wsdl=1 HTTP/1.1" 200 326089
>
> 127.0.0.1 - - [26/Mar/2014:16:25:00 -0400] "POST
> /index.php/api/v2_soap/index/ HTTP/1.1" 200 291
>
>
>
> Any help is greatly appreciated!
>
>
>
> Regards,
>
>
>
> - patrick early
>



-- 
Best Regards,
Shameera Rathnayaka.

email: shameera AT apache.org , shameerainfo AT gmail.com
Blog : http://shameerarathnayaka.blogspot.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.