我是肥皂和jax-ws的新手.
在阅读了很多信息后,我知道eclipse可以捕获肥皂信息,但我有问题.
我的出版商
public static void main(String[] args) {
Endpoint.publish("http://localhost:8081/WS/Greeting",
new GreetingImpl());
}
我的客户
public static void main(String[] args) {
GreetingImplService service = new GreetingImplService();
Greeting greeting = service.getGreetingImplPort();
System.out.println("------->> Call Started");
System.out.println(greeting.sayHello("friend !!!"));
System.out.println("------->> Call Ended");
}
当我在Console中调用客户端时,我看到了
------->> Call Started
Hello, Welcom to jax-ws friend !!!
------->> Call Ended
因此它是工作服务.
但在TCP | IP监视器中我看到空列表.
我配置的TCP | IP监视器
我做错了什么?
请帮忙)