You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2007/06/26 11:47:28 UTC

svn commit: r550757 - /webservices/axis2/trunk/java/xdocs/@axis2_version_dir@/migration.html

Author: sandakith
Date: Tue Jun 26 02:47:25 2007
New Revision: 550757

URL: http://svn.apache.org/viewvc?view=rev&rev=550757
Log:
fix the reported issues in migration document, AXIS2-2307

Modified:
    webservices/axis2/trunk/java/xdocs/@axis2_version_dir@/migration.html

Modified: webservices/axis2/trunk/java/xdocs/@axis2_version_dir@/migration.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/xdocs/%40axis2_version_dir%40/migration.html?view=diff&rev=550757&r1=550756&r2=550757
==============================================================================
--- webservices/axis2/trunk/java/xdocs/@axis2_version_dir@/migration.html (original)
+++ webservices/axis2/trunk/java/xdocs/@axis2_version_dir@/migration.html Tue Jun 26 02:47:25 2007
@@ -77,7 +77,7 @@
       Service  service = new Service();
       Call     call    = (Call) service.createCall();
       call.setTargetEndpointAddress( new java.net.URL(endpoint) );
-      call.setOperationName(new QName("http://soapinterop.org/", echoString"));
+      call.setOperationName(new QName("http://soapinterop.org/", "echoString"));
       String ret = (String) call.invoke( new Object[] { "Hello!" } );
       System.out.println("Sent 'Hello!', got '" + ret + "'");
     } catch (Exception e) {
@@ -111,8 +111,10 @@
 			Options options = new Options();
 			ServiceClient client = new ServiceClient();
 			options.setTo(targetEPR);
+			client.setOptions(options); 
 			//Blocking invocation
 			OMElement result = client.sendReceive(payload);
+      			System.out.println("Sent Hello, got : " + result.toString());
 
 		} catch (AxisFault axisFault) {
 			axisFault.printStackTrace();



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org