Author: kkaempf Date: Wed Nov 14 12:24:14 2007 New Revision: 42039 URL: http://svn.opensuse.org/viewcvs/yast?rev=42039&view=rev Log: update to openwsman 1.5.x API Modified: trunk/openwsman-yast/ (props changed) trunk/openwsman-yast/src/yast_stub_custom.c trunk/openwsman-yast/src/yast_stub_identify.c Modified: trunk/openwsman-yast/src/yast_stub_custom.c URL: http://svn.opensuse.org/viewcvs/yast/trunk/openwsman-yast/src/yast_stub_custom.c?rev=42039&r1=42038&r2=42039&view=diff ============================================================================== --- trunk/openwsman-yast/src/yast_stub_custom.c (original) +++ trunk/openwsman-yast/src/yast_stub_custom.c Wed Nov 14 12:24:14 2007 @@ -186,7 +186,7 @@ char *ycp = hnode_get( ycpnode ); // create response - out_doc = wsman_create_response_envelope( cntx, in_doc , NULL ); + out_doc = wsman_create_response_envelope( in_doc , NULL ); WsXmlNodeH out_body = ws_xml_get_soap_body( out_doc ); @@ -207,7 +207,7 @@ if (out_doc) { ws_xml_destroy_doc( out_doc ); } - out_doc = wsman_generate_fault( cntx, in_doc, status.fault_code, + out_doc = wsman_generate_fault( in_doc, status.fault_code, status.fault_detail_code, NULL ); } Modified: trunk/openwsman-yast/src/yast_stub_identify.c URL: http://svn.opensuse.org/viewcvs/yast/trunk/openwsman-yast/src/yast_stub_identify.c?rev=42039&r1=42038&r2=42039&view=diff ============================================================================== --- trunk/openwsman-yast/src/yast_stub_identify.c (original) +++ trunk/openwsman-yast/src/yast_stub_identify.c Wed Nov 14 12:24:14 2007 @@ -88,8 +88,7 @@ // build response envelope - WsXmlDocH in_doc = ws_get_context_xml_doc_val( cntx, WSFW_INDOC ); - WsXmlDocH doc = wsman_create_response_envelope( cntx, in_doc , NULL ); + WsXmlDocH doc = wsman_create_response_envelope( cntx->indoc , NULL ); WsXmlNodeH node = ws_xml_add_child( ws_xml_get_soap_body( doc ), XML_NS_WSMAN_ID, WSMID_IDENTIFY_RESPONSE, NULL ); // build response body -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org