You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2007/07/17 15:30:56 UTC
svn commit: r556924 - in /webservices/axis2/trunk/java/modules/jaxws:
pom.xml test/org/apache/axis2/jaxws/description/DescriptionTestUtils2.java
Author: dims
Date: Tue Jul 17 06:30:49 2007
New Revision: 556924
URL: http://svn.apache.org/viewvc?view=rev&rev=556924
Log:
get build working under JDK1.6
Modified:
webservices/axis2/trunk/java/modules/jaxws/pom.xml
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/DescriptionTestUtils2.java
Modified: webservices/axis2/trunk/java/modules/jaxws/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/pom.xml?view=diff&rev=556924&r1=556923&r2=556924
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/pom.xml (original)
+++ webservices/axis2/trunk/java/modules/jaxws/pom.xml Tue Jul 17 06:30:49 2007
@@ -852,7 +852,7 @@
<configuration>
<skip>false</skip>
<forkMode>once</forkMode>
- <argLine>-Xms256m -Xmx512m</argLine>
+ <argLine>-Xms256m -Xmx512m -Djava.endorsed.dirs=${project.build.directory}/../../saaj-api/target/ </argLine>
<!-- Enable the next 2 lines if you want to attach a debugger
<argLine>-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006</argLine>-->
<includes>
@@ -867,6 +867,22 @@
<property>
<name>org.apache.axis2.jaxws.config.path</name>
<value>./target/test-classes/axis2.xml</value>
+ </property>
+ <property>
+ <name>javax.xml.soap.MessageFactory</name>
+ <value>org.apache.axis2.saaj.MessageFactoryImpl</value>
+ </property>
+ <property>
+ <name>javax.xml.soap.SOAPFactory</name>
+ <value>org.apache.axis2.saaj.SOAPFactoryImpl</value>
+ </property>
+ <property>
+ <name>javax.xml.soap.SOAPConnectionFactory</name>
+ <value>org.apache.axis2.saaj.SOAPConnectionFactoryImpl</value>
+ </property>
+ <property>
+ <name>javax.xml.soap.MetaFactory</name>
+ <value>org.apache.axis2.saaj.SAAJMetaFactoryImpl</value>
</property>
</systemProperties>
</configuration>
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/DescriptionTestUtils2.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/DescriptionTestUtils2.java?view=diff&rev=556924&r1=556923&r2=556924
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/DescriptionTestUtils2.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/DescriptionTestUtils2.java Tue Jul 17 06:30:49 2007
@@ -82,13 +82,10 @@
// Need to get to the private Service._delegate field in order to get to the ServiceDescription to test
ServiceDelegate returnServiceDelegate = null;
try {
- Field serviceDelgateField = service.getClass().getDeclaredField("_delegate");
+ Field serviceDelgateField = service.getClass().getDeclaredFields()[0];
serviceDelgateField.setAccessible(true);
returnServiceDelegate = (ServiceDelegate) serviceDelgateField.get(service);
} catch (SecurityException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- } catch (NoSuchFieldException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IllegalAccessException e) {
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org