Wednesday, October 22, 2008

Axis2/C with WS-Addressing Submission version.

An Axis2/C client can send WS-Addressing submission version headers in the SOAP request. It is just adding a property to the axis2_options_t . Following code segment demonstrate that.

axutil_property_t *property = NULL;
property = axutil_property_create(env);
axutil_property_set_scope(property, env, AXIS2_SCOPE_APPLICATION);
axutil_property_set_value(property, env,AXIS2_WSA_NAMESPACE_SUBMISSION);
axis2_options_set_property(options, env, AXIS2_WSA_VERSION, property);

No comments: