java - Axis client sends three request for each Call.invoke() method -


hi working on webservice client using apache axis 1.4. below stub code:

soapenvelope soaprequest = new soapenvelope();     service service = new service();  org.apache.axis.client.call _call = createcall();         commonshttpsender reqhandler = new commonshttpsender();         commonshttpsender resphandler = new commonshttpsender();         _call.setoperation(_operations[0]);         _call.setclienthandlers(reqhandler, resphandler);         _call.setusesoapaction(true);         _call.setsoapactionuri("");         _call.setencodingstyle(null);         _call.setproperty(org.apache.axis.client.call.send_type_attr, boolean.false);         _call.setproperty(org.apache.axis.axisengine.prop_domultirefs, boolean.false);         _call.setsoapversion(org.apache.axis.soap.soapconstants.soap11_constants);  _call.invoke(soaprequest); 

while calling invoke method sending request 3 times.

if remove setclienthndler function send once.but need function in code.

please suggest method send single time.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -