java - Getting Transport error in apache axis2 client -


in project trying create rest client on apache axis 1.62, working before on ssl. due server configuration change , proxy has been added when tried access webservice following error

                org.apache.axis2.axisfault: transport error: 403 error: portcullisnomatch             @ org.apache.axis2.transport.http.httpsender.handleresponse(httpsender.java:310)             @ org.apache.axis2.transport.http.httpsender.sendviapost(httpsender.java:194)             @ org.apache.axis2.transport.http.httpsender.send(httpsender.java:75)             @ org.apache.axis2.transport.http.commonshttptransportsender.writemessagewithcommons(commonshttptransportsender.java:404)             @ org.apache.axis2.transport.http.commonshttptransportsender.invoke(commonshttptransportsender.java:231)             @ org.apache.axis2.engine.axisengine.send(axisengine.java:443)             @ org.apache.axis2.description.outinaxisoperationclient.send(outinaxisoperation.java:406)             @ org.apache.axis2.description.outinaxisoperationclient.executeimpl(outinaxisoperation.java:229)             @ org.apache.axis2.client.operationclient.execute(operationclient.java:165)             @ com.services.integration.impl.live.loginrepositorystubimpl.login(loginrepositorystubimpl.java:305)             @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)             @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)             @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)             @ java.lang.reflect.method.invoke(method.java:597)             @ org.springframework.aop.support.aoputils.invokejoinpointusingreflection(aoputils.java:309)             @ org.springframework.aop.framework.reflectivemethodinvocation.invokejoinpoint(reflectivemethodinvocation.java:183)             @ org.springframework.aop.framework.reflectivemethodinvocation.proceed(reflectivemethodinvocation.java:150)             @ org.springframework.aop.framework.adapter.throwsadviceinterceptor.invoke(throwsadviceinterceptor.java:124)             @ org.springframework.aop.framework.reflectivemethodinvocation.proceed(reflectivemethodinvocation.java:172)             @ com.db.mybank.backend.managers.profilemanagerimpl.showmethodtimeandobjects(profilemanagerimpl.java:129)             @ org.appverse.web.framework.backend.api.aop.advices.profilingadvice.invoke(profilingadvice.java:38)             @ org.springframework.aop.framework.reflectivemethodinvocation.proceed(reflectivemethodinvocation.java:172)             @ org.springframework.aop.interceptor.exposeinvocationinterceptor.invoke(exposeinvocationinterceptor.java:90)             @ org.springframework.aop.framework.reflectivemethodinvocation.proceed(reflectivemethodinvocation.java:172)             @ org.springframework.aop.framework.jdkdynamicaopproxy.invoke(jdkdynamicaopproxy.java:202)             @ $proxy29.login(unknown source) 

i using below code proxy authentication

                httptransportproperties.authenticator basicauthentication = new httptransportproperties.authenticator();             httptransportproperties.proxyproperties proxyproperties = new httptransportproperties.proxyproperties();             _operationclient.getoptions().setproperty(org.apache.axis2.transport.http.httpconstants.authenticate,basicauthentication);             proxyproperties.setproxyname("proxy address");             proxyproperties.setproxyport(port);             proxyproperties.setusername("");             proxyproperties.setpassword("");  _serviceclient.getoptions().setproperty(httpconstants.proxy, proxyproperties);     _getserviceclient().getoptions().setproperty( httpconstants.chunked, "false" ); 

thanks in advance


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -