import javax.xml.namespace.QName; 
 
import org.apache.axis.client.Call; 
 
import org.apache.axis.client.Service; 
 
public class TestNet { 
 
 /** 
 
  * @param args 
 
  */ 
 
 public static void main(String[] args) {  
 
  byte[] bytes=new byte[0]; 
 
  try{ 
 
   Service service =new Service(); 
 
   Call call = (Call) service.createCall(); 
 
   call.setTargetEndpointAddress(new java.net.URL(" 
 http://192.168.0.10/Service/TestService.asmx?wsdl")); 
 
   call.setSOAPActionURI(" 
 http://tempuri.org/Test"); 
 
   call.setOperationName(new QName(" 
 http://tempuri.org/","Test")); 
 
   call.addParameter(new QName(" 
 http://tempuri.org/","key"), 
 
     org.apache.axis.encoding.XMLType.XSD_STRING, 
 
     javax.xml.rpc.ParameterMode.IN); 
 
   call.addParameter(new QName(" 
 http://tempuri.org/","data"), 
 
     org.apache.axis.encoding.XMLType.XSD_BASE64, 
 
     javax.xml.rpc.ParameterMode.IN); 
 
   call.addParameter(new QName(" 
 http://tempuri.org/","type"), 
 
     org.apache.axis.encoding.XMLType.XSD_STRING, 
 
     javax.xml.rpc.ParameterMode.IN);  call.setReturnType(org.apache.axis.encoding.XMLType.XSD_STRING); 
 
   String url = (String)call.invoke(new Object[] {"thiskey",bytes,"str"}); 
 
  }catch(Exception e){   
 
  } 
 
 } 
 
}