You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bi...@apache.org on 2007/12/14 16:49:10 UTC
svn commit: r604213 - in /incubator/cxf/trunk/rt/javascript/src/test:
java/org/apache/cxf/javascript/hwdemo/GreeterImpl.java
resources/org/apache/cxf/javascript/GreeterTests.js
resources/wsdl/hello_world.wsdl
Author: bimargulies
Date: Fri Dec 14 07:49:10 2007
New Revision: 604213
URL: http://svn.apache.org/viewvc?rev=604213&view=rev
Log:
Change the namespaces of a copy of a schema that conflicted with testutils.
Modified:
incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/hwdemo/GreeterImpl.java
incubator/cxf/trunk/rt/javascript/src/test/resources/org/apache/cxf/javascript/GreeterTests.js
incubator/cxf/trunk/rt/javascript/src/test/resources/wsdl/hello_world.wsdl
Modified: incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/hwdemo/GreeterImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/hwdemo/GreeterImpl.java?rev=604213&r1=604212&r2=604213&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/hwdemo/GreeterImpl.java (original)
+++ incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/hwdemo/GreeterImpl.java Fri Dec 14 07:49:10 2007
@@ -22,13 +22,14 @@
import java.util.logging.Logger;
import org.apache.cxf.common.logging.LogUtils;
-import org.apache.hello_world_soap_http.Greeter;
-import org.apache.hello_world_soap_http.PingMeFault;
-import org.apache.hello_world_soap_http.types.FaultDetail;
+import uri.cxf_apache_org.jstest.Greeter;
+import uri.cxf_apache_org.jstest.PingMeFault;
+import uri.cxf_apache_org.jstest.types.FaultDetail;
+
@javax.jws.WebService(portName = "SoapPort", serviceName = "SOAPService",
targetNamespace = "http://apache.org/hello_world_soap_http",
- endpointInterface = "org.apache.hello_world_soap_http.Greeter")
+ endpointInterface = "uri.cxf_apache_org.jstest.Greeter")
@org.apache.cxf.feature.Features(features = "org.apache.cxf.feature.LoggingFeature")
public class GreeterImpl implements Greeter {
Modified: incubator/cxf/trunk/rt/javascript/src/test/resources/org/apache/cxf/javascript/GreeterTests.js
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/javascript/src/test/resources/org/apache/cxf/javascript/GreeterTests.js?rev=604213&r1=604212&r2=604213&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/javascript/src/test/resources/org/apache/cxf/javascript/GreeterTests.js (original)
+++ incubator/cxf/trunk/rt/javascript/src/test/resources/org/apache/cxf/javascript/GreeterTests.js Fri Dec 14 07:49:10 2007
@@ -59,7 +59,7 @@
globalNotifier = new org_apache_cxf_notifier();
var intf;
- intf = new apache_org_hello_world_soap_http_Greeter();
+ intf = new cxf_apache_org_jstest_Greeter();
intf.url = url;
intf.sayHi(testSuccessCallback, testErrorCallback);
Modified: incubator/cxf/trunk/rt/javascript/src/test/resources/wsdl/hello_world.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/javascript/src/test/resources/wsdl/hello_world.wsdl?rev=604213&r1=604212&r2=604213&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/javascript/src/test/resources/wsdl/hello_world.wsdl (original)
+++ incubator/cxf/trunk/rt/javascript/src/test/resources/wsdl/hello_world.wsdl Fri Dec 14 07:49:10 2007
@@ -17,17 +17,17 @@
specific language governing permissions and limitations
under the License.
-->
-<wsdl:definitions name="HelloWorld" targetNamespace="http://apache.org/hello_world_soap_http"
+<wsdl:definitions name="HelloWorld" targetNamespace="uri:cxf.apache.org:jstest"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:tns="http://apache.org/hello_world_soap_http"
- xmlns:x1="http://apache.org/hello_world_soap_http/types"
+ xmlns:tns="uri:cxf.apache.org:jstest"
+ xmlns:x1="uri:cxf.apache.org:jstest:types"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
- <schema targetNamespace="http://apache.org/hello_world_soap_http/types"
+ <schema targetNamespace="uri:cxf.apache.org:jstest:types"
xmlns="http://www.w3.org/2001/XMLSchema"
- xmlns:tns="http://apache.org/hello_world_soap_http/types"
+ xmlns:tns="uri:cxf.apache.org:jstest:types"
elementFormDefault="qualified">
<simpleType name="MyStringType">
<restriction base="string">