Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用axis2和spring开发了一个webService。当我从 web 服务请求 wsdl 文件时,我得到了正确的 wsdl 文件,但是当我想使用 web 服务的定义操作(使用 java 客户端)时,我得到以下异常:
[CODE]org.apache.axis2.AxisFault: The SERVICE_OBJECT_SUPPLIER parameter is not specified.
在您的 services.xml 文件中,您需要定义以下两个属性。
org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier beanname-that-expose-as-a-WS
看看http://axis.apache.org/axis2/java/core/docs/spring.html