当前位置: 首页>>代码示例>>C++>>正文


C++ soap_body_end_in函数代码示例

本文整理汇总了C++中soap_body_end_in函数的典型用法代码示例。如果您正苦于以下问题:C++ soap_body_end_in函数的具体用法?C++ soap_body_end_in怎么用?C++ soap_body_end_in使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了soap_body_end_in函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: soap_begin

int UploaderSoapProxy::Hello(_ns1__Hello *ns1__Hello, _ns1__HelloResponse *ns1__HelloResponse)
{   struct soap *soap = this;
    struct __ns3__Hello soap_tmp___ns3__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___ns3__Hello.ns1__Hello = ns1__Hello;
    soap_begin(soap);
    soap_serializeheader(soap);
    soap_serialize___ns3__Hello(soap, &soap_tmp___ns3__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___ns3__Hello(soap, &soap_tmp___ns3__Hello, "-ns3: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___ns3__Hello(soap, &soap_tmp___ns3__Hello, "-ns3: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,代码来源:soapUploaderSoapProxy.cpp

示例2: soap_call___s0__GetStatus

SOAP_FMAC5 int SOAP_FMAC6 soap_call___s0__GetStatus(struct soap *soap, const char *soap_endpoint, const char *soap_action, _s0__GetStatus *s0__GetStatus, _s0__GetStatusResponse *s0__GetStatusResponse)
{   struct __s0__GetStatus soap_tmp___s0__GetStatus;
    if (!soap_action)
        soap_action = "s0:GetStatus";
    soap->encodingStyle = NULL;
    soap_tmp___s0__GetStatus.s0__GetStatus = s0__GetStatus;
    soap_begin(soap);
    soap_serializeheader(soap);
    soap_serialize___s0__GetStatus(soap, &soap_tmp___s0__GetStatus);
    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__GetStatus(soap, &soap_tmp___s0__GetStatus, "-s0:GetStatus", "")
                || 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__GetStatus(soap, &soap_tmp___s0__GetStatus, "-s0:GetStatus", "")
            || soap_body_end_out(soap)
            || soap_envelope_end_out(soap)
            || soap_end_send(soap))
        return soap_closesock(soap);
    if (!s0__GetStatusResponse)
        return soap_closesock(soap);
    s0__GetStatusResponse->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__GetStatusResponse->soap_get(soap, "s0:GetStatusResponse", "");
    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

示例3: 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

示例4: 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

示例5: 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

示例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_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

示例9: 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

示例10: 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

示例11: 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

示例12: 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

示例13: soap_call___ns1__queryPRAXICON

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__queryPRAXICON(struct soap *soap, const char *soap_endpoint, const char *soap_action, ns1__queryPRAXICON *ns1__queryPRAXICON_, ns1__queryPRAXICONResponse *ns1__queryPRAXICONResponse_)
{	struct __ns1__queryPRAXICON soap_tmp___ns1__queryPRAXICON;
	if (!soap_endpoint)
		soap_endpoint = "http://localhost:25191/PraxiconWebService/PraxiconTreeService";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__queryPRAXICON.ns1__queryPRAXICON_ = ns1__queryPRAXICON_;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__queryPRAXICON(soap, &soap_tmp___ns1__queryPRAXICON);
	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__queryPRAXICON(soap, &soap_tmp___ns1__queryPRAXICON, "-ns1:queryPRAXICON", 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__queryPRAXICON(soap, &soap_tmp___ns1__queryPRAXICON, "-ns1:queryPRAXICON", NULL)
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	if (!ns1__queryPRAXICONResponse_)
		return soap_closesock(soap);
	ns1__queryPRAXICONResponse_->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__queryPRAXICONResponse_->soap_get(soap, "ns1:queryPRAXICONResponse", "ns1:queryPRAXICONResponse");
	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:robotology,项目名称:poeticon,代码行数:50,代码来源:soapClient.cpp

示例14: soap_call___ns1__wmImed_USCORESrvCertificacion

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__wmImed_USCORESrvCertificacion(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__wmImed_USCORESrvCertificacion *ns1__wmImed_USCORESrvCertificacion, _ns1__wmImed_USCORESrvCertificacionResponse *ns1__wmImed_USCORESrvCertificacionResponse)
{	struct __ns1__wmImed_USCORESrvCertificacion soap_tmp___ns1__wmImed_USCORESrvCertificacion;
	if (soap_endpoint == NULL)
		soap_endpoint = "http://10.150.73.119/I-med/wsCertificacion.asmx";
	if (soap_action == NULL)
		soap_action = "http://tempuri.org/wmImed_SrvCertificacion";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__wmImed_USCORESrvCertificacion.ns1__wmImed_USCORESrvCertificacion = ns1__wmImed_USCORESrvCertificacion;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__wmImed_USCORESrvCertificacion(soap, &soap_tmp___ns1__wmImed_USCORESrvCertificacion);
	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__wmImed_USCORESrvCertificacion(soap, &soap_tmp___ns1__wmImed_USCORESrvCertificacion, "-ns1:wmImed_SrvCertificacion", 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__wmImed_USCORESrvCertificacion(soap, &soap_tmp___ns1__wmImed_USCORESrvCertificacion, "-ns1:wmImed_SrvCertificacion", NULL)
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	if (!ns1__wmImed_USCORESrvCertificacionResponse)
		return soap_closesock(soap);
	ns1__wmImed_USCORESrvCertificacionResponse->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__wmImed_USCORESrvCertificacionResponse->soap_get(soap, "ns1:wmImed_SrvCertificacionResponse", "");
	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.cpp

示例15: soap_call___s0__Subscribe

SOAP_FMAC5 int SOAP_FMAC6 soap_call___s0__Subscribe(struct soap* soap,
    const char* soap_endpoint, const char* soap_action,
    _s0__Subscribe* s0__Subscribe,
    _s0__SubscribeResponse* s0__SubscribeResponse)
{
  struct __s0__Subscribe soap_tmp___s0__Subscribe;
  if (!soap_action)
    soap_action = "http://opcfoundation.org/webservices/XMLDA/1.0/Subscribe";
  soap->encodingStyle = NULL;
  soap_tmp___s0__Subscribe.s0__Subscribe = s0__Subscribe;
  soap_begin(soap);
  soap_serializeheader(soap);
  soap_serialize___s0__Subscribe(soap, &soap_tmp___s0__Subscribe);
  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__Subscribe(
               soap, &soap_tmp___s0__Subscribe, "-s0:Subscribe", "")
        || 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__Subscribe(
             soap, &soap_tmp___s0__Subscribe, "-s0:Subscribe", "")
      || soap_body_end_out(soap) || soap_envelope_end_out(soap)
      || soap_end_send(soap))
    return soap_closesock(soap);
  if (!s0__SubscribeResponse)
    return soap_closesock(soap);
  s0__SubscribeResponse->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__SubscribeResponse->soap_get(soap, "s0:SubscribeResponse", "");
  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,代码行数:50,代码来源:opc_soap_Client.cpp


注:本文中的soap_body_end_in函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。