You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2007/11/05 17:27:50 UTC
svn commit: r592066 - in /incubator/cxf/branches/2.0.x-fixes: ./
systests/src/test/java/org/apache/cxf/systest/aegis/AegisClientServerTest.java
systests/src/test/resources/webapp/WEB-INF/beans.xml
Author: dkulp
Date: Mon Nov 5 08:27:49 2007
New Revision: 592066
URL: http://svn.apache.org/viewvc?rev=592066&view=rev
Log:
Merged revisions 591366 via svnmerge from
https://svn.apache.org/repos/asf/incubator/cxf/trunk
........
r591366 | dkulp | 2007-11-02 11:35:38 -0400 (Fri, 02 Nov 2007) | 2 lines
[CXF-1145] Testcase for CXF-1145
........
Modified:
incubator/cxf/branches/2.0.x-fixes/ (props changed)
incubator/cxf/branches/2.0.x-fixes/systests/src/test/java/org/apache/cxf/systest/aegis/AegisClientServerTest.java
incubator/cxf/branches/2.0.x-fixes/systests/src/test/resources/webapp/WEB-INF/beans.xml
Propchange: incubator/cxf/branches/2.0.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified: incubator/cxf/branches/2.0.x-fixes/systests/src/test/java/org/apache/cxf/systest/aegis/AegisClientServerTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/systests/src/test/java/org/apache/cxf/systest/aegis/AegisClientServerTest.java?rev=592066&r1=592065&r2=592066&view=diff
==============================================================================
--- incubator/cxf/branches/2.0.x-fixes/systests/src/test/java/org/apache/cxf/systest/aegis/AegisClientServerTest.java (original)
+++ incubator/cxf/branches/2.0.x-fixes/systests/src/test/java/org/apache/cxf/systest/aegis/AegisClientServerTest.java Mon Nov 5 08:27:49 2007
@@ -126,5 +126,10 @@
+ "xsd:complexType[@name='getRolesAsArrayResponse']/"
+ "xsd:sequence/xsd:element[@nillable='true']",
dom);
+
+ url = new URL("http://localhost:9002/serviceWithCustomNS?wsdl");
+ dom = XMLUtils.parse(url.openStream());
+ util.assertValid("//wsdl:definitions[@targetNamespace='http://foo.bar.com']",
+ dom);
}
}
Modified: incubator/cxf/branches/2.0.x-fixes/systests/src/test/resources/webapp/WEB-INF/beans.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/systests/src/test/resources/webapp/WEB-INF/beans.xml?rev=592066&r1=592065&r2=592066&view=diff
==============================================================================
--- incubator/cxf/branches/2.0.x-fixes/systests/src/test/resources/webapp/WEB-INF/beans.xml (original)
+++ incubator/cxf/branches/2.0.x-fixes/systests/src/test/resources/webapp/WEB-INF/beans.xml Mon Nov 5 08:27:49 2007
@@ -50,6 +50,29 @@
</simple:serviceBean>
</simple:server>
+ <simple:server address="/serviceWithCustomNS"
+ serviceClass="org.apache.cxf.authservice.AuthService">
+ <simple:dataBinding>
+ <bean class="org.apache.cxf.aegis.databinding.AegisDatabinding" />
+ </simple:dataBinding>
+ <simple:serviceBean>
+ <bean class="org.apache.cxf.authservice.AuthServiceImpl" />
+ </simple:serviceBean>
+ <simple:serviceFactory>
+ <bean class="org.apache.cxf.service.factory.ReflectionServiceFactoryBean">
+ <property name="serviceConfigurations">
+ <list>
+ <bean class="org.apache.cxf.aegis.databinding.AegisServiceConfiguration">
+ <property name="serviceNamespace" value="http://foo.bar.com"/>
+ </bean>
+ <bean class="org.apache.cxf.service.factory.DefaultServiceConfiguration"/>
+ </list>
+ </property>
+ </bean>
+ </simple:serviceFactory>
+ </simple:server>
+
+
<jaxws:server address="/jaxwsAndAegis"
serviceClass="org.apache.cxf.authservice.AuthService">
<jaxws:dataBinding>