org.apache.commons.httpclient.HttpClient.getParams

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

org.apache.commons.httpclient.HttpClient.getParams

Johni
Hi,

I am using axis2-1.6.2 and all jars of axis2,  when i run the web service client program , i am getting the following error.  I am using commons-httpclient3.1 jar , anyone have idea to fix this. We appreciate your help



java.lang.NoSuchMethodError: org.apache.commons.httpclient.HttpClient.getParams(
)Lorg/apache/commons/httpclient/params/HttpClientParams;
        at org.apache.axis2.transport.http.AbstractHTTPSender.getHttpClient(Abst
ractHTTPSender.java:580)
        at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.jav
a:157)
        at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
        at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessa
geWithCommons(CommonsHTTPTransportSender.java:404)
        at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Com
monsHTTPTransportSender.java:231)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
        at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
peration.java:406)
        at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Out
InAxisOperation.java:229)
        at org.apache.axis2.client.OperationClient.execute(OperationClient.java:
165)
        at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:
555)
        at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:
531)
        at org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServic
eClient.java:102)
        at com.offlineApp.cloud.ws.WSCall.getDemoBeanName(WSCall.java:88)
        at com.offlineApp.cloud.sync.DemoChannel.scanForNew(DemoChannel.java:137
)
        at org.openmobster.core.services.channel.ChannelDaemon$CheckForUpdates.s
can(ChannelDaemon.java:170)
        at org.openmobster.core.services.channel.ChannelDaemon$CheckForUpdates.r
un(ChannelDaemon.java:133)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)
Many thanks
Johni
Loading...