axiom_node_get_node_type(service_greeting_node, env) == AXIOM_TEXT) 120 { 121 axiom_text_t *greeting = (axiom_text_t *)axiom_node_get_data_element(service_greeting_node, env); 122 if (greeting && axiom_text_get_value(greeting , env)) 123 { 124 return axiom_text_get_value(greeting, env); 125 } 126 } 127 } 128 129 return NULL; 130 } 11、编译并执行该程序,会向远程服务发送字符串Hello Service!,并得到响应Hello Client!
|