Web Service学习之【SOAP】[11]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 hellboys 的 blog

        call.settargetobjecturi("urn:helloworldservice");//远程的服务名

        call.setmethodname("getmessage");//访问方法

        call.setencodingstyleuri(constants.ns_uri_soap_enc); //设置编码风格

   

        url url = new url(endpoint); //soap服务的网址

         //开始发送rpc请求,并返回服务器端的应答

        response resp = call.invoke(url, "");

 

本文关键:Web Service学习之【SOAP】
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top