jboss + spring + webservice:找不到ServiceFactory实现

时间:2016-10-16 09:22:22

标签: spring jboss

嗨,我在春季3.0.5使用webservice客户端,代码:

    <bean id="helloImpl" class="org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean">
    <property name="serviceInterface" value="com.wtwing.client.HelloImpl" />
    <property name="wsdlDocumentUrl" value="http://127.0.0.1:8100/z_axis1.4/services/SayHello?wsdl" />
    <property name="namespaceUri" value="http://www.wtwing.com/axis/sayHello" />
    <property name="serviceName" value="HelloImplService" />
    <property name="portName" value="SayHello" />
</bean>

当tomcat,没关系,但是当jboss 7.1.1时,错误:

Failed to initialize service for JAX-RPC port [{http://www.wtwing.com/axis/sayHello}SayHello]; nested exception is javax.xml.rpc.ServiceException: Cannot find ServiceFactory implementation

0 个答案:

没有答案