Author: richard.opalka(a)jboss.com
Date: 2009-04-03 09:55:07 -0400 (Fri, 03 Apr 2009)
New Revision: 9721
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/enventry/EnvEntryBeanJSE.java
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/enventry/WEB-INF/jse-web.xml
Log:
[JBWS-2074] fixing enventry test case
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/enventry/EnvEntryBeanJSE.java
===================================================================
---
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/enventry/EnvEntryBeanJSE.java 2009-04-03
13:51:03 UTC (rev 9720)
+++
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/enventry/EnvEntryBeanJSE.java 2009-04-03
13:55:07 UTC (rev 9721)
@@ -35,10 +35,10 @@
// Provide logging
private static Logger log = Logger.getLogger(EnvEntryBeanJSE.class);
- @Resource
+ // XML driven injection
public String strValue;
- @Resource
+ @Resource( name="jaxws/entry2" )
public Integer intValue;
@WebMethod
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/enventry/WEB-INF/jse-web.xml
===================================================================
---
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/enventry/WEB-INF/jse-web.xml 2009-04-03
13:51:03 UTC (rev 9720)
+++
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/enventry/WEB-INF/jse-web.xml 2009-04-03
13:55:07 UTC (rev 9721)
@@ -24,16 +24,11 @@
<injection-target-name>strValue</injection-target-name>
</injection-target>
</env-entry>
-
+
<env-entry>
- <env-entry-name>jaxws/entry2</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>8</env-entry-value>
- <injection-target>
-
<injection-target-class>org.jboss.test.ws.jaxws.enventry.EnvEntryBeanJSE</injection-target-class>
- <injection-target-name>intValue</injection-target-name>
- </injection-target>
+ <env-entry-name>jaxws/entry2</env-entry-name>
+ <env-entry-type>java.lang.Integer</env-entry-type>
+ <env-entry-value>8</env-entry-value>
</env-entry>
</web-app>
-
Show replies by date