本文整理汇总了C++中soap_closesock函数的典型用法代码示例。如果您正苦于以下问题:C++ soap_closesock函数的具体用法?C++ soap_closesock怎么用?C++ soap_closesock使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了soap_closesock函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: soap_begin
int WsAttributesServiceSoapProxy::ListAttributeTypes(_ns2__ListAttributeTypes *ns2__ListAttributeTypes, _ns2__ListAttributeTypesResponse *ns2__ListAttributeTypesResponse)
{ struct soap *soap = this;
struct __ns2__ListAttributeTypes soap_tmp___ns2__ListAttributeTypes;
const char *soap_action = NULL;
if (!soap_endpoint)
soap_endpoint = "http://10.241.3.241:8145/WsAttributes?ver_=1.21";
soap_action = "WsAttributes/ListAttributeTypes?ver_=1.21";
soap->encodingStyle = NULL;
soap_tmp___ns2__ListAttributeTypes.ns2__ListAttributeTypes = ns2__ListAttributeTypes;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns2__ListAttributeTypes(soap, &soap_tmp___ns2__ListAttributeTypes);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns2__ListAttributeTypes(soap, &soap_tmp___ns2__ListAttributeTypes, "-ns2:ListAttributeTypes", 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___ns2__ListAttributeTypes(soap, &soap_tmp___ns2__ListAttributeTypes, "-ns2:ListAttributeTypes", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns2__ListAttributeTypesResponse)
return soap_closesock(soap);
ns2__ListAttributeTypesResponse->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);
ns2__ListAttributeTypesResponse->soap_get(soap, "ns2:ListAttributeTypesResponse", "");
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:hpcc-systems,项目名称:eclide,代码行数:54,代码来源:soapWsAttributesServiceSoapProxy.cpp
示例2: soap_begin
int ws_USCOREaccountServiceSoapProxy::UpdateUser(_ns1__UpdateUserRequest *ns1__UpdateUserRequest, _ns1__UpdateUserResponse *ns1__UpdateUserResponse)
{ struct soap *soap = this;
struct __ns1__UpdateUser soap_tmp___ns1__UpdateUser;
const char *soap_action = NULL;
if (!soap_endpoint)
soap_endpoint = "http://10.173.84.202:8010/ws_account?ver_=0";
soap_action = "ws_account/UpdateUser?ver_=0";
soap->encodingStyle = NULL;
soap_tmp___ns1__UpdateUser.ns1__UpdateUserRequest = ns1__UpdateUserRequest;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns1__UpdateUser(soap, &soap_tmp___ns1__UpdateUser);
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__UpdateUser(soap, &soap_tmp___ns1__UpdateUser, "-ns1:UpdateUser", 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__UpdateUser(soap, &soap_tmp___ns1__UpdateUser, "-ns1:UpdateUser", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__UpdateUserResponse)
return soap_closesock(soap);
ns1__UpdateUserResponse->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__UpdateUserResponse->soap_get(soap, "ns1:UpdateUserResponse", "");
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:GordonSmith,项目名称:eclide,代码行数:54,代码来源:soapws_USCOREaccountServiceSoapProxy.cpp
示例3: soap_begin
int AskAFriendWSSoap12Proxy::SubmitQuestion(_ns1__SubmitQuestion *ns1__SubmitQuestion, _ns1__SubmitQuestionResponse *ns1__SubmitQuestionResponse)
{ struct soap *soap = this;
struct __ns4__SubmitQuestion soap_tmp___ns4__SubmitQuestion;
const char *soap_action = NULL;
if (!soap_endpoint)
soap_endpoint = "http://services.next2friends.com/n2fwebservices/askafriend.asmx";
soap_action = "http://tempuri.org/SubmitQuestion";
soap->encodingStyle = NULL;
soap_tmp___ns4__SubmitQuestion.ns1__SubmitQuestion = ns1__SubmitQuestion;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns4__SubmitQuestion(soap, &soap_tmp___ns4__SubmitQuestion);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns4__SubmitQuestion(soap, &soap_tmp___ns4__SubmitQuestion, "-ns4:SubmitQuestion", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns4__SubmitQuestion(soap, &soap_tmp___ns4__SubmitQuestion, "-ns4:SubmitQuestion", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__SubmitQuestionResponse)
return soap_closesock(soap);
ns1__SubmitQuestionResponse->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__SubmitQuestionResponse->soap_get(soap, "ns1:SubmitQuestionResponse", "");
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:xuchuansheng,项目名称:GenXSource,代码行数:54,代码来源:soapAskAFriendWSSoap12Proxy.cpp
示例4: soap_begin
int ContentServiceSoap12Proxy::DownloadFile(_ns1__DownloadFile *ns1__DownloadFile, _ns1__DownloadFileResponse *ns1__DownloadFileResponse)
{ struct soap *soap = this;
struct __ns3__DownloadFile soap_tmp___ns3__DownloadFile;
const char *soap_action = NULL;
if (!soap_endpoint)
soap_endpoint = "http://zero-k.info/ContentService.asmx";
soap_action = "http://tempuri.org/DownloadFile";
soap->encodingStyle = NULL;
soap_tmp___ns3__DownloadFile.ns1__DownloadFile = ns1__DownloadFile;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns3__DownloadFile(soap, &soap_tmp___ns3__DownloadFile);
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__DownloadFile(soap, &soap_tmp___ns3__DownloadFile, "-ns3:DownloadFile", "")
|| 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__DownloadFile(soap, &soap_tmp___ns3__DownloadFile, "-ns3:DownloadFile", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__DownloadFileResponse)
return soap_closesock(soap);
ns1__DownloadFileResponse->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__DownloadFileResponse->soap_get(soap, "ns1:DownloadFileResponse", "");
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:padraicm,项目名称:pr-downloader,代码行数:54,代码来源:soapContentServiceSoap12Proxy.cpp
示例5: soap_begin
int MemberServicesSoapProxy::GetEncryptionKey(_ns1__GetEncryptionKey *ns1__GetEncryptionKey, _ns1__GetEncryptionKeyResponse *ns1__GetEncryptionKeyResponse)
{ struct soap *soap = this;
struct __ns2__GetEncryptionKey soap_tmp___ns2__GetEncryptionKey;
const char *soap_action = NULL;
if (!soap_endpoint)
soap_endpoint = "http://services.next2friends.com/n2fwebservices/memberservices.asmx";
soap_action = "http://tempuri.org/GetEncryptionKey";
soap->encodingStyle = NULL;
soap_tmp___ns2__GetEncryptionKey.ns1__GetEncryptionKey = ns1__GetEncryptionKey;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns2__GetEncryptionKey(soap, &soap_tmp___ns2__GetEncryptionKey);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns2__GetEncryptionKey(soap, &soap_tmp___ns2__GetEncryptionKey, "-ns2:GetEncryptionKey", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns2__GetEncryptionKey(soap, &soap_tmp___ns2__GetEncryptionKey, "-ns2:GetEncryptionKey", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__GetEncryptionKeyResponse)
return soap_closesock(soap);
ns1__GetEncryptionKeyResponse->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__GetEncryptionKeyResponse->soap_get(soap, "ns1:GetEncryptionKeyResponse", "");
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:xuchuansheng,项目名称:GenXSource,代码行数:54,代码来源:soapMemberServicesSoapProxy.cpp
示例6: soap_begin
int WsDfuServiceSoapProxy::SuperfileList(_ns3__SuperfileListRequest *ns3__SuperfileListRequest, _ns3__SuperfileListResponse *ns3__SuperfileListResponse)
{ struct soap *soap = this;
struct __ns3__SuperfileList soap_tmp___ns3__SuperfileList;
const char *soap_action = NULL;
if (!soap_endpoint)
soap_endpoint = "http://192.168.2.203:8010/WsDfu?ver_=1.19";
soap_action = "WsDfu/SuperfileList?ver_=1.19";
soap->encodingStyle = NULL;
soap_tmp___ns3__SuperfileList.ns3__SuperfileListRequest = ns3__SuperfileListRequest;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns3__SuperfileList(soap, &soap_tmp___ns3__SuperfileList);
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__SuperfileList(soap, &soap_tmp___ns3__SuperfileList, "-ns3:SuperfileList", 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__SuperfileList(soap, &soap_tmp___ns3__SuperfileList, "-ns3:SuperfileList", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns3__SuperfileListResponse)
return soap_closesock(soap);
ns3__SuperfileListResponse->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);
ns3__SuperfileListResponse->soap_get(soap, "ns3:SuperfileListResponse", "");
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:GordonSmith,项目名称:eclide,代码行数:54,代码来源:soapWsDfuServiceSoapProxy.cpp
示例7: soap_begin
int WsTopologyServiceSoapProxy::TpXMLFile(_ns5__TpXMLFileRequest *ns5__TpXMLFileRequest, _ns5__TpXMLFileResponse *ns5__TpXMLFileResponse)
{ struct soap *soap = this;
struct __ns5__TpXMLFile soap_tmp___ns5__TpXMLFile;
const char *soap_action = NULL;
if (!soap_endpoint)
soap_endpoint = "http://172.16.99.134:8010/WsTopology?ver_=1.14";
soap_action = "WsTopology/TpXMLFile?ver_=1.14";
soap->encodingStyle = NULL;
soap_tmp___ns5__TpXMLFile.ns5__TpXMLFileRequest = ns5__TpXMLFileRequest;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns5__TpXMLFile(soap, &soap_tmp___ns5__TpXMLFile);
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___ns5__TpXMLFile(soap, &soap_tmp___ns5__TpXMLFile, "-ns5:TpXMLFile", 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___ns5__TpXMLFile(soap, &soap_tmp___ns5__TpXMLFile, "-ns5:TpXMLFile", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns5__TpXMLFileResponse)
return soap_closesock(soap);
ns5__TpXMLFileResponse->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);
ns5__TpXMLFileResponse->soap_get(soap, "ns5:TpXMLFileResponse", "");
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:GordonSmith,项目名称:eclide,代码行数:54,代码来源:soapWsTopologyServiceSoapProxy.cpp
示例8: DSL_CPE_Soap_Exit
/**
Exit-Handler for CLI registered for SOAP
*/
static DSL_Error_t DSL_CPE_Soap_Exit(DSL_void_t *pContext)
{
Soap_env_t *env = pContext;
env->bRun = DSL_FALSE;
/* only shutdown socket if not called inside own thread,
otherwise it will crash if the answer should send to the calling client */
if (env->pid != DSL_CPE_ThreadIdGet())
{
shutdown(env->server.m, 2);
soap_closesock(&env->server.soap); /* close master socket and detach environment */
}
DSL_CPE_LockDelete(&(env->callBackSem));
return DSL_SUCCESS;
}
开发者ID:ScApi,项目名称:dsl_cpe_control_vrx,代码行数:20,代码来源:dsl_cpe_soap.c
示例9: soap_call___ns2__call
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns2__call(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns2__call *ns2__call, struct _ns2__callResponse *ns2__callResponse)
{ struct __ns2__call soap_tmp___ns2__call;
if (!soap_endpoint)
soap_endpoint = "http://132.228.91.6:80/ccatsida/services/AsigService";
if (!soap_action)
soap_action = "";
soap->encodingStyle = NULL;
soap_tmp___ns2__call.ns2__call = ns2__call;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns2__call(soap, &soap_tmp___ns2__call);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns2__call(soap, &soap_tmp___ns2__call, "-ns2:call", 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___ns2__call(soap, &soap_tmp___ns2__call, "-ns2:call", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns2__callResponse)
return soap_closesock(soap);
soap_default__ns2__callResponse(soap, ns2__callResponse);
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__ns2__callResponse(soap, ns2__callResponse, "ns2:callResponse", "");
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:xkmld419,项目名称:crawl,代码行数:53,代码来源:soapClient.c
示例10: soap_call___zoomws__GetLocalNumbers_
SOAP_FMAC5 int SOAP_FMAC6 soap_call___zoomws__GetLocalNumbers_(struct soap *soap, const char *soap_endpoint, const char *soap_action, _zoomws__GetLocalNumbers *zoomws__GetLocalNumbers, _zoomws__GetLocalNumbersResponse *zoomws__GetLocalNumbersResponse)
{ struct __zoomws__GetLocalNumbers_ soap_tmp___zoomws__GetLocalNumbers_;
if (!soap_endpoint)
soap_endpoint = "http://localhost/zoomservice/ZoomWebService.asmx";
if (!soap_action)
soap_action = "http://tempuri.org/GetLocalNumbers";
soap->encodingStyle = NULL;
soap_tmp___zoomws__GetLocalNumbers_.zoomws__GetLocalNumbers = zoomws__GetLocalNumbers;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___zoomws__GetLocalNumbers_(soap, &soap_tmp___zoomws__GetLocalNumbers_);
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___zoomws__GetLocalNumbers_(soap, &soap_tmp___zoomws__GetLocalNumbers_, "-zoomws:GetLocalNumbers", "")
|| 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___zoomws__GetLocalNumbers_(soap, &soap_tmp___zoomws__GetLocalNumbers_, "-zoomws:GetLocalNumbers", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!zoomws__GetLocalNumbersResponse)
return soap_closesock(soap);
zoomws__GetLocalNumbersResponse->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);
zoomws__GetLocalNumbersResponse->soap_get(soap, "zoomws:GetLocalNumbersResponse", "");
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:Skier,项目名称:vault_repo,代码行数:53,代码来源:zoomwsClient.cpp
示例11: soap_call___MemberServices2__GetMemberID
SOAP_FMAC5 int SOAP_FMAC6 soap_call___MemberServices2__GetMemberID(struct soap *soap, const char *soap_endpoint, const char *soap_action, _MemberServices__GetMemberID *MemberServices__GetMemberID, _MemberServices__GetMemberIDResponse *MemberServices__GetMemberIDResponse)
{ struct __MemberServices2__GetMemberID soap_tmp___MemberServices2__GetMemberID;
if (!soap_endpoint)
soap_endpoint = "http://next2friends.com:90/MemberServices.asmx";
if (!soap_action)
soap_action = "http://www.next2friends.com/GetMemberID";
soap->encodingStyle = NULL;
soap_tmp___MemberServices2__GetMemberID.MemberServices__GetMemberID = MemberServices__GetMemberID;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___MemberServices2__GetMemberID(soap, &soap_tmp___MemberServices2__GetMemberID);
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___MemberServices2__GetMemberID(soap, &soap_tmp___MemberServices2__GetMemberID, "-MemberServices2:GetMemberID", "")
|| 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___MemberServices2__GetMemberID(soap, &soap_tmp___MemberServices2__GetMemberID, "-MemberServices2:GetMemberID", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!MemberServices__GetMemberIDResponse)
return soap_closesock(soap);
MemberServices__GetMemberIDResponse->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);
MemberServices__GetMemberIDResponse->soap_get(soap, "MemberServices:GetMemberIDResponse", "");
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:xuchuansheng,项目名称:GenXSource,代码行数:53,代码来源:WS_MemberServicesClient.cpp
示例12: soap_begin
int CS8ServerV3Proxy::schedulerRefresh(_ns6__schedulerRefresh *ns6__schedulerRefresh, _ns6__MotionAndRobotsPos *ns6__MotionAndRobotsPos)
{ struct soap *soap = this;
struct __ns6__schedulerRefresh soap_tmp___ns6__schedulerRefresh;
const char *soap_action = NULL;
if (!soap_endpoint)
soap_endpoint = "http://192.168.1.254:5653/CS8ServerV3";
soap->encodingStyle = NULL;
soap_tmp___ns6__schedulerRefresh.ns6__schedulerRefresh = ns6__schedulerRefresh;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns6__schedulerRefresh(soap, &soap_tmp___ns6__schedulerRefresh);
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___ns6__schedulerRefresh(soap, &soap_tmp___ns6__schedulerRefresh, "-ns6:schedulerRefresh", "")
|| 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___ns6__schedulerRefresh(soap, &soap_tmp___ns6__schedulerRefresh, "-ns6:schedulerRefresh", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns6__MotionAndRobotsPos)
return soap_closesock(soap);
ns6__MotionAndRobotsPos->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);
ns6__MotionAndRobotsPos->soap_get(soap, "ns6:MotionAndRobotsPos", "");
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:CURG,项目名称:staubli_tx60,代码行数:53,代码来源:soapCS8ServerV3Proxy.cpp
示例13: soap_call___ns1__GetVpdnOnlineIPByImsi
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__GetVpdnOnlineIPByImsi(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__GetVpdnOnlineIPByImsi *ns1__GetVpdnOnlineIPByImsi, struct _ns1__GetVpdnOnlineIPByImsiResponse *ns1__GetVpdnOnlineIPByImsiResponse)
{ struct __ns1__GetVpdnOnlineIPByImsi soap_tmp___ns1__GetVpdnOnlineIPByImsi;
if (!soap_endpoint)
soap_endpoint = "http://132.228.131.134:9953/services/CVpdnIpService";
if (!soap_action)
soap_action = "";
soap->encodingStyle = NULL;
soap_tmp___ns1__GetVpdnOnlineIPByImsi.ns1__GetVpdnOnlineIPByImsi = ns1__GetVpdnOnlineIPByImsi;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns1__GetVpdnOnlineIPByImsi(soap, &soap_tmp___ns1__GetVpdnOnlineIPByImsi);
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__GetVpdnOnlineIPByImsi(soap, &soap_tmp___ns1__GetVpdnOnlineIPByImsi, "-ns1:GetVpdnOnlineIPByImsi", 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__GetVpdnOnlineIPByImsi(soap, &soap_tmp___ns1__GetVpdnOnlineIPByImsi, "-ns1:GetVpdnOnlineIPByImsi", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__GetVpdnOnlineIPByImsiResponse)
return soap_closesock(soap);
soap_default__ns1__GetVpdnOnlineIPByImsiResponse(soap, ns1__GetVpdnOnlineIPByImsiResponse);
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__GetVpdnOnlineIPByImsiResponse(soap, ns1__GetVpdnOnlineIPByImsiResponse, "ns1:GetVpdnOnlineIPByImsiResponse", "");
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:xkmld419,项目名称:crawl,代码行数:53,代码来源:soapClient.c
示例14: soap_call___ns2__SendNoteInfo
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns2__SendNoteInfo(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__SendNoteInfo *ns1__SendNoteInfo, _ns1__SendNoteInfoResponse *ns1__SendNoteInfoResponse)
{ struct __ns2__SendNoteInfo soap_tmp___ns2__SendNoteInfo;
if (!soap_endpoint)
soap_endpoint = "http://localhost:8554/SHShenjiGSMModem.asmx";
if (!soap_action)
soap_action = "http://tempuri.org/SendNoteInfo";
soap->encodingStyle = NULL;
soap_tmp___ns2__SendNoteInfo.ns1__SendNoteInfo = ns1__SendNoteInfo;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns2__SendNoteInfo(soap, &soap_tmp___ns2__SendNoteInfo);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns2__SendNoteInfo(soap, &soap_tmp___ns2__SendNoteInfo, "-ns2:SendNoteInfo", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns2__SendNoteInfo(soap, &soap_tmp___ns2__SendNoteInfo, "-ns2:SendNoteInfo", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__SendNoteInfoResponse)
return soap_closesock(soap);
ns1__SendNoteInfoResponse->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__SendNoteInfoResponse->soap_get(soap, "ns1:SendNoteInfoResponse", "");
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:SiteView,项目名称:ecc82Server,代码行数:53,代码来源:soapClient.cpp
示例15: soap_begin
int CS8ServerV1Proxy::getApplications(_ns2__getApplications *ns2__getApplications, _ns2__getApplicationsResponse *ns2__getApplicationsResponse)
{ struct soap *soap = this;
struct __ns2__getApplications soap_tmp___ns2__getApplications;
const char *soap_action = NULL;
if (!soap_endpoint)
soap_endpoint = "http://192.168.1.254:5653/CS8ServerV1";
soap->encodingStyle = NULL;
soap_tmp___ns2__getApplications.ns2__getApplications = ns2__getApplications;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns2__getApplications(soap, &soap_tmp___ns2__getApplications);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns2__getApplications(soap, &soap_tmp___ns2__getApplications, "-ns2:getApplications", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___ns2__getApplications(soap, &soap_tmp___ns2__getApplications, "-ns2:getApplications", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns2__getApplicationsResponse)
return soap_closesock(soap);
ns2__getApplicationsResponse->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);
ns2__getApplicationsResponse->soap_get(soap, "ns2:getApplicationsResponse", "");
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:CURG,项目名称:staubli_tx60,代码行数:53,代码来源:soapCS8ServerV1Proxy.cpp
示例16: soap_call___s0__GetProperties
SOAP_FMAC5 int SOAP_FMAC6 soap_call___s0__GetProperties(struct soap* soap,
const char* soap_endpoint, const char* soap_action,
_s0__GetProperties* s0__GetProperties,
_s0__GetPropertiesResponse* s0__GetPropertiesResponse)
{
struct __s0__GetProperties soap_tmp___s0__GetProperties;
if (!soap_action)
soap_action
= "http://opcfoundation.org/webservices/XMLDA/1.0/GetProperties";
soap->encodingStyle = NULL;
soap_tmp___s0__GetProperties.s0__GetProperties = s0__GetProperties;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___s0__GetProperties(soap, &soap_tmp___s0__GetProperties);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH) {
if (soap_envelope_begin_out(soap) || soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___s0__GetProperties(
soap, &soap_tmp___s0__GetProperties, "-s0:GetProperties", "")
|| soap_body_end_out(soap) || soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap) || soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___s0__GetProperties(
soap, &soap_tmp___s0__GetProperties, "-s0:GetProperties", "")
|| soap_body_end_out(soap) || soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!s0__GetPropertiesResponse)
return soap_closesock(soap);
s0__GetPropertiesResponse->soap_default(soap);
if (soap_begin_recv(soap) || soap_envelope_begin_in(soap)
|| soap_recv_header(soap) || soap_body_begin_in(soap))
return soap_closesock(soap);
s0__GetPropertiesResponse->soap_get(soap, "s0:GetPropertiesResponse", "");
if (soap->error) {
if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
return soap_recv_fault(soap);
return soap_closesock(soap);
}
if (soap_body_end_in(soap) || soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
开发者ID:siamect,项目名称:proview,代码行数:51,代码来源:opc_soap_Client.cpp
示例17: soap_call___s0__RtMonStart
SOAP_FMAC5 int SOAP_FMAC6 soap_call___s0__RtMonStart(struct soap *soap, const char *soap_endpoint, const char *soap_action, _s0__RtMonStart *s0__RtMonStart, _s0__RtMonStartResponse *s0__RtMonStartResponse)
{ struct __s0__RtMonStart soap_tmp___s0__RtMonStart;
if (!soap_action)
soap_action = "s0:RtMonStart";
soap->encodingStyle = NULL;
soap_tmp___s0__RtMonStart.s0__RtMonStart = s0__RtMonStart;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___s0__RtMonStart(soap, &soap_tmp___s0__RtMonStart);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___s0__RtMonStart(soap, &soap_tmp___s0__RtMonStart, "-s0:RtMonStart", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___s0__RtMonStart(soap, &soap_tmp___s0__RtMonStart, "-s0:RtMonStart", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!s0__RtMonStartResponse)
return soap_closesock(soap);
s0__RtMonStartResponse->soap_default(soap);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
s0__RtMonStartResponse->soap_get(soap, "s0:RtMonStartResponse", "");
if (soap->error)
{ if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
return soap_recv_fault(soap);
return soap_closesock(soap);
}
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
开发者ID:Strongc,项目名称:proview,代码行数:51,代码来源:statussrv_Client.cpp
示例18: 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
|
请发表评论