Author: ay Date: Mon Mar 4 16:57:29 2013 New Revision: 1452394 URL: http://svn.apache.org/r1452394 Log: Merged revisions 1452390 via svn merge from https://svn.apache.org/repos/asf/cxf/branches/2.7.x-fixes
........ r1452390 | ay | 2013-03-04 17:49:31 +0100 (Mon, 04 Mar 2013) | 9 lines Merged revisions 1452387 via svn merge from https://svn.apache.org/repos/asf/cxf/trunk ........ r1452387 | ay | 2013-03-04 17:47:40 +0100 (Mon, 04 Mar 2013) | 1 line add wsdl test with local soap-binding decls ........ ........ Added: cxf/branches/2.6.x-fixes/rt/core/src/test/resources/org/apache/cxf/wsdl11/hello_world_local_nsdecl.wsdl - copied unchanged from r1452390, cxf/branches/2.7.x-fixes/rt/core/src/test/resources/org/apache/cxf/wsdl11/hello_world_local_nsdecl.wsdl Modified: cxf/branches/2.6.x-fixes/ (props changed) cxf/branches/2.6.x-fixes/rt/core/src/test/java/org/apache/cxf/wsdl11/WSDLManagerImplTest.java Propchange: cxf/branches/2.6.x-fixes/ ------------------------------------------------------------------------------ Binary property 'svnmerge-integrated' - no diff available. Modified: cxf/branches/2.6.x-fixes/rt/core/src/test/java/org/apache/cxf/wsdl11/WSDLManagerImplTest.java URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/rt/core/src/test/java/org/apache/cxf/wsdl11/WSDLManagerImplTest.java?rev=1452394&r1=1452393&r2=1452394&view=diff ============================================================================== --- cxf/branches/2.6.x-fixes/rt/core/src/test/java/org/apache/cxf/wsdl11/WSDLManagerImplTest.java (original) +++ cxf/branches/2.6.x-fixes/rt/core/src/test/java/org/apache/cxf/wsdl11/WSDLManagerImplTest.java Mon Mar 4 16:57:29 2013 @@ -96,4 +96,14 @@ public class WSDLManagerImplTest extends assertNotNull(part); assertEquals(new QName("http://apache.org/hello_world/types", "sayHi"), part.getElementName()); } + + @Test + public void testLocalNamespacedWSDL() throws Exception { + String wsdlUrl = getClass().getResource("hello_world_local_nsdecl.wsdl").toString(); + + WSDLManagerImpl builder = new WSDLManagerImpl(); + Definition def = builder.getDefinition(wsdlUrl); + java.io.ByteArrayOutputStream bos = new java.io.ByteArrayOutputStream(); + builder.getWSDLFactory().newWSDLWriter().writeWSDL(def, bos); + } }
