此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
楼主【Ricky_tang】截止到2008-07-15 16:26:20的历史汇总数据(不包括此帖):
发帖的总数量:1                        发帖的总分数:0                        每贴平均分数:0                        
回帖的总数量:0                        得分贴总数量:0                        回帖的得分率:0%                       
结贴的总数量:0                        结贴的总分数:0                        
无满意结贴数:0                        无满意结贴分:0                        
未结的帖子数:1                        未结的总分数:0                        
结贴的百分比:0.00  %               结分的百分比:---------------------
无满意结贴率:---------------------无满意结分率:---------------------
如何结贴请参考这里:http://topic.csdn.net/u/20080501/09/ef7ba1b3-6466-49f6-9d92-36fe6d471dd1.html

解决方案 »

  1.   

    我知道了
    不过不知道代码的意思哪位解释下??
    import org.apache.axis.client.Call;import org.apache.axis.client.Service;import org.apache.axis.encoding.XMLType;import javax.xml.namespace.QName;import javax.xml.rpc.ParameterMode;import org.apache.axis.client.Call;import org.apache.axis.client.Service;import org.apache.axis.encoding.XMLType;import javax.xml.namespace.QName;import javax.xml.rpc.ParameterMode;public class TestClient {   public static void main(String [] args) {    try {        String endpoint = "http://localhost:8080/HelloWorld/services/HelloWorldService";         Service  service = new Service();        Call call = (Call) service.createCall();          call.setTargetEndpointAddress( new java.net.URL(endpoint) );        call.setOperationName( "sayHello" );        call.addParameter( "name", XMLType.XSD_STRING, ParameterMode.IN );                call.setReturnType( XMLType.XSD_STRING );        String ret = (String) call.invoke( new Object [] { "kongxx" });                System.out.println("Result : " + ret);     } catch (Exception e) {        System.err.println(e.toString());     }       }}