生产客户端代码
wsimport -d bin -s src -p com.qugl.shop.buy.stub http://127.0.0.1:8080/shop/buy?wsdl
与Spring集成
<bean id="buyService" class="org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean">
<property name="serviceInterface" value="com.qugl.shop.buy.BuyService"/>
<property name="wsdlDocumentUrl" value="${CCMS_ACCOUNT_WSDL}"/>
<property name="namespaceUri" value="http://meservice.webservice.ccms/"/>
<property name="serviceName" value="BuyServiceService"/>
<property name="portName" value="BuyServicePort"/>
</bean>