Revision: 4151
Author: solomax666
Date: Tue Aug 30 11:03:00 2011
Log: - the name of the userWebService bean was misspelled
http://code.google.com/p/openmeetings/source/detail?r=4151
Modified:
/branches/dev/injection/src/META-INF/services.xml
/branches/dev/injection/src/userservice/org/openmeetings/axis/services/UserWebServiceFacade.java
=======================================
--- /branches/dev/injection/src/META-INF/services.xml Mon Aug 29 14:07:53
2011
+++ /branches/dev/injection/src/META-INF/services.xml Tue Aug 30 11:03:00
2011
@@ -1,57 +1,4 @@
<serviceGroup>
- <!--
- <service name="SpringInit"
class="org.openmeetings.axis.services.SpringInit">
- <description>Init Spring Framework</description>
- <parameter
name="ServiceClass">org.openmeetings.axis.services.SpringInit</parameter>
- <parameter name="ServiceTCCL">composite</parameter>
- <parameter name="load-on-startup">true</parameter>
- <operation name="springInit">
- <messageReceiver
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
- </operation>
- </service>
- -->
- <!--
- Testing Spring Integration for Axis2
- <service name="UserService" >
- <description>User Service</description>
-
- <schema schemaNamespace="openmeetings"/>
-
- <parameter name="ServiceObjectSupplier"
locked="xsd:false">org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier</parameter>
- <parameter name="SpringBeanName"
locked="xsd:false">userServiceSoapProxy</parameter>
- <messageReceivers>
- <messageReceiver
- mep="http://www.w3.org/2004/08/wsdl/in-only"
-
class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
- <messageReceiver
- mep="http://www.w3.org/2004/08/wsdl/in-out"
-
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
- </messageReceivers>
-
- <operation name="getSession">
- </operation>
- <operation name="loginUser">
- </operation>
- <operation name="getErrorByCode" />
- <operation name="addNewUser" />
- <operation name="addNewUserWithTimeZone" />
- <operation name="addNewUserWithExternalType" />
- <operation name="deleteUserById" />
- <operation name="deleteUserByExternalUserIdAndType" />
- <operation name="setUserObject" />
- <operation name="setUserObjectWithExternalUser" />
- <operation name="setUserObjectAndGenerateRoomHash" />
- <operation name="setUserObjectAndGenerateRoomHashByURL" />
- <operation name="setUserObjectAndGenerateRoomHashByURLAndRecFlag" />
- <operation name="setUserObjectMainLandingZone" />
- <operation name="setUserAndNickName" />
- <operation name="setUserObjectAndGenerateRecordingHashByURL" />
- <operation name="addUserToOrganisation" />
- <operation name="getUsersByOrganisation" />
- <operation name="kickUserByPublicSID" />
-
- </service>
- -->
<service name="UserService">
<description>User Service</description>
<messageReceivers>
=======================================
---
/branches/dev/injection/src/userservice/org/openmeetings/axis/services/UserWebServiceFacade.java
Mon Aug 29 14:07:53 2011
+++
/branches/dev/injection/src/userservice/org/openmeetings/axis/services/UserWebServiceFacade.java
Tue Aug 30 11:03:00 2011
@@ -18,26 +18,6 @@
private static final Logger log = Red5LoggerFactory.getLogger(
UserWebServiceFacade.class,
ScopeApplicationAdapter.webAppRootKey);
-
- // private static final String SPRING_CONTEXT_XML =
- // "openmeetings-applicationContext.xml";
- //
- // public void shutDown(ConfigurationContext ctx, AxisService service) {
- // try {
- // ClassLoader classLoader = service.getClassLoader();
- // ClassPathXmlApplicationContext applicationContext = new
- // ClassPathXmlApplicationContext(
- // new String[] { SPRING_CONTEXT_XML }, false);
- // applicationContext.setClassLoader(classLoader);
- // applicationContext.refresh();
- // } catch (Exception e) {
- // e.printStackTrace();
- // }
- // }
- //
- // public void startUp(ConfigurationContext arg0, AxisService arg1) {
- //
- // }
private ServletContext getServletContext() throws Exception {
MessageContext mc = MessageContext.getCurrentMessageContext();
@@ -49,7 +29,7 @@
try {
ApplicationContext context = WebApplicationContextUtils
.getWebApplicationContext(getServletContext());
- return (UserWebService)
context.getBean("userServiceSoapProxy");
+ return (UserWebService)
context.getBean("userWebService");
} catch (Exception err) {
log.error("[getUserServiceProxy]", err);
}
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en.