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


C++ soap_body_begin_in函数代码示例

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


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

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

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

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

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

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

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

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

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

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

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

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

示例13: soap_call_ns1___USCORE_USCOREconstruct

SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1___USCORE_USCOREconstruct(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct ns1___USCORE_USCOREconstructResponse &_param_2)
{	struct ns1___USCORE_USCOREconstruct soap_tmp_ns1___USCORE_USCOREconstruct;
	if (!soap_endpoint)
		soap_endpoint = "http://219.235.235.4/ws/sdk/webservice_sdk.php";
	soap->encodingStyle = NULL;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize_ns1___USCORE_USCOREconstruct(soap, &soap_tmp_ns1___USCORE_USCOREconstruct);
	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___USCORE_USCOREconstruct(soap, &soap_tmp_ns1___USCORE_USCOREconstruct, "ns1:__construct", "")
		 || 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___USCORE_USCOREconstruct(soap, &soap_tmp_ns1___USCORE_USCOREconstruct, "ns1:__construct", "")
	 || 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_ns1___USCORE_USCOREconstructResponse(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_ns1___USCORE_USCOREconstructResponse(soap, &_param_2, "ns1:__constructResponse", "");
	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:akaminnya,项目名称:openpernet,代码行数:50,代码来源:soapClient.cpp

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

示例15: soap_call___ns1__sendRequest

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__sendRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__sendRequest *ns1__sendRequest, _ns1__sendRequestResponse *ns1__sendRequestResponse)
{	struct __ns1__sendRequest soap_tmp___ns1__sendRequest;
	if (soap_endpoint == NULL)
		soap_endpoint = "http://vigruzki.rkn.gov.ru/services/OperatorRequest/";
	if (soap_action == NULL)
		soap_action = "http://vigruzki.rkn.gov.ru/services/OperatorRequest/sendRequest";
	soap_begin(soap);
	soap->encodingStyle = NULL;
	soap_tmp___ns1__sendRequest.ns1__sendRequest = ns1__sendRequest;
	soap_serializeheader(soap);
	soap_serialize___ns1__sendRequest(soap, &soap_tmp___ns1__sendRequest);
	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__sendRequest(soap, &soap_tmp___ns1__sendRequest, "-ns1:sendRequest", 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__sendRequest(soap, &soap_tmp___ns1__sendRequest, "-ns1:sendRequest", NULL)
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	if (!ns1__sendRequestResponse)
		return soap_closesock(soap);
	ns1__sendRequestResponse->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__sendRequestResponse->soap_get(soap, "ns1:sendRequestResponse", "");
	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:0per,项目名称:BlackListCryptoPro,代码行数:50,代码来源:soapClient.cpp


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