Hi
 
I am trying to set proxy for an Axis2 client. The code snippet is as follows:
 
   HttpTransportProperties htp = new HttpTransportProperties();
   httpProxyProperties = htp.new ProxyProperties();
   httpProxyProperties.setProxyName(httpProxyHost);
   httpProxyProperties.setProxyPort(Integer.parseInt(httpProxyPort));
   httpProxyProperties.setUserName(httpProxyUsername);
   httpProxyProperties.setPassWord (httpProxyPassword);
   httpProxyProperties.setDomain(httpProxyDomain);

   MessageContext mc = new MessageContext();
   mc.setServiceContext(serviceContext);
   mc.setEnvelope(request);
   mc.setTo(toEPR);
   mc.setSoapAction(soapAction);
   
   OperationClient mepClient = outOnlyOperation.createClient(
     serviceContext, options);
   mepClient.addMessageContext(mc);

   // TODO: Add the call back handler
   mepClient.execute(true);

Where the httpProxyUsername, httpProxyPassword, and httpProxyDomain are "anonymous".
 
When i ran the client, I get the following exception.
 

java.rmi.RemoteException

: EJB Exception:; nested exception is:

java.rmi.RemoteException: Axis2 transport error : Not Implemented; nested exception is:

org.apache.axis2.AxisFault: Axis2 transport error : Not Implemented; nested exception is:

org.apache.axis2.AxisFault: Axis2 transport error : Not Implemented; nested exception is:

Caused by:

java.rmi.RemoteException: Axis2 transport error : Not Implemented; nested exception is:

org.apache.axis2.AxisFault: Axis2 transport error : Not Implemented; nested exception is:

org.apache.axis2.AxisFault: Axis2 transport error : Not Implemented; nested exception is:

I have tried to find other log messages but there is no other error message.
Could you give me some idea why this error happens and what I have missed out?
 
 
 
 
 
Regards,
Xinjun

Reply via email to