You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2007/05/03 11:12:15 UTC
[jira] Resolved: (AXIS2C-581) Issues in the "Apache Axis2/C User's
Guide - Writing Web Services Skeleton Using Code Generator and Writing Web
Service Clients Using Axis2's Primary APIs"
[ https://issues.apache.org/jira/browse/AXIS2C-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Samisa Abeysinghe resolved AXIS2C-581.
--------------------------------------
Resolution: Fixed
User guide has been dropped and content moved to Axis2/C manual. These issues has been fixed in the manual
> Issues in the "Apache Axis2/C User's Guide - Writing Web Services Skeleton Using Code Generator and Writing Web Service Clients Using Axis2's Primary APIs"
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2C-581
> URL: https://issues.apache.org/jira/browse/AXIS2C-581
> Project: Axis2-C
> Issue Type: Bug
> Components: documentation
> Environment: Windows XP
> Reporter: Evanthika Amarasiri
> Priority: Minor
>
> 1. In "The WSDL interoptestdoclitparameters.wsdl can be found in <axis2_src_dir>/test/resources directory." shouldn't <axis2_src_dir> be <axis2c_src_dir> ?
> All the instances which says <axis2_src_dir> should be replaced by <axis2c_src_dir>
> 2. There are some variables in the User guide given in capitals but in the samples they are given in simples. These needs to be changed.
> Under the heading "echo_blocking Client"
> a) AXIS2_OPTIONS_SET_TO
> b) AXIS2_SVC_CLIENT_SET_OPTIONS
> c) AXIS2_SVC_CLIENT_SEND_RECEIVE
> Under the heading "echo_non_blocking Client"
> a) AXIS2_SVC_CLIENT_SEND_RECEIVE_NON_BLOCKING
> b) AXIS2_CALLBACK_SET_ON_COMPLETE
> Under the heading "echo_non_blocking_dual Client"
> a) AXIS2_SVC_CLIENT_ENGAGE_MODULE
> b) AXIS2_MODULE_ADDRESSING - Not used anywhere in the code
> c) AXIS2_OPTIONS_SET_USE_SEPERATE_LISTENER
> 3. The following code segments are different to what is given in the samples. Generally all the code segments given in the user guide should be replaced with the latest code
> **********************************************
> Sample
> ======
> if (!client_home || !strcmp (client_home, ""))
> client_home = "../..";
> Guide
> ====
> if (!client_home)
> client_home = "../../deploy";
> ***********************************************
> Sample
> =====
> AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
> " %d :: %s", env->error->error_number,
> AXIS2_ERROR_GET_MESSAGE(env->error));
> return -1;
> }
> Guide
> ====
> AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED:Error code:
> % d :: %s", env->error->error_number,
> AXIS2_ERROR_GET_MESSAGE(env->error));
> ***********************************************
> Sample
> =====
> if(ret_node)
> {
> axis2_char_t *om_str = NULL;
> om_str = AXIOM_NODE_TO_STRING(ret_node, env);
> if (om_str)
> {
> printf("\nReceived OM : %s\n", om_str);
> AXIS2_FREE(env->allocator, om_str);
> }
> printf("\necho client invoke SUCCESSFUL!\n");
> }
> Guide
> ====
> if(ret_node)
> {
> axis2_char_t *om_str = NULL;
> om_str = AXIOM_NODE_TO_STRING(ret_node, env);
> if (om_str)
> printf("\nReceived OM : %s\n", om_str);
>
>
> printf("\necho client invoke SUCCESSFUL!\n");
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org