Announcement Announcement Module
No announcement yet.
Axis2 Web Service with Spring Issue Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Axis2 Web Service with Spring Issue

    am trying to integrate Axis2 Web Service with Spring.

    Integrating Web Services with Existing Application Domain

    Spring Integration has Issue:
    1) It does not load ContextLoaderListener

    Running Axis2 with Spring inside web

    1) http://localhost:8080/web/services/AccountService?wsdl
    <description>Unable to generate WSDL 1.1 for this service</description>
    If you wish Axis2 to automatically generate the WSDL 1.1, then please +set useOriginalwsdl as false in your services.xml

    2) ContextLoader Issue spring does not inject code into skelton

    Note: In general web service does not work

    Here's the setup:

    Spring applicationContext.xml

    <!-- Axis2 web service, but to Spring, its just another bean that has dependencies -->
    <bean id="springAccountservice" class="com.corp.account.domain.accountmanager.Acco untserviceSkeleton">
    <property name="service" ref="accountManager"/>
    <!-- just another bean/interface with a wired implementation, which is injected by Spring into the web service -->
    <bean id="accountManager" class="com.corp.account.domain.impl.AccountManager Impl"> </bean>
    2) services.xml

    <parameter name="serviceObjectSupplier" locked="false">
    org.apache.axis2.extensions.spring.receivers.Sprin gServletContextObjectSupplier

    <parameter name="SpringBeanName" locked="false">
    3) web.xml

    org.springframework.web.context.ContextLoaderListe ner
    Any references?

    If I try to access it does not work.