Title: RE: Questions????
I get the error "This Axis server is not currently accepting requests." 
after executing the following code:
 
 
 
package samples.userguide.example1;
 
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
 
import javax.xml.rpc.namespace.QName;
 
public class TestClient
{
   public static void main(String [] args) {
       try {
           String endpoint =
                    "http://nagoya.apache.org:5049/axis/servlet/AxisServlet";
    
           Service  service = new Service();
           Call     call    = (Call) service.createCall();
 
           call.setTargetEndpointAddress( new java.net.URL(endpoint) );
           call.setOperationName(new QName("http://soapinterop.org/", "echoString") );
 
           String ret = (String) call.invoke( new Object[] { "Hello!" } );
 
           System.out.println("Sent 'Hello!', got '" + ret + "'");
       } catch (Exception e) {
           System.err.println(e.toString());
       }
   }
}
 
 
 

Reply via email to