jax-ws commons Web サイトのチュートリアルを使用して、jax-ws と Spring で Web サービスを開発しました。Spring applicationContext ファイル ( https://jax-ws-commons.dev.java.net/spring/ ) からサービスを定義および参照する方法を示します。
Web サービスを参照するときの「#」の理由は何ですか? もっと似たようなものを見ると思います
<ws:service name="myEventWS" ref="eventWebService"/>
しかし、上記のリンクの次の例では、機能する次のものを作成しました。
<bean id="eventWebService" class="com.myws.EventWS">
<property name="model" ref="EventModel"/>
</bean>
<wss:binding url="/EventWS">
<wss:service>
<ws:service bean="#eventWebService"/>
</wss:service>
</wss:binding>