You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by ge...@ws.apache.org on 2005/01/12 04:18:55 UTC

[Apache Web Services Wiki] Updated: FrontPage/Axis/WSDLJavaHeader

   Date: 2005-01-11T19:18:55
   Editor: ToshiyukiKimura
   Wiki: Apache Web Services Wiki
   Page: FrontPage/Axis/WSDLJavaHeader
   URL: http://wiki.apache.org/ws/FrontPage/Axis/WSDLJavaHeader

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -22,7 +22,7 @@
  result = binding.myOperation(...);
 }}}
 
-'''Q: Can someone explain why the variable "binding" (in the above code) needs to be cast to a Stub if the {{FooService}}} class (as typically generated by {{{WSDL2Java}}}) already extends the org.apache.axis.client.Stub class?'''
+'''Q: Can someone explain why the variable "binding" (in the above code) needs to be cast to a Stub if the {{{FooService class}}} (as typically generated by {{{WSDL2Java}}}) already extends the org.apache.axis.client.Stub class?'''
 
 A: Because getFooService() will return the stub as a {{{FooService object}}}, which is an Interface that contains only the service operations. Casting this to a Stub object allows access to the JAX-RPC and Axis Stub APIs.