本文整理汇总了C++中soap_end_send函数的典型用法代码示例。如果您正苦于以下问题:C++ soap_end_send函数的具体用法?C++ soap_end_send怎么用?C++ soap_end_send使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了soap_end_send函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: soap_begin
int agentProxy::coreStation(std::string command, std::string &message)
{ struct soap *soap = this;
struct agent__coreStation soap_tmp_agent__coreStation;
struct agent__coreStationResponse *soap_tmp_agent__coreStationResponse;
const char *soap_action = NULL;
soap->encodingStyle = NULL;
soap_tmp_agent__coreStation.command = command;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize_agent__coreStation(soap, &soap_tmp_agent__coreStation);
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_agent__coreStation(soap, &soap_tmp_agent__coreStation, "agent:coreStation", 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_agent__coreStation(soap, &soap_tmp_agent__coreStation, "agent:coreStation", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!&message)
return soap_closesock(soap);
soap_default_std__string(soap, &message);
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_agent__coreStationResponse = soap_get_agent__coreStationResponse(soap, NULL, "agent:coreStationResponse", "");
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);
message = soap_tmp_agent__coreStationResponse->message;
return soap_closesock(soap);
}
开发者ID:crrlab,项目名称:TND,代码行数:50,代码来源:SMCagentProxy.cpp
示例2: soap_call_ims__removeFriend
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ims__removeFriend(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *user, char *friend_nick, int *error)
{ struct ims__removeFriend soap_tmp_ims__removeFriend;
struct ims__removeFriendResponse *soap_tmp_ims__removeFriendResponse;
soap->encodingStyle = NULL;
soap_tmp_ims__removeFriend.user = user;
soap_tmp_ims__removeFriend.friend_nick = friend_nick;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize_ims__removeFriend(soap, &soap_tmp_ims__removeFriend);
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__removeFriend(soap, &soap_tmp_ims__removeFriend, "ims:removeFriend", 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__removeFriend(soap, &soap_tmp_ims__removeFriend, "ims:removeFriend", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!error)
return soap_closesock(soap);
soap_default_int(soap, error);
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__removeFriendResponse = soap_get_ims__removeFriendResponse(soap, NULL, "ims:removeFriendResponse", "");
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 (error && soap_tmp_ims__removeFriendResponse->error)
*error = *soap_tmp_ims__removeFriendResponse->error;
return soap_closesock(soap);
}
开发者ID:ocrespo,项目名称:PSD12-13,代码行数:50,代码来源:soapClient.c
示例3: soap_call_ns__getQuote
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__getQuote(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *symbol, float *Result)
{ struct ns__getQuote soap_tmp_ns__getQuote;
struct ns__getQuoteResponse *soap_tmp_ns__getQuoteResponse;
soap->encodingStyle = NULL;
soap_tmp_ns__getQuote.symbol = symbol;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize_ns__getQuote(soap, &soap_tmp_ns__getQuote);
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__getQuote(soap, &soap_tmp_ns__getQuote, "ns:getQuote", "")
|| 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__getQuote(soap, &soap_tmp_ns__getQuote, "ns:getQuote", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
soap_default_float(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_ns__getQuoteResponse = soap_get_ns__getQuoteResponse(soap, NULL, "ns:getQuoteResponse", "");
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 (Result && soap_tmp_ns__getQuoteResponse->Result)
*Result = *soap_tmp_ns__getQuoteResponse->Result;
return soap_closesock(soap);
}
开发者ID:tcdog001,项目名称:apv5sdk-v15,代码行数:50,代码来源:soapClient.c
示例4: 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
示例5: 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
示例6: soap_call_ims__userLogout
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ims__userLogout(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *nick, char *pass, int *error)
{ struct ims__userLogout soap_tmp_ims__userLogout;
struct ims__userLogoutResponse *soap_tmp_ims__userLogoutResponse;
soap->encodingStyle = NULL;
soap_tmp_ims__userLogout.nick = nick;
soap_tmp_ims__userLogout.pass = pass;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize_ims__userLogout(soap, &soap_tmp_ims__userLogout);
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__userLogout(soap, &soap_tmp_ims__userLogout, "ims:userLogout", 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__userLogout(soap, &soap_tmp_ims__userLogout, "ims:userLogout", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!error)
return soap_closesock(soap);
soap_default_int(soap, error);
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__userLogoutResponse = soap_get_ims__userLogoutResponse(soap, NULL, "ims:userLogoutResponse", "");
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 (error && soap_tmp_ims__userLogoutResponse->error)
*error = *soap_tmp_ims__userLogoutResponse->error;
return soap_closesock(soap);
}
开发者ID:ocrespo,项目名称:PSD12-13,代码行数:50,代码来源:soapClient.c
示例7: soap_call___ns1__sendSms
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__sendSms(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct ns1__SendSmsRequest *ns1__in0, struct ns1__SendSmsResponse *ns1__sendSmsReturn)
{ struct __ns1__sendSms soap_tmp___ns1__sendSms;
if (soap_endpoint == NULL)
soap_endpoint = "http://localhost:8080/services/SendSmsService";
if (soap_action == NULL)
soap_action = "";
soap->encodingStyle = NULL;
soap_tmp___ns1__sendSms.ns1__in0 = ns1__in0;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns1__sendSms(soap, &soap_tmp___ns1__sendSms);
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__sendSms(soap, &soap_tmp___ns1__sendSms, "-ns1:sendSms", 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___ns1__sendSms(soap, &soap_tmp___ns1__sendSms, "-ns1:sendSms", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__sendSmsReturn)
return soap_closesock(soap);
soap_default_ns1__SendSmsResponse(soap, ns1__sendSmsReturn);
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_ns1__SendSmsResponse(soap, ns1__sendSmsReturn, "ns1:sendSmsReturn", "ns1:SendSmsResponse");
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:tkpclark,项目名称:cdopr-system-dy,代码行数:50,代码来源:soapClient.c
示例8: soap_call___ns3__wmImed_USCORESrvAnulacion
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns3__wmImed_USCORESrvAnulacion(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__wmImed_USCORESrvAnulacion *ns1__wmImed_USCORESrvAnulacion, struct _ns1__wmImed_USCORESrvAnulacionResponse *ns1__wmImed_USCORESrvAnulacionResponse)
{ struct __ns3__wmImed_USCORESrvAnulacion soap_tmp___ns3__wmImed_USCORESrvAnulacion;
if (!soap_endpoint)
soap_endpoint = "http://10.90.10.8/produccionmpro/anulacion.asmx";
if (!soap_action)
soap_action = "http://tempuri.org/wmImed_SrvAnulacion";
soap->encodingStyle = NULL;
soap_tmp___ns3__wmImed_USCORESrvAnulacion.ns1__wmImed_USCORESrvAnulacion = ns1__wmImed_USCORESrvAnulacion;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns3__wmImed_USCORESrvAnulacion(soap, &soap_tmp___ns3__wmImed_USCORESrvAnulacion);
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___ns3__wmImed_USCORESrvAnulacion(soap, &soap_tmp___ns3__wmImed_USCORESrvAnulacion, "-ns3:wmImed_SrvAnulacion", 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___ns3__wmImed_USCORESrvAnulacion(soap, &soap_tmp___ns3__wmImed_USCORESrvAnulacion, "-ns3:wmImed_SrvAnulacion", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__wmImed_USCORESrvAnulacionResponse)
return soap_closesock(soap);
soap_default__ns1__wmImed_USCORESrvAnulacionResponse(soap, ns1__wmImed_USCORESrvAnulacionResponse);
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__ns1__wmImed_USCORESrvAnulacionResponse(soap, ns1__wmImed_USCORESrvAnulacionResponse, "ns1:wmImed_SrvAnulacionResponse", "");
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
示例9: soap_call_wmas__storageoperation
SOAP_FMAC5 int SOAP_FMAC6 soap_call_wmas__storageoperation(struct soap *soap, const char *soap_endpoint, const char *soap_action, wmas__storageType *storagemess, struct wmas__storageoperationResponse &_param_5)
{ struct wmas__storageoperation soap_tmp_wmas__storageoperation;
if (soap_endpoint == NULL)
soap_endpoint = "http://localhost:8088/shagang/service/wmasservice.php";
if (soap_action == NULL)
soap_action = "http://www.example.org/wmasservice/storageoperation";
soap_begin(soap);
soap->encodingStyle = NULL;
soap_tmp_wmas__storageoperation.storagemess = storagemess;
soap_serializeheader(soap);
soap_serialize_wmas__storageoperation(soap, &soap_tmp_wmas__storageoperation);
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__storageoperation(soap, &soap_tmp_wmas__storageoperation, "wmas:storageoperation", 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__storageoperation(soap, &soap_tmp_wmas__storageoperation, "wmas:storageoperation", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!&_param_5)
return soap_closesock(soap);
soap_default_wmas__storageoperationResponse(soap, &_param_5);
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__storageoperationResponse(soap, &_param_5, "wmas:storageoperationResponse", 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,代码行数:50,代码来源:soapClient.cpp
示例10: soap_call_wmas__beoffduty
SOAP_FMAC5 int SOAP_FMAC6 soap_call_wmas__beoffduty(struct soap *soap, const char *soap_endpoint, const char *soap_action, std::string driverid, struct wmas__beoffdutyResponse &_param_7)
{ struct wmas__beoffduty soap_tmp_wmas__beoffduty;
if (soap_endpoint == NULL)
soap_endpoint = "http://localhost:8088/shagang/service/wmasservice.php";
if (soap_action == NULL)
soap_action = "http://www.example.org/wmasservice/beoffduty";
soap_begin(soap);
soap->encodingStyle = NULL;
soap_tmp_wmas__beoffduty.driverid = driverid;
soap_serializeheader(soap);
soap_serialize_wmas__beoffduty(soap, &soap_tmp_wmas__beoffduty);
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__beoffduty(soap, &soap_tmp_wmas__beoffduty, "wmas:beoffduty", 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__beoffduty(soap, &soap_tmp_wmas__beoffduty, "wmas:beoffduty", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!&_param_7)
return soap_closesock(soap);
soap_default_wmas__beoffdutyResponse(soap, &_param_7);
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__beoffdutyResponse(soap, &_param_7, "wmas:beoffdutyResponse", 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,代码行数:50,代码来源:soapClient.cpp
示例11: soap_call_wmas__retrievedetailedinvoice
SOAP_FMAC5 int SOAP_FMAC6 soap_call_wmas__retrievedetailedinvoice(struct soap *soap, const char *soap_endpoint, const char *soap_action, wmas__requestjld *invoiceid, struct wmas__retrievedetailedinvoiceResponse &_param_3)
{ struct wmas__retrievedetailedinvoice soap_tmp_wmas__retrievedetailedinvoice;
if (soap_endpoint == NULL)
soap_endpoint = "http://localhost:8088/shagang/service/wmasservice.php";
if (soap_action == NULL)
soap_action = "http://www.example.org/wmasservice/retrievedetailedinvoice";
soap_begin(soap);
soap->encodingStyle = NULL;
soap_tmp_wmas__retrievedetailedinvoice.invoiceid = invoiceid;
soap_serializeheader(soap);
soap_serialize_wmas__retrievedetailedinvoice(soap, &soap_tmp_wmas__retrievedetailedinvoice);
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__retrievedetailedinvoice(soap, &soap_tmp_wmas__retrievedetailedinvoice, "wmas:retrievedetailedinvoice", 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__retrievedetailedinvoice(soap, &soap_tmp_wmas__retrievedetailedinvoice, "wmas:retrievedetailedinvoice", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!&_param_3)
return soap_closesock(soap);
soap_default_wmas__retrievedetailedinvoiceResponse(soap, &_param_3);
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__retrievedetailedinvoiceResponse(soap, &_param_3, "wmas:retrievedetailedinvoiceResponse", 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,代码行数:50,代码来源:soapClient.cpp
示例12: soap_call_ns__SysShutdownHandle
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__SysShutdownHandle(struct soap *soap, const char *soap_endpoint, const char *soap_action, enum ns__SysShutdownEvent in, struct ns__noResponse *out)
{ struct ns__SysShutdownHandle soap_tmp_ns__SysShutdownHandle;
if (soap_endpoint == NULL)
soap_endpoint = "https://localhost:8085";
soap_begin(soap);
soap->encodingStyle = "";
soap_tmp_ns__SysShutdownHandle.in = in;
soap_serializeheader(soap);
soap_serialize_ns__SysShutdownHandle(soap, &soap_tmp_ns__SysShutdownHandle);
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__SysShutdownHandle(soap, &soap_tmp_ns__SysShutdownHandle, "ns:SysShutdownHandle", 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_ns__SysShutdownHandle(soap, &soap_tmp_ns__SysShutdownHandle, "ns:SysShutdownHandle", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!out)
return soap_closesock(soap);
soap_default_ns__noResponse(soap, out);
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_ns__noResponse(soap, out, "", 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:eslinux,项目名称:Windows,代码行数:50,代码来源:soapClient.cpp
示例13: soap_call___ns1__doOperation_
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__doOperation_(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__doOperation *ns1__doOperation, _ns1__doOperationResponse *ns1__doOperationResponse)
{ struct __ns1__doOperation_ soap_tmp___ns1__doOperation_;
if (soap_endpoint == NULL)
soap_endpoint = "http://localhost:8080/EBMS_server/services/EBMS_serverClass.EBMS_serverClassHttpSoap11Endpoint/ http://localhost:8080/EBMS_server/services/EBMS_serverClass.EBMS_serverClassHttpSoap12Endpoint/";
if (soap_action == NULL)
soap_action = "urn:doOperation";
soap->encodingStyle = NULL;
soap_tmp___ns1__doOperation_.ns1__doOperation = ns1__doOperation;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns1__doOperation_(soap, &soap_tmp___ns1__doOperation_);
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__doOperation_(soap, &soap_tmp___ns1__doOperation_, "-ns1:doOperation", 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__doOperation_(soap, &soap_tmp___ns1__doOperation_, "-ns1:doOperation", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__doOperationResponse)
return soap_closesock(soap);
ns1__doOperationResponse->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__doOperationResponse->soap_get(soap, "ns1:doOperationResponse", "");
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:JyothishM,项目名称:EBMS_development,代码行数:50,代码来源:soapClient.cpp
示例14: 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_closesock(soap);
}
开发者ID:CM0R31R4,项目名称:motor_desarrollo,代码行数:50,代码来源:soapClient.c
示例15: soap_call_ims__getFriends
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ims__getFriends(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *user, struct _Struct_2 *friends)
{ struct ims__getFriends soap_tmp_ims__getFriends;
struct ims__getFriendsResponse *soap_tmp_ims__getFriendsResponse;
soap->encodingStyle = NULL;
soap_tmp_ims__getFriends.user = user;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize_ims__getFriends(soap, &soap_tmp_ims__getFriends);
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__getFriends(soap, &soap_tmp_ims__getFriends, "ims:getFriends", 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__getFriends(soap, &soap_tmp_ims__getFriends, "ims:getFriends", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!friends)
return soap_closesock(soap);
soap_default_Char_vector(soap, friends);
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__getFriendsResponse = soap_get_ims__getFriendsResponse(soap, NULL, "ims:getFriendsResponse", "");
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 (friends && soap_tmp_ims__getFriendsResponse->friends)
*friends = *soap_tmp_ims__getFriendsResponse->friends;
return soap_closesock(soap);
}
开发者ID:ocrespo,项目名称:PSD12-13,代码行数:49,代码来源:soapClient.c
示例16: soap_call_ns__GetCity
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__GetCity(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *Secret, std::string *result)
{ struct ns__GetCity soap_tmp_ns__GetCity;
struct ns__GetCityResponse *soap_tmp_ns__GetCityResponse;
soap->encodingStyle = NULL;
soap_tmp_ns__GetCity.Secret = Secret;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize_ns__GetCity(soap, &soap_tmp_ns__GetCity);
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__GetCity(soap, &soap_tmp_ns__GetCity, "ns:GetCity", 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__GetCity(soap, &soap_tmp_ns__GetCity, "ns:GetCity", 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_std__string(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_ns__GetCityResponse = soap_get_ns__GetCityResponse(soap, NULL, "ns:GetCityResponse", "");
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_ns__GetCityResponse->result)
*result = *soap_tmp_ns__GetCityResponse->result;
return soap_closesock(soap);
}
开发者ID:likanjie,项目名称:LGgSOAP,代码行数:49,代码来源:soapClient.cpp
示例17: soap_call_m__echoVoid
SOAP_FMAC5 int SOAP_FMAC6 soap_call_m__echoVoid(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct m__echoVoidResponse &result)
{ struct m__echoVoid soap_tmp_m__echoVoid;
if (!soap_endpoint)
soap_endpoint = "http://www.cs.fsu.edu/~engelen/interop2C.cgi";
soap->encodingStyle = "";
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize_m__echoVoid(soap, &soap_tmp_m__echoVoid);
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_m__echoVoid(soap, &soap_tmp_m__echoVoid, "m:echoVoid", 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_m__echoVoid(soap, &soap_tmp_m__echoVoid, "m:echoVoid", 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_m__echoVoidResponse(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);
if (soap_recv_fault(soap, 1))
return soap->error;
soap_get_m__echoVoidResponse(soap, &result, "", "");
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:DemofiloVizuete,项目名称:gSOAP,代码行数:49,代码来源:soapClient.cpp
示例18: soap_call_oph__ophExecuteMain
SOAP_FMAC5 int SOAP_FMAC6 soap_call_oph__ophExecuteMain(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *ophExecuteMainRequest, struct oph__ophResponse *ophExecuteMainResponse)
{ struct oph__ophExecuteMain soap_tmp_oph__ophExecuteMain;
if (soap_action == NULL)
soap_action = "";
soap_tmp_oph__ophExecuteMain.ophExecuteMainRequest = ophExecuteMainRequest;
soap_begin(soap);
soap->encodingStyle = NULL;
soap_serializeheader(soap);
soap_serialize_oph__ophExecuteMain(soap, &soap_tmp_oph__ophExecuteMain);
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_oph__ophExecuteMain(soap, &soap_tmp_oph__ophExecuteMain, "oph:ophExecuteMain", 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_oph__ophExecuteMain(soap, &soap_tmp_oph__ophExecuteMain, "oph:ophExecuteMain", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ophExecuteMainResponse)
return soap_closesock(soap);
soap_default_oph__ophResponse(soap, ophExecuteMainResponse);
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_oph__ophResponse(soap, ophExecuteMainResponse, "oph:ophResponse", 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:OphidiaBigData,项目名称:ophidia-server,代码行数:48,代码来源:soapClient.c
示例19: soap_call___cwmp__TransferComplete
-
六六分期app的软件客服如何联系?不知道吗?加qq群【895510560】即可!标题:六六分期
阅读:19128|2023-10-27
-
今天小编告诉大家如何处理win10系统火狐flash插件总是崩溃的问题,可能很多用户都不知
阅读:9971|2022-11-06
-
今天小编告诉大家如何对win10系统删除桌面回收站图标进行设置,可能很多用户都不知道
阅读:8317|2022-11-06
-
今天小编告诉大家如何对win10系统电脑设置节能降温的设置方法,想必大家都遇到过需要
阅读:8686|2022-11-06
-
我们在使用xp系统的过程中,经常需要对xp系统无线网络安装向导设置进行设置,可能很多
阅读:8626|2022-11-06
-
今天小编告诉大家如何处理win7系统玩cf老是与主机连接不稳定的问题,可能很多用户都不
阅读:9643|2022-11-06
-
电脑对日常生活的重要性小编就不多说了,可是一旦碰到win7系统设置cf烟雾头的问题,很
阅读:8611|2022-11-06
-
我们在日常使用电脑的时候,有的小伙伴们可能在打开应用的时候会遇见提示应用程序无法
阅读:7991|2022-11-06
-
今天小编告诉大家如何对win7系统打开vcf文件进行设置,可能很多用户都不知道怎么对win
阅读:8641|2022-11-06
-
今天小编告诉大家如何对win10系统s4开启USB调试模式进行设置,可能很多用户都不知道怎
阅读:7527|2022-11-06
|
请发表评论