Just do it! 创建S0AP服务的发布描述符文件 <isd:servicexmins:isd="http:/xml.apacheorg/xml-soap/deployment id="urn helloservice"> <!-id为该服务的唯一标志,SOAP客户根据该属性访问SOAP服务 <isd: provider type="java scope="Application method="sayhello"> <isd: java class="mypack. Hello Service"/> </isd: provider> <isd faultListener> org. apache soap server. DOMFaultListener </isd: faultListener> <isd: service> java org. apache soap server. ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter deploy Deployment Descriptor. xml 2021年8月30日 复旦大学2005年春Just do it! 2021年8月30日 复旦大学2005年春 <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment" id="urn:helloservice"> <!--id为该服务的唯一标志,SOAP客户根据该属性访问SOAP服务--> <isd:provider type="java" scope="Application" method="sayHello"> <isd:java class="mypack.HelloService"/> </isd:provider> <isd:faultListener> org.apache.soap.server.DOMFaultListener </isd:faultListener> <isd:service> 创建SOAP服务的发布描述符文件 java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml