title: org.apache.axis2.AxisFault: Transport error: 501 Error: Not Implemented
body: <p>I am trying to call an Axis2 web service using a code like:</p>
  
  <pre><code>stub = new MyServiceStub("http://server/app/services/MyService");
  stub.ping();
  </code></pre>
  
  <p>Stubs/skeletons are generated with codegen. I can interact correctly with the web service from other clients (even something low level written with SAAJ) but not from a stupid stub call.</p>
  
  <p>I am getting the following error:</p>
  
  <pre><code>org.apache.axis2.AxisFault: Transport error: 501 Error: Not Implemented
  at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:298)
  at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:192)
  at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
  at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
  at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
  at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
  at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
  at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
  at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
  at my.package.stub.MyServiceStub.ping(MyServiceStub.java:266)
  </code></pre>
  
  <p>Has someone encountered this and know the solution?</p>
  
  <p>I need to configure the Stub somehow to call the web-service (I'm sure this is a configuration issue). The web-service is already deployed and runs for some time.</p>
  
  <p>Thank you!</p>