thanks for the answers, that bring me a little bit forward. I look at the
math example code to understand how it works. In the
build_om_programatically function there will be create a xml request. I
think it has the tree structure like this:
<ns1:add xmlns:ns1=""http://..../services/math";>
     <param1> 40 </param1>
     <param2>  5  </param2>
</ns1:add>

so add is the method of the service and 40 and 8 are the parameters of the
functions. You get the response 48. Thats right. To pack this XML-request in
a SOAP-Envelope i think is done by my axis2-engine. It is right? 
Let us assume that the function add need no parameters.
It is  enough to create a xml request like this:
<ns1:add xmlns:ns1=""http://..../services/math";></ns1:add> ???
Because i want to request a method which expected no parameters(see wsdl
fragment below). Therefore in my function build_om_programatically i create
only one element:
example_om_element = axiom_element_create(env, NULL, "NameOfMethod", ns1,
&Example_om_node);...
return Example_om_node;

´My main function is like the math example:
node = build_om_programatically(env);
if(stub)
{
     ret_node = axis2_stub_op_ExampleOperation(stub, env, node);
}
if(ret_node)
{
     if(axiom_node_get_node_type(ret_node, env) == AXIOM_ELEMENT)
     {
          axis2_char_t *result = NULL;
          axiom_element_t *result_ele = (axiom_elemet_t
*)axiom_node_get_data_element(ret_node,env);
          result = axiom_element_get_text(result_ele, env, ret_node);
          printf("\nResult = %s\n", result);
     }...

As result i get: Result = (null)
What does it mean? I think the invoke was successfull but i get no answer?
Have somebody an answer to one of my questions?
ciao
-- 
View this message in context: 
http://www.nabble.com/AXIS2-and-AXIOM-tp19163204p19178973.html
Sent from the Axis - C++ - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to