how to integrate jax-ws with spring DM in osgi?
hi,everyone:
i develop a jax-ws,it can be run in spring stand alone,however, it can't run in osgi,the exception is:
2011-7-13 9:39:47 com.sun.xml.internal.ws.model.RuntimeModeler getRequestWrapperClass
信息: Dynamically creating request wrapper Class com.easipass.ws.jaxws.jaxws.InsertAccount
2011-7-13 9:39:47 com.sun.xml.internal.ws.model.RuntimeModeler getResponseWrapperClass
信息: Dynamically creating response wrapper bean Class com.easipass.ws.jaxws.jaxws.InsertAccountResponse
2011-7-13 9:39:47 com.sun.xml.internal.ws.model.RuntimeModeler getRequestWrapperClass
信息: Dynamically creating request wrapper Class com.easipass.ws.jaxws.jaxws.GetAccounts
2011-7-13 9:39:47 com.sun.xml.internal.ws.model.RuntimeModeler getResponseWrapperClass
信息: Dynamically creating response wrapper bean Class com.easipass.ws.jaxws.jaxws.GetAccountsResponse
javax.xml.ws.WebServiceException: class com.easipass.ws.jaxws.jaxws.InsertAccountResponse do not have a property of the name return
at com.sun.xml.internal.ws.server.sei.EndpointRespons eMessageBuilder$DocLit.<init>(EndpointResponseMess ageBuilder.java:195)
at com.sun.xml.internal.ws.server.sei.EndpointMethodH andler.createResponseMessageBuilder(EndpointMethod Handler.java:191)
at com.sun.xml.internal.ws.server.sei.EndpointMethodH andler.<init>(EndpointMethodHandler.java:97)
at com.sun.xml.internal.ws.server.sei.PayloadQNameBas edDispatcher.<init>(PayloadQNameBasedDispatcher.ja va:95)
at com.sun.xml.internal.ws.server.sei.EndpointMethodD ispatcherGetter.<init>(EndpointMethodDispatcherGet ter.java:61)
at com.sun.xml.internal.ws.server.sei.SEIInvokerTube. <init>(SEIInvokerTube.java:64)
at com.sun.xml.internal.ws.server.EndpointFactory.cre ateEndpoint(EndpointFactory.java:194)
at com.sun.xml.internal.ws.api.server.WSEndpoint.crea te(WSEndpoint.java:456)
at com.sun.xml.internal.ws.api.server.WSEndpoint.crea te(WSEndpoint.java:475)
at com.sun.xml.internal.ws.transport.http.server.Endp ointImpl.createEndpoint(EndpointImpl.java:213)
does anyone meet this error? thanks for your help.
spring's config is:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context"
xmlns:jee="http://www.springframework.org/schema/jee" xmlns:ehcache="http://www.springmodules.org/schema/ehcache"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schem...-beans-2.5.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schem...ontext-2.5.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schem...ng-jee-2.5.xsd
http://www.springmodules.org/schema/ehcache http://www.springmodules.org/schema/...es-ehcache.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
<bean class="org.springframework.remoting.jaxws.SimpleJa xWsServiceExporter">
<property name="baseAddress" value="http://localhost:9908/"/>
</bean>
<bean id="accountServiceEndpoint" class="com.easipass.ws.jaxws.AccountServiceEndpoin t">
</bean>
</beans>