Do you have any sample code to test this.  I created sample and but having
issues.


Michael.Davis-2 wrote:
> 
> Hi,
> 
> I had to add these to my web.xml:
> 
>     <context-param>
>       <param-name>contextConfigLocation</param-name>
>       <param-value>/WEB-INF/applicationContext.xml</param-value>
>     </context-param>
> 
>     <listener>
> 
> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
>     </listener>
> 
> Hope that helps!
> Michael Davis
> 
> 
>> -----Original Message-----
>> From: Sandhu [mailto:[EMAIL PROTECTED]
>> Sent: Friday, June 01, 2007 3:39 PM
>> To: [email protected]
>> Subject: Axis2 Web Service with Spring issue
>> 
>> 
>> 
>> I 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
>> <error>
>> <description>Unable to generate WSDL 1.1 for this 
>> service</description>
>> -
>> <reason>
>> If you wish Axis2 to automatically generate the WSDL 1.1, 
>> then please +set
>> useOriginalwsdl as false in your services.xml
>> </reason>
>> </error>
>> 
>> 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
>> 
>> 
>> Quote:
>> <beans>
>> <!-- 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"/>
>> </bean>
>> <!-- 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>
>> </beans>
>> 2) services.xml
>> 
>> 
>> <parameter name="serviceObjectSupplier" locked="false">
>> org.apache.axis2.extensions.spring.receivers.Sprin
>> gServletContextObjectSupplier
>> </parameter>
>> 
>> <parameter name="SpringBeanName" locked="false">
>> springAccountservice
>> </parameter>
>> 
>> 
>> 3) web.xml
>> 
>> 
>> <listener>
>> <listener-class>
>> org.springframework.web.context.ContextLoaderListe ner
>> </listener-class>
>> </listener>
>> <context-param>
>> <param-name>contextConfigLocation</param-name>
>> <param-value>/WEB-INF/applicationContext.xml</param-value>
>> </context-param>
>> 
>> Any references?
>> 
>> If I try to access it does not work.
>> -- 
>> View this message in context: 
> http://www.nabble.com/Axis2-Web-Service-with-Spring-issue-tf3854117.html#a10919239
> Sent from the Axis - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Axis2-Web-Service-with-Spring-issue-tf3854117.html#a10920214
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to