Service是什么,方便的话可以把堆栈和代码片段贴上来。按你说的我觉得有可能是有什么有限资源没有及时的释放?

解决方案 »

  1.   

    代碼如下    String endpoint="http://234.wting.com/fhwwebservice/pwdencrypt.asmx";   
        Service   service   =   new   Service();   
        Call   call   =   (Call)service.createCall();   
        call.setTargetEndpointAddress(new   java.net.URL(endpoint));    
        call.setOperationName(new QName("http://tempuri.org/", "GetEncryptPwd"));
        call.addParameter(new   QName   ("http://tempuri.org/","pwd"),org.apache.axis.encoding.XMLType.XSD_STRING,ParameterMode.IN);   
        call.setReturnType(org.apache.axis.Constants.XSD_STRING); 
        call.setUseSOAPAction(true);   
        call.setSOAPActionURI("http://tempuri.org/GetEncryptPwd");   
        String code = (String)call.invoke(new Object[] {pwd});
     
    調用的是一個asp.net 的加密函數!請幫忙了!!