JAX-WS client deployment problem: "SEI is missing @WebService annotation"
Hi all,
I declared a bean which is WS client like this
Code:
<bean id="remoteService" class="org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean">
<property name="serviceInterface" value="springjaxws.client.SomeserviceWS"/>
<property name="wsdlDocumentUrl" value="http://vm-tbtest:8080/SomeserviceWS?wsdl"/>
<property name="namespaceUri" value="http://ws.namespace/"/>
<property name="serviceName" value="SomeserviceWS"/>
<property name="endpointAddress" value="http://VM-TBTEST:8080//SomeserviceWS"/>
</bean>
I generated JAX-WS artifacts and it all worked as standalone application.
Now, i need this in webapp which is deployed to jboss5.1. I did the same, generated JAX-WS classes etc, but during deployment, i get this on jboss console:
Code:
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'remoteService' defined in ServletContext resource [/WEB-INF/spring/middlelayer-context.xml]:
Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException:
SEI is missing @WebService annotation: interface springjaxws.client.SomeserviceWS
I double checked and annotation is defintely present so I am quite confused. I'd appreciate if someone coud give a hint.
Thanks!