|
Page Edited :
CXF20DOC :
_javascript_ Client Code
_javascript_ Client Code has been edited by Benson Margulies (Dec 14, 2007). Content:Structure of the CodeThere are three types of _javascript_ code:
UtilitiesThe utilities code is a fixed set of _javascript_ that provides some browser compatibility and XML management. This code is delivered in the distribution in the file etc/cxf-utils.js. If you are using the ?js URL handler, it is delivered at the beginning of the response (unless you add ?nojsutils to the URL). If you are generating _javascript_ using the tools, it is up to you to copy this file use it. Schema CodeThe Schema code generates one object for each 'bean' used in your service. This code is organized by XML Schema. The code for each schema starts with a comment like: // // Definitions for schema: http://apache.org/hello_world_soap_http/types // file:/home/benson/cxf/trunk/distribution/src/main/release/samples/js_browser_client/wsdl/hello_world.wsdl#types1 //
|
Unsubscribe or edit your notifications preferences
