上网搜索~http://www.97t.org/ArticleView/2005-9-5/Article_View_48024.Htm上面有介绍,仔细看~~~
解决方案 »
- 求帮助,怎么样用javascript输出一个星号等腰三角形
- 在linux环境下 centos 5.5配置Tomcat,配置好的用户名和密码不能访问
- 我要改变项目中的包的层次结构、有什么好办法?
- 转对象为Json格式发生异常
- 求一个SQL查询语句,关于时间的!!!
- jar包都要爆炸了,请问各位大虾SSH+DWR应该导入的最小jar包数是哪些啊?
- myfaces-extensions.jar在哪里下载 急啊!!!在线等
- 请问,STRUTS中PROPERTY怎么样用数组传递?
- 请高手详解
- Jaxp,Sax,Dom,Jdom?
- db2多次删除记录时候,会产生大量的日志,如何删除记录又不记录日志
- 网上资料乱七八糟的,找不到一份适合学习"存储过程"的资料,郁闷...
{
public static void main(String[] args) throws Exception
{
String who = "YuLimin";
TestService service = new TestServiceLocator();
Test_PortType test = service.getTest();
if(args.length > 0)
{
who = args[0];
}
System.out.println("Response:" + test.hello(who));
}
}
GetWeather w = new GetWeather();
w.setCityName("Hangzhou");
w.setCountryName("China");
GetCitiesByCountry c = new GetCitiesByCountry();
c.setCountryName("China");
try {
GlobalWeatherStub stub = new GlobalWeatherStub();
GetWeatherResponse r = stub.GetWeather(w);
System.out.println(r.getGetWeatherResult());
GetCitiesByCountryResponse cr = stub.GetCitiesByCountry(c);
System.out.println(cr.getGetCitiesByCountryResult());
} catch (AxisFault e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (RemoteException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
既请求XML中SOAPHeader中的内容??