incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmidd...@apache.org
Subject svn commit: r529311 - /incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaObjectReferenceTest.java
Date Mon, 16 Apr 2007 16:26:31 GMT
Author: dmiddlem
Date: Mon Apr 16 09:26:30 2007
New Revision: 529311

URL: http://svn.apache.org/viewvc?view=rev&rev=529311
Log:
Fixing the failed binding object reference test because of cxf api modifications.

Modified:
    incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaObjectReferenceTest.java

Modified: incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaObjectReferenceTest.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaObjectReferenceTest.java?view=diff&rev=529311&r1=529310&r2=529311
==============================================================================
--- incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaObjectReferenceTest.java
(original)
+++ incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaObjectReferenceTest.java
Mon Apr 16 09:26:30 2007
@@ -208,7 +208,12 @@
         }
 
         Object testObj = new TestObjectImpl();
-        Endpoint.publish(corbaAddress, testObj);
+        Endpoint ep = Endpoint.create("http://schemas.apache.org/yoko/bindings/corba", testObj);
+        String wsdlLocation = getClass().getResource("/wsdl/ObjectRef.wsdl").toString();
+        Map<String, Object> props = new HashMap<String, Object>();
+        props.put("javax.xml.ws.wsdl.description", wsdlLocation);
+        ep.setProperties(props);
+        ep.publish(corbaAddress);
 
         EndpointReferenceType ref =
             EndpointReferenceUtils.getEndpointReference(wsdlUrl,



Mime
View raw message