Announcement Announcement Module
Collapse
No announcement yet.
how to integrate jax-ws in spring DM? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to integrate jax-ws in spring DM?

    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:
    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.

  • #2
    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>

    Comment


    • #3
      anyone give suggestion is grateful,i need your help.

      Comment


      • #4
        this config can be run web container,why don't run osgi container,osgi container implement is equinox.any one can give me suggestion,thanks very much!

        Comment

        Working...
        X