Author: sergeyb
Date: Fri Oct 9 18:09:39 2009
New Revision: 823648
URL: http://svn.apache.org/viewvc?rev=823648&view=rev
Log:
Minor updates to demos
Modified:
cxf/trunk/distribution/src/main/release/samples/js_client/src/helloworld.js
cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceTester.java
Modified:
cxf/trunk/distribution/src/main/release/samples/js_client/src/helloworld.js
URL:
http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/js_client/src/helloworld.js?rev=823648&r1=823647&r2=823648&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/js_client/src/helloworld.js
(original)
+++ cxf/trunk/distribution/src/main/release/samples/js_client/src/helloworld.js
Fri Oct 9 18:09:39 2009
@@ -22,9 +22,9 @@
importPackage(Packages.org.apache.hello_world_soap_http);
var qname=new
Packages.javax.xml.namespace.QName("http://apache.org/hello_world_soap_http",
"SOAPService");
-var curpath=new File("..");
+var curpath=new File(".");
var sepa=File.separator;
-var
hwpath=curpath.getAbsolutePath()+sepa+"wsdl_first"+sepa+"wsdl"+sepa+"hello_world.wsdl";
+var hwpath=curpath.getAbsolutePath()+sepa+"wsdl"+sepa+"hello_world.wsdl";
var url = new File(hwpath).toURL();
var ss=new SOAPService(url,qname);
var port = ss.getSoapPort();
Modified:
cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceTester.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceTester.java?rev=823648&r1=823647&r2=823648&view=diff
==============================================================================
---
cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceTester.java
(original)
+++
cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceTester.java
Fri Oct 9 18:09:39 2009
@@ -69,7 +69,7 @@
customer.setName("Smith");
customerService.updateCustomer(customer);
- System.out.println("All calls were succesful");
+ System.out.println("All calls were successful");
}
}