上篇《用Soap消息调用Web Services》只是简单的调用一个返回值为String的无参数WebService,这次改成调用一个参数为int型的返回值为一个类对象的WebService<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
服务器端WebService:
































































客户端代码:


































































客户端Soap请求格式:











服务器端响应结果:
















上篇《用Soap消息调用Web Services》只是简单的调用一个返回值为String的无参数WebService,这次改成调用一个参数为int型的返回值为一个类对象的WebService<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
服务器端WebService:
客户端代码:
客户端Soap请求格式:
服务器端响应结果: