本文整理汇总了C++中soap_envelope_begin_out函数的典型用法代码示例。如果您正苦于以下问题:C++ soap_envelope_begin_out函数的具体用法?C++ soap_envelope_begin_out怎么用?C++ soap_envelope_begin_out使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了soap_envelope_begin_out函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: soap_begin
int RuleEngineBindingProxy::GetSupportedRules(const char *endpoint, const char *soap_action, _analyticsws__GetSupportedRules *analyticsws__GetSupportedRules, _analyticsws__GetSupportedRulesResponse &analyticsws__GetSupportedRulesResponse)
{ struct soap *soap = this->soap;
struct __analyticsws__GetSupportedRules soap_tmp___analyticsws__GetSupportedRules;
if (endpoint)
soap_endpoint = endpoint;
if (soap_action == NULL)
soap_action = "http://www.onvif.org/ver20/analytics/wsdl/GetSupportedRules";
soap_begin(soap);
soap->encodingStyle = NULL;
soap_tmp___analyticsws__GetSupportedRules.analyticsws__GetSupportedRules = analyticsws__GetSupportedRules;
soap_serializeheader(soap);
soap_serialize___analyticsws__GetSupportedRules(soap, &soap_tmp___analyticsws__GetSupportedRules);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___analyticsws__GetSupportedRules(soap, &soap_tmp___analyticsws__GetSupportedRules, "-analyticsws:GetSupportedRules", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___analyticsws__GetSupportedRules(soap, &soap_tmp___analyticsws__GetSupportedRules, "-analyticsws:GetSupportedRules", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!&analyticsws__GetSupportedRulesResponse)
return soap_closesock(soap);
analyticsws__GetSupportedRulesResponse.soap_default(soap);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
analyticsws__GetSupportedRulesResponse.soap_get(soap, "analyticsws:GetSupportedRulesResponse", NULL);
if (soap->error)
return soap_recv_fault(soap, 0);
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
开发者ID:hummatli,项目名称:onvif-qt-server-client,代码行数:51,代码来源:onvifanalyticsRuleEngineBindingProxy.cpp
示例2: soap_call_ns__echoString
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__echoString(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *str, char **res)
{ struct ns__echoString soap_tmp_ns__echoString;
struct ns__echoStringResponse *soap_tmp_ns__echoStringResponse;
if (!soap_endpoint)
soap_endpoint = "soap.udp://localhost:10000";
soap->encodingStyle = NULL;
soap_tmp_ns__echoString.str = str;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize_ns__echoString(soap, &soap_tmp_ns__echoString);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_ns__echoString(soap, &soap_tmp_ns__echoString, "ns:echoString", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_ns__echoString(soap, &soap_tmp_ns__echoString, "ns:echoString", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!res)
return soap_closesock(soap);
*res = NULL;
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
soap_tmp_ns__echoStringResponse = soap_get_ns__echoStringResponse(soap, NULL, "ns:echoStringResponse", "");
if (soap->error)
return soap_recv_fault(soap, 0);
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
if (res && soap_tmp_ns__echoStringResponse->res)
*res = *soap_tmp_ns__echoStringResponse->res;
return soap_closesock(soap);
}
开发者ID:hongxiaolong,项目名称:ABET,代码行数:51,代码来源:soapClient.cpp
示例3: soap_begin
int SealingServicesBindingProxy::Seal(_ns4__Seal *ns4__Seal, _ns4__SealResponse *ns4__SealResponse)
{ struct soap *soap = this;
struct __ns4__Seal soap_tmp___ns4__Seal;
const char *soap_action = NULL;
if (!soap_endpoint)
soap_endpoint = "http://ium-vbox-win2k8:16100/irm_sealing/sealing_services";
soap_action = "urn:SealingServices#Seal";
soap->encodingStyle = NULL;
soap_tmp___ns4__Seal.ns4__Seal = ns4__Seal;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns4__Seal(soap, &soap_tmp___ns4__Seal);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns4__Seal(soap, &soap_tmp___ns4__Seal, "-ns4:Seal", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns4__Seal(soap, &soap_tmp___ns4__Seal, "-ns4:Seal", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns4__SealResponse)
return soap_closesock(soap);
ns4__SealResponse->soap_default(soap);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
ns4__SealResponse->soap_get(soap, "ns4:SealResponse", "");
if (soap->error)
return soap_recv_fault(soap, 0);
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
开发者ID:shoumikhin,项目名称:Oracle-IRM-PoC-Native-Client,代码行数:51,代码来源:soapSealingServicesBindingProxy.cpp
示例4: soap_call_wmas__retrieveinvoiceindex
SOAP_FMAC5 int SOAP_FMAC6 soap_call_wmas__retrieveinvoiceindex(struct soap *soap, const char *soap_endpoint, const char *soap_action, std::string driverid, std::string vehicleid, struct wmas__retrieveinvoiceindexResponse &_param_2)
{ struct wmas__retrieveinvoiceindex soap_tmp_wmas__retrieveinvoiceindex;
if (soap_endpoint == NULL)
soap_endpoint = "http://localhost:8088/shagang/service/wmasservice.php";
if (soap_action == NULL)
soap_action = "http://www.example.org/wmasservice/retrieveinvoiceindex";
soap_begin(soap);
soap->encodingStyle = NULL;
soap_tmp_wmas__retrieveinvoiceindex.driverid = driverid;
soap_tmp_wmas__retrieveinvoiceindex.vehicleid = vehicleid;
soap_serializeheader(soap);
soap_serialize_wmas__retrieveinvoiceindex(soap, &soap_tmp_wmas__retrieveinvoiceindex);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_wmas__retrieveinvoiceindex(soap, &soap_tmp_wmas__retrieveinvoiceindex, "wmas:retrieveinvoiceindex", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_wmas__retrieveinvoiceindex(soap, &soap_tmp_wmas__retrieveinvoiceindex, "wmas:retrieveinvoiceindex", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!&_param_2)
return soap_closesock(soap);
soap_default_wmas__retrieveinvoiceindexResponse(soap, &_param_2);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
soap_get_wmas__retrieveinvoiceindexResponse(soap, &_param_2, "wmas:retrieveinvoiceindexResponse", NULL);
if (soap->error)
return soap_recv_fault(soap, 0);
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
开发者ID:jimiy,项目名称:wmas,代码行数:51,代码来源:soapClient.cpp
示例5: soap_call_wechat__refund
SOAP_FMAC5 int SOAP_FMAC6 soap_call_wechat__refund(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct wechat__refundReq *refundReq, struct wechat__refundResponse *_param_19)
{ struct wechat__refund soap_tmp_wechat__refund;
if (!soap_endpoint)
soap_endpoint = "http://192.168.16.32:8800/apay-ws/services/pos/wxservice";
if (!soap_action)
soap_action = "";
soap->encodingStyle = NULL;
soap_tmp_wechat__refund.refundReq = refundReq;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize_wechat__refund(soap, &soap_tmp_wechat__refund);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_wechat__refund(soap, &soap_tmp_wechat__refund, "wechat:refund", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_wechat__refund(soap, &soap_tmp_wechat__refund, "wechat:refund", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
soap_default_wechat__refundResponse(soap, _param_19);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
soap_get_wechat__refundResponse(soap, _param_19, "wechat:refundResponse", "");
if (soap->error)
{ if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
return soap_recv_fault(soap);
return soap_closesock(soap);
}
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
开发者ID:chengzhang-90,项目名称:ADC_Server,代码行数:51,代码来源:apaylibClient.c
示例6: soap_call_baidu__orderquery
SOAP_FMAC5 int SOAP_FMAC6 soap_call_baidu__orderquery(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct baidu__orderQueryReq *orderQueryReq, struct baidu__orderqueryResponse *_param_4)
{ struct baidu__orderquery soap_tmp_baidu__orderquery;
if (!soap_endpoint)
soap_endpoint = "http://192.168.16.32:8800/apay-ws/services/pos/baiduservice";
if (!soap_action)
soap_action = "";
soap->encodingStyle = NULL;
soap_tmp_baidu__orderquery.orderQueryReq = orderQueryReq;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize_baidu__orderquery(soap, &soap_tmp_baidu__orderquery);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_baidu__orderquery(soap, &soap_tmp_baidu__orderquery, "baidu:orderquery", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_baidu__orderquery(soap, &soap_tmp_baidu__orderquery, "baidu:orderquery", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
soap_default_baidu__orderqueryResponse(soap, _param_4);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
soap_get_baidu__orderqueryResponse(soap, _param_4, "baidu:orderqueryResponse", "");
if (soap->error)
{ if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
return soap_recv_fault(soap);
return soap_closesock(soap);
}
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
开发者ID:chengzhang-90,项目名称:ADC_Server,代码行数:51,代码来源:apaylibClient.c
示例7: soap_call_coupon__couponSearchByPan
SOAP_FMAC5 int SOAP_FMAC6 soap_call_coupon__couponSearchByPan(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct coupon__couponSerachByPanReq *CouponSearchByPanReq, struct coupon__couponSearchByPanResponse *_param_13)
{ struct coupon__couponSearchByPan soap_tmp_coupon__couponSearchByPan;
if (!soap_endpoint)
soap_endpoint = "http://192.168.16.32:8800/apay-ws/services/pos/service";
if (!soap_action)
soap_action = "";
soap->encodingStyle = NULL;
soap_tmp_coupon__couponSearchByPan.CouponSearchByPanReq = CouponSearchByPanReq;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize_coupon__couponSearchByPan(soap, &soap_tmp_coupon__couponSearchByPan);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_coupon__couponSearchByPan(soap, &soap_tmp_coupon__couponSearchByPan, "coupon:couponSearchByPan", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_coupon__couponSearchByPan(soap, &soap_tmp_coupon__couponSearchByPan, "coupon:couponSearchByPan", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
soap_default_coupon__couponSearchByPanResponse(soap, _param_13);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
soap_get_coupon__couponSearchByPanResponse(soap, _param_13, "coupon:couponSearchByPanResponse", "");
if (soap->error)
{ if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
return soap_recv_fault(soap);
return soap_closesock(soap);
}
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
开发者ID:chengzhang-90,项目名称:ADC_Server,代码行数:51,代码来源:apaylibClient.c
示例8: soap_call___s0__RtMonStart
SOAP_FMAC5 int SOAP_FMAC6 soap_call___s0__RtMonStart(struct soap *soap, const char *soap_endpoint, const char *soap_action, _s0__RtMonStart *s0__RtMonStart, _s0__RtMonStartResponse *s0__RtMonStartResponse)
{ struct __s0__RtMonStart soap_tmp___s0__RtMonStart;
if (!soap_action)
soap_action = "s0:RtMonStart";
soap->encodingStyle = NULL;
soap_tmp___s0__RtMonStart.s0__RtMonStart = s0__RtMonStart;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___s0__RtMonStart(soap, &soap_tmp___s0__RtMonStart);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___s0__RtMonStart(soap, &soap_tmp___s0__RtMonStart, "-s0:RtMonStart", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___s0__RtMonStart(soap, &soap_tmp___s0__RtMonStart, "-s0:RtMonStart", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!s0__RtMonStartResponse)
return soap_closesock(soap);
s0__RtMonStartResponse->soap_default(soap);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
s0__RtMonStartResponse->soap_get(soap, "s0:RtMonStartResponse", "");
if (soap->error)
{ if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
return soap_recv_fault(soap);
return soap_closesock(soap);
}
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
开发者ID:Strongc,项目名称:proview,代码行数:51,代码来源:statussrv_Client.cpp
示例9: soap_call_ns2__add
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns2__add(struct soap *soap, const char *soap_endpoint, const char *soap_action, int num1, int num2, int *sum)
{ struct ns2__add soap_tmp_ns2__add;
struct ns2__addResponse *soap_tmp_ns2__addResponse;
soap->encodingStyle = NULL;
soap_tmp_ns2__add.num1 = num1;
soap_tmp_ns2__add.num2 = num2;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize_ns2__add(soap, &soap_tmp_ns2__add);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_ns2__add(soap, &soap_tmp_ns2__add, "ns2:add", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_ns2__add(soap, &soap_tmp_ns2__add, "ns2:add", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
soap_default_int(soap, sum);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
soap_tmp_ns2__addResponse = soap_get_ns2__addResponse(soap, NULL, "ns2:addResponse", "");
if (soap->error)
{ if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
return soap_recv_fault(soap);
return soap_closesock(soap);
}
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
if (sum && soap_tmp_ns2__addResponse->sum)
*sum = *soap_tmp_ns2__addResponse->sum;
return soap_closesock(soap);
}
开发者ID:Jeansfirm,项目名称:test,代码行数:51,代码来源:soapClient.c
示例10: soap_call___s0__GetProperties
SOAP_FMAC5 int SOAP_FMAC6 soap_call___s0__GetProperties(struct soap* soap,
const char* soap_endpoint, const char* soap_action,
_s0__GetProperties* s0__GetProperties,
_s0__GetPropertiesResponse* s0__GetPropertiesResponse)
{
struct __s0__GetProperties soap_tmp___s0__GetProperties;
if (!soap_action)
soap_action
= "http://opcfoundation.org/webservices/XMLDA/1.0/GetProperties";
soap->encodingStyle = NULL;
soap_tmp___s0__GetProperties.s0__GetProperties = s0__GetProperties;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___s0__GetProperties(soap, &soap_tmp___s0__GetProperties);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH) {
if (soap_envelope_begin_out(soap) || soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___s0__GetProperties(
soap, &soap_tmp___s0__GetProperties, "-s0:GetProperties", "")
|| soap_body_end_out(soap) || soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap) || soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___s0__GetProperties(
soap, &soap_tmp___s0__GetProperties, "-s0:GetProperties", "")
|| soap_body_end_out(soap) || soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!s0__GetPropertiesResponse)
return soap_closesock(soap);
s0__GetPropertiesResponse->soap_default(soap);
if (soap_begin_recv(soap) || soap_envelope_begin_in(soap)
|| soap_recv_header(soap) || soap_body_begin_in(soap))
return soap_closesock(soap);
s0__GetPropertiesResponse->soap_get(soap, "s0:GetPropertiesResponse", "");
if (soap->error) {
if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
return soap_recv_fault(soap);
return soap_closesock(soap);
}
if (soap_body_end_in(soap) || soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
开发者ID:siamect,项目名称:proview,代码行数:51,代码来源:opc_soap_Client.cpp
示例11: soap_call_ims__receiveMessage
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ims__receiveMessage(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *user, int num, char *friend_nick, struct _Struct_1 *myMessage)
{ struct ims__receiveMessage soap_tmp_ims__receiveMessage;
struct ims__receiveMessageResponse *soap_tmp_ims__receiveMessageResponse;
soap->encodingStyle = NULL;
soap_tmp_ims__receiveMessage.user = user;
soap_tmp_ims__receiveMessage.num = num;
soap_tmp_ims__receiveMessage.friend_nick = friend_nick;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize_ims__receiveMessage(soap, &soap_tmp_ims__receiveMessage);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_ims__receiveMessage(soap, &soap_tmp_ims__receiveMessage, "ims:receiveMessage", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_ims__receiveMessage(soap, &soap_tmp_ims__receiveMessage, "ims:receiveMessage", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!myMessage)
return soap_closesock(soap);
soap_default_Message(soap, myMessage);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
soap_tmp_ims__receiveMessageResponse = soap_get_ims__receiveMessageResponse(soap, NULL, "ims:receiveMessageResponse", "");
if (soap->error)
return soap_recv_fault(soap, 0);
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
if (myMessage && soap_tmp_ims__receiveMessageResponse->myMessage)
*myMessage = *soap_tmp_ims__receiveMessageResponse->myMessage;
return soap_closesock(soap);
}
开发者ID:ocrespo,项目名称:PSD12-13,代码行数:51,代码来源:soapClient.c
示例12: soap_call_ns__latencyNestedArray
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__latencyNestedArray(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct gSOAP_outer_array in, unsigned long &seq_num)
{ struct ns__latencyNestedArray soap_tmp_ns__latencyNestedArray;
struct ns__latencyNestedArrayResponse *soap_tmp_ns__latencyNestedArrayResponse;
if (!soap_endpoint)
soap_endpoint = "http://localhost:8080";
soap->encodingStyle = NULL;
soap_tmp_ns__latencyNestedArray.in = in;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize_ns__latencyNestedArray(soap, &soap_tmp_ns__latencyNestedArray);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_ns__latencyNestedArray(soap, &soap_tmp_ns__latencyNestedArray, "ns:latencyNestedArray", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_ns__latencyNestedArray(soap, &soap_tmp_ns__latencyNestedArray, "ns:latencyNestedArray", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
soap_default_unsignedLong(soap, &seq_num);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
soap_tmp_ns__latencyNestedArrayResponse = soap_get_ns__latencyNestedArrayResponse(soap, NULL, "ns:latencyNestedArrayResponse", "");
if (soap->error)
{ if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
return soap_recv_fault(soap);
return soap_closesock(soap);
}
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
seq_num = soap_tmp_ns__latencyNestedArrayResponse->seq_num;
return soap_closesock(soap);
}
开发者ID:DOCGroup,项目名称:DDS_Test,代码行数:51,代码来源:soapClient.cpp
示例13: soap_begin
int UploaderSoap12Proxy::Hello(_ns1__Hello *ns1__Hello, _ns1__HelloResponse *ns1__HelloResponse)
{ struct soap *soap = this;
struct __ns4__Hello soap_tmp___ns4__Hello;
const char *soap_action = NULL;
if (!soap_endpoint)
soap_endpoint = "http://localhost:59175/DumpUploader.asmx";
soap_action = "https://www.crash-server.com/Hello";
soap->encodingStyle = NULL;
soap_tmp___ns4__Hello.ns1__Hello = ns1__Hello;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns4__Hello(soap, &soap_tmp___ns4__Hello);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns4__Hello(soap, &soap_tmp___ns4__Hello, "-ns4:Hello", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns4__Hello(soap, &soap_tmp___ns4__Hello, "-ns4:Hello", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__HelloResponse)
return soap_closesock(soap);
ns1__HelloResponse->soap_default(soap);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
ns1__HelloResponse->soap_get(soap, "ns1:HelloResponse", "");
if (soap->error)
return soap_recv_fault(soap, 0);
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
开发者ID:kusl,项目名称:TortoiseSVN,代码行数:51,代码来源:soapUploaderSoap12Proxy.cpp
示例14: soap_call_ns__echo2DStringArray
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__echo2DStringArray(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct ArrayOfstring2D _input2DStringArray, struct ArrayOfstring2D &_return)
{ struct ns__echo2DStringArray soap_tmp_ns__echo2DStringArray;
struct ns__echo2DStringArrayResponse *soap_tmp_ns__echo2DStringArrayResponse;
soap->encodingStyle = "";
soap_tmp_ns__echo2DStringArray._input2DStringArray = _input2DStringArray;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize_ns__echo2DStringArray(soap, &soap_tmp_ns__echo2DStringArray);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_ns__echo2DStringArray(soap, &soap_tmp_ns__echo2DStringArray, "ns:echo2DStringArray", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_ns__echo2DStringArray(soap, &soap_tmp_ns__echo2DStringArray, "ns:echo2DStringArray", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!&_return)
return soap_closesock(soap);
soap_default_ArrayOfstring2D(soap, &_return);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
if (soap_recv_fault(soap, 1))
return soap->error;
soap_tmp_ns__echo2DStringArrayResponse = soap_get_ns__echo2DStringArrayResponse(soap, NULL, "", "");
if (soap->error)
return soap_recv_fault(soap, 0);
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
_return = soap_tmp_ns__echo2DStringArrayResponse->_return;
return soap_closesock(soap);
}
开发者ID:DemofiloVizuete,项目名称:gSOAP,代码行数:50,代码来源:soapClient.cpp
示例15: soap_call_ims__rejectFriendshipRequest
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ims__rejectFriendshipRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *user, char *friend_nick, int *result)
{ struct ims__rejectFriendshipRequest soap_tmp_ims__rejectFriendshipRequest;
struct ims__rejectFriendshipRequestResponse *soap_tmp_ims__rejectFriendshipRequestResponse;
soap->encodingStyle = NULL;
soap_tmp_ims__rejectFriendshipRequest.user = user;
soap_tmp_ims__rejectFriendshipRequest.friend_nick = friend_nick;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize_ims__rejectFriendshipRequest(soap, &soap_tmp_ims__rejectFriendshipRequest);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_ims__rejectFriendshipRequest(soap, &soap_tmp_ims__rejectFriendshipRequest, "ims:rejectFriendshipRequest", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_ims__rejectFriendshipRequest(soap, &soap_tmp_ims__rejectFriendshipRequest, "ims:rejectFriendshipRequest", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!result)
return soap_closesock(soap);
soap_default_int(soap, result);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
soap_tmp_ims__rejectFriendshipRequestResponse = soap_get_ims__rejectFriendshipRequestResponse(soap, NULL, "ims:rejectFriendshipRequestResponse", "");
if (soap->error)
return soap_recv_fault(soap, 0);
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
if (result && soap_tmp_ims__rejectFriendshipRequestResponse->result)
*result = *soap_tmp_ims__rejectFriendshipRequestResponse->result;
return soap_closesock(soap);
}
开发者ID:ocrespo,项目名称:PSD12-13,代码行数:50,代码来源:soapClient.c
示例16: soap_call___GameWS__register
SOAP_FMAC5 int SOAP_FMAC6 soap_call___GameWS__register(struct soap *soap, const char *soap_endpoint, const char *soap_action, _GameWS__register *GameWS__register, _GameWS__registerResponse *GameWS__registerResponse)
{ struct __GameWS__register soap_tmp___GameWS__register;
if (soap_endpoint == NULL)
soap_endpoint = "http://localhost:8/MasterGameServer/GameWS.asmx";
if (soap_action == NULL)
soap_action = "http://non-real-time-networking-web-service.psi/register";
soap_begin(soap);
soap->encodingStyle = NULL;
soap_tmp___GameWS__register.GameWS__register = GameWS__register;
soap_serializeheader(soap);
soap_serialize___GameWS__register(soap, &soap_tmp___GameWS__register);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___GameWS__register(soap, &soap_tmp___GameWS__register, "-GameWS:register", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___GameWS__register(soap, &soap_tmp___GameWS__register, "-GameWS:register", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!GameWS__registerResponse)
return soap_closesock(soap);
GameWS__registerResponse->soap_default(soap);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
GameWS__registerResponse->soap_get(soap, "GameWS:registerResponse", "");
if (soap->error)
return soap_recv_fault(soap, 0);
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
开发者ID:threkk,项目名称:psibranch3irrlicht,代码行数:50,代码来源:soapClient.cpp
示例17: soap_call___ns1__ConsultaSaldoYTrxDiaPorAfiliado
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__ConsultaSaldoYTrxDiaPorAfiliado(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct ns1__ConsultaSaldoYTrxDiaPorAfiliado *ns1__ConsultaSaldoYTrxDiaPorAfiliado, struct ns1__ConsultaSaldoYTrxDiaPorAfiliadoResponse *ns1__ConsultaSaldoYTrxDiaPorAfiliadoResponse)
{ struct __ns1__ConsultaSaldoYTrxDiaPorAfiliado soap_tmp___ns1__ConsultaSaldoYTrxDiaPorAfiliado;
if (!soap_endpoint)
soap_endpoint = "http://192.168.1.10:7023";
soap->encodingStyle = "";
soap_tmp___ns1__ConsultaSaldoYTrxDiaPorAfiliado.ns1__ConsultaSaldoYTrxDiaPorAfiliado = ns1__ConsultaSaldoYTrxDiaPorAfiliado;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns1__ConsultaSaldoYTrxDiaPorAfiliado(soap, &soap_tmp___ns1__ConsultaSaldoYTrxDiaPorAfiliado);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns1__ConsultaSaldoYTrxDiaPorAfiliado(soap, &soap_tmp___ns1__ConsultaSaldoYTrxDiaPorAfiliado, "-ns1:ConsultaSaldoYTrxDiaPorAfiliado", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns1__ConsultaSaldoYTrxDiaPorAfiliado(soap, &soap_tmp___ns1__ConsultaSaldoYTrxDiaPorAfiliado, "-ns1:ConsultaSaldoYTrxDiaPorAfiliado", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__ConsultaSaldoYTrxDiaPorAfiliadoResponse)
return soap_closesock(soap);
soap_default_ns1__ConsultaSaldoYTrxDiaPorAfiliadoResponse(soap, ns1__ConsultaSaldoYTrxDiaPorAfiliadoResponse);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
if (soap_recv_fault(soap, 1))
return soap->error;
soap_get_ns1__ConsultaSaldoYTrxDiaPorAfiliadoResponse(soap, ns1__ConsultaSaldoYTrxDiaPorAfiliadoResponse, "", "");
if (soap->error)
return soap_recv_fault(soap, 0);
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
开发者ID:CM0R31R4,项目名称:motor_desarrollo,代码行数:50,代码来源:soapClient.c
示例18: soap_call___ns1__ActivacionTarjeta
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__ActivacionTarjeta(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct ns1__ActivacionTarjeta *ns1__ActivacionTarjeta, struct ns1__ActivacionTarjetaResponse *ns1__ActivacionTarjetaResponse)
{ struct __ns1__ActivacionTarjeta soap_tmp___ns1__ActivacionTarjeta;
if (!soap_endpoint)
soap_endpoint = "http://192.168.1.10:7023";
soap->encodingStyle = "";
soap_tmp___ns1__ActivacionTarjeta.ns1__ActivacionTarjeta = ns1__ActivacionTarjeta;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns1__ActivacionTarjeta(soap, &soap_tmp___ns1__ActivacionTarjeta);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns1__ActivacionTarjeta(soap, &soap_tmp___ns1__ActivacionTarjeta, "-ns1:ActivacionTarjeta", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns1__ActivacionTarjeta(soap, &soap_tmp___ns1__ActivacionTarjeta, "-ns1:ActivacionTarjeta", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__ActivacionTarjetaResponse)
return soap_closesock(soap);
soap_default_ns1__ActivacionTarjetaResponse(soap, ns1__ActivacionTarjetaResponse);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
if (soap_recv_fault(soap, 1))
return soap->error;
soap_get_ns1__ActivacionTarjetaResponse(soap, ns1__ActivacionTarjetaResponse, "", "");
if (soap->error)
return soap_recv_fault(soap, 0);
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap
|
请发表评论