本文整理汇总了C++中soap_imode函数的典型用法代码示例。如果您正苦于以下问题:C++ soap_imode函数的具体用法?C++ soap_imode怎么用?C++ soap_imode使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了soap_imode函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: soap_imode
void RuleEngineBindingService::RuleEngineBindingService_init(soap_mode imode, soap_mode omode)
{ soap_imode(this->soap, imode);
soap_omode(this->soap, omode);
static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://www.w3.org/2003/05/soap-envelope", "http://schemas.xmlsoap.org/soap/envelope/", NULL},
{"SOAP-ENC", "http://www.w3.org/2003/05/soap-encoding", "http://schemas.xmlsoap.org/soap/encoding/", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"chan", "http://schemas.microsoft.com/ws/2005/02/duplex", NULL, NULL},
{"wsa5", "http://www.w3.org/2005/08/addressing", "http://schemas.xmlsoap.org/ws/2004/08/addressing", NULL},
{"xmime", "http://www.w3.org/2005/05/xmlmime", NULL, NULL},
{"xop", "http://www.w3.org/2004/08/xop/include", NULL, NULL},
{"tt", "http://www.onvif.org/ver10/schema", NULL, NULL},
{"wsrfbf", "http://docs.oasis-open.org/wsrf/bf-2", NULL, NULL},
{"wstop", "http://docs.oasis-open.org/wsn/t-1", NULL, NULL},
{"wsrfr", "http://docs.oasis-open.org/wsrf/r-2", NULL, NULL},
{"dn", "http://www.onvif.org/ver10/network/wsdl", NULL, NULL},
{"tan", "http://www.onvif.org/ver20/analytics/wsdl", NULL, NULL},
{"tds", "http://www.onvif.org/ver10/device/wsdl", NULL, NULL},
{"tev", "http://www.onvif.org/ver10/events/wsdl", NULL, NULL},
{"wsnt", "http://docs.oasis-open.org/wsn/b-2", NULL, NULL},
{"trt", "http://www.onvif.org/ver10/media/wsdl", NULL, NULL},
{"wsa", "http://schemas.xmlsoap.org/ws/2004/08/addressing", NULL, NULL},
{"wsd", "http://schemas.xmlsoap.org/ws/2005/04/discovery", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
soap_set_namespaces(this->soap, namespaces);
}
开发者ID:nk1973,项目名称:OpenONVIF,代码行数:29,代码来源:WebRuleEngineBindingService.cpp
示例2: complexGsoap4
inline void complexGsoap4()
{
struct soap *soap = soap_new();
soap_init(soap);
soap_set_omode(soap, SOAP_XML_GRAPH);
soap_imode(soap, SOAP_XML_GRAPH);
soap_begin(soap);
_ns1__complexGsoap4 input, output;
input.soap = soap;
input.att1 = 0;
input.att2 = 1;
input.att3 = 2;
input.att4 = 3;
input.att5 = 0;
input.att6 = 1;
input.att7 = 2;
input.att8 = 3;
input.att9 = "TEST 0";
input.att10 = "TEST 1";
input.att11 = "TEST 2";
input.att12 = "TEST 3";
input.att13 = 2.5;
input.att14 = 3.6;
input.att15 = 4.7;
input.att16 = 5.8;
input.att17 = 27.1;
input.att18 = 28.2;
input.att19 = 29.3;
input.att20 = 30.4;
input.att21 = true;
input.att22 = true;
input.att23 = true;
input.att24 = true;
boost::asio::streambuf streambuf;
std::ostream *ost = new std::ostream(&streambuf);
std::istream *ist = new std::istream(&streambuf);
input.soap->os = ost;
input.soap->is = ist;
boost::timer::auto_cpu_timer t;
for(int i=0; i < NUMBER_OF_LOOPS; ++i){
soap_write__ns1__complexGsoap4(soap, &input);
//streambuf.pubseekpos(0);
//ost->rdbuf(&streambuf);
//std::cout << "Str: " << streambuf.size() << endl;
//break;
soap_read__ns1__complexGsoap4(soap, &output);
}
soap_destroy(soap);
soap_end(soap);
soap_done(soap);
}
开发者ID:eProsima,项目名称:Dynamic-Fast-Buffers,代码行数:58,代码来源:main.cpp
示例3: simpleGsoap20
inline void simpleGsoap20()
{
struct soap *soap = soap_new();
soap_init(soap);
soap_set_omode(soap, SOAP_XML_GRAPH);
soap_imode(soap, SOAP_XML_GRAPH);
soap_begin(soap);
_ns1__simpleGsoap20 input, output;
input.soap = soap;
input.att1 = 1;
input.att2 = 2;
input.att3 = 3;
input.att4 = 4;
input.att5 = 5;
input.att6 = 6;
input.att7 = 7;
input.att8 = 8;
input.att9 = 9;
input.att10 = 10;
input.att11 = 11;
input.att12 = 12;
input.att13 = 13;
input.att14 = 14;
input.att15 = 15;
input.att16 = 16;
input.att17 = 17;
input.att18 = 18;
input.att19 = 19;
input.att20 = 20;
boost::asio::streambuf streambuf;
std::ostream *ost = new std::ostream(&streambuf);
std::istream *ist = new std::istream(&streambuf);
input.soap->os = ost;
input.soap->is = ist;
boost::timer::auto_cpu_timer t;
for(int i=0; i < NUMBER_OF_LOOPS; ++i){
soap_write__ns1__simpleGsoap20(soap, &input);
//streambuf.pubseekpos(0);
//ost->rdbuf(&streambuf);
//std::cout << "Str: " << streambuf.size() << endl;
//break;
soap_read__ns1__simpleGsoap20(soap, &output);
}
soap_destroy(soap);
soap_end(soap);
soap_done(soap);
}
开发者ID:eProsima,项目名称:Dynamic-Fast-Buffers,代码行数:54,代码来源:main.cpp
示例4: innercomplexGsoap1
inline void innercomplexGsoap1()
{
struct soap *soap = soap_new();
soap_init(soap);
soap_set_omode(soap, SOAP_XML_GRAPH);
soap_imode(soap, SOAP_XML_GRAPH);
soap_begin(soap);
_ns1__outercomplexGsoap1 input, output;
input.soap = soap;
ns1__innercomplexGsoap1 inner1;
inner1.soap = soap;
inner1.att1 = 0;
inner1.att2 = 0;
inner1.att3 = "TEST 0";
inner1.att4 = 1.5;
inner1.att5 = 10.0;
inner1.att6 = true;
input.att1 = 1;
input.att2 = 1;
input.att3 = "TEST 1";
input.att4 = &inner1;
input.att5 = 10.6;
input.att6 = 2.18;
input.att7 = false;
boost::asio::streambuf streambuf;
std::ostream *ost = new std::ostream(&streambuf);
std::istream *ist = new std::istream(&streambuf);
input.soap->os = ost;
input.soap->is = ist;
boost::timer::auto_cpu_timer t;
for(int i=0; i < NUMBER_OF_LOOPS; ++i){
soap_write__ns1__outercomplexGsoap1(soap, &input);
//streambuf.pubseekpos(0);
//ost->rdbuf(&streambuf);
//std::cout << "Str: " << streambuf.size() << endl;
//break;
soap_read__ns1__outercomplexGsoap1(soap, &output);
}
soap_destroy(soap);
soap_end(soap);
soap_done(soap);
}
开发者ID:eProsima,项目名称:Dynamic-Fast-Buffers,代码行数:51,代码来源:main.cpp
示例5: soap_imode
void AmazonS3SoapBindingService::AmazonS3SoapBindingService_init(soap_mode imode, soap_mode omode)
{ soap_imode(this->soap, imode);
soap_omode(this->soap, omode);
static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"ns1", "http://s3.amazonaws.com/doc/2006-03-01/", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
soap_set_namespaces(this->soap, namespaces);
};
开发者ID:supernova32,项目名称:PROG3Projekt,代码行数:14,代码来源:soapAmazonS3SoapBindingService.cpp
示例6: soap_imode
void ServiceSoapBindingService::ServiceSoapBindingService_init(soap_mode imode, soap_mode omode)
{ soap_imode(this, imode);
soap_omode(this, omode);
static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://www.w3.org/2003/05/soap-envelope", "http://schemas.xmlsoap.org/soap/envelope/", NULL},
{"SOAP-ENC", "http://www.w3.org/2003/05/soap-encoding", "http://schemas.xmlsoap.org/soap/encoding/", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"ns1", "http://localhost/service", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
soap_set_namespaces(this, namespaces);
};
开发者ID:InformaticsMskRu,项目名称:informatics-mccme-ru,代码行数:14,代码来源:soapServiceSoapBindingService.cpp
示例7: soap_imode
void videooverlayService::videooverlayService_init(soap_mode imode, soap_mode omode)
{ soap_imode(this, imode);
soap_omode(this, omode);
static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"ns", "urn:voverlay", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
soap_set_namespaces(this, namespaces);
}
开发者ID:wyrover,项目名称:DESKTOP-1,代码行数:14,代码来源:soapvideooverlayService.cpp
示例8: soap_imode
void ConsoleObserverService::ConsoleObserverService_init(soap_mode imode, soap_mode omode)
{ soap_imode(this, imode);
soap_omode(this, omode);
static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"fw", "http://ws.FlyWorkstation.it.janelia.org/", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
soap_set_namespaces(this, namespaces);
};
开发者ID:Vaa3D,项目名称:v3d_external,代码行数:14,代码来源:obsConsoleObserverService.cpp
示例9: soap_imode
void DoorControlBindingProxy::DoorControlBindingProxy_init(soap_mode imode, soap_mode omode)
{ soap_imode(this, imode);
soap_omode(this, omode);
soap_endpoint = NULL;
static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://www.w3.org/2003/05/soap-envelope", "http://schemas.xmlsoap.org/soap/envelope/", NULL},
{"SOAP-ENC", "http://www.w3.org/2003/05/soap-encoding", "http://schemas.xmlsoap.org/soap/encoding/", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"wsa", "http://schemas.xmlsoap.org/ws/2004/08/addressing", NULL, NULL},
{"wsdd", "http://schemas.xmlsoap.org/ws/2005/04/discovery", NULL, NULL},
{"chan", "http://schemas.microsoft.com/ws/2005/02/duplex", NULL, NULL},
{"wsa5", "http://www.w3.org/2005/08/addressing", "http://schemas.xmlsoap.org/ws/2004/08/addressing", NULL},
{"c14n", "http://www.w3.org/2001/10/xml-exc-c14n#", NULL, NULL},
{"wsu", "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd", NULL, NULL},
{"xenc", "http://www.w3.org/2001/04/xmlenc#", NULL, NULL},
{"wsc", "http://schemas.xmlsoap.org/ws/2005/02/sc", NULL, NULL},
{"ds", "http://www.w3.org/2000/09/xmldsig#", NULL, NULL},
{"wsse", "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd", NULL},
{"ns4", "http://www.onvif.org/ver10/pacs", NULL, NULL},
{"xmime", "http://tempuri.org/xmime.xsd", NULL, NULL},
{"xop", "http://www.w3.org/2004/08/xop/include", NULL, NULL},
{"tt", "http://www.onvif.org/ver10/schema", NULL, NULL},
{"wsrfbf", "http://docs.oasis-open.org/wsrf/bf-2", NULL, NULL},
{"wstop", "http://docs.oasis-open.org/wsn/t-1", NULL, NULL},
{"wsrfr", "http://docs.oasis-open.org/wsrf/r-2", NULL, NULL},
{"ns1", "http://www.onvif.org/ver10/deviceIO/wsdl", NULL, NULL},
{"ns2", "http://www.onvif.org/ver10/actionengine/wsdl", NULL, NULL},
{"ns3", "http://www.onvif.org/ver10/accesscontrol/wsdl", NULL, NULL},
{"ns5", "http://www.onvif.org/ver10/doorcontrol/wsdl", NULL, NULL},
{"tad", "http://www.onvif.org/ver10/analyticsdevice/wsdl", NULL, NULL},
{"tan", "http://www.onvif.org/ver20/analytics/wsdl", NULL, NULL},
{"tdn", "http://www.onvif.org/ver10/network/wsdl", NULL, NULL},
{"tds", "http://www.onvif.org/ver10/device/wsdl", NULL, NULL},
{"tev", "http://www.onvif.org/ver10/events/wsdl", NULL, NULL},
{"wsnt", "http://docs.oasis-open.org/wsn/b-2", NULL, NULL},
{"timg", "http://www.onvif.org/ver20/imaging/wsdl", NULL, NULL},
{"tls", "http://www.onvif.org/ver10/display/wsdl", NULL, NULL},
{"tptz", "http://www.onvif.org/ver20/ptz/wsdl", NULL, NULL},
{"trc", "http://www.onvif.org/ver10/recording/wsdl", NULL, NULL},
{"trp", "http://www.onvif.org/ver10/replay/wsdl", NULL, NULL},
{"trt", "http://www.onvif.org/ver10/media/wsdl", NULL, NULL},
{"trv", "http://www.onvif.org/ver10/receiver/wsdl", NULL, NULL},
{"tse", "http://www.onvif.org/ver10/search/wsdl", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
soap_set_namespaces(this, namespaces);
}
开发者ID:JoakimLindbom,项目名称:agocontrol,代码行数:49,代码来源:soapDoorControlBindingProxy.cpp
示例10: soap_imode
void GlobalWeatherSoapProxy::GlobalWeatherSoapProxy_init(soap_mode imode, soap_mode omode)
{ soap_imode(this, imode);
soap_omode(this, omode);
soap_endpoint = NULL;
static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://www.w3.org/2003/05/soap-envelope", "http://schemas.xmlsoap.org/soap/envelope/", NULL},
{"SOAP-ENC", "http://www.w3.org/2003/05/soap-encoding", "http://schemas.xmlsoap.org/soap/encoding/", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"ns1", "http://www.webserviceX.NET", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
soap_set_namespaces(this, namespaces);
}
开发者ID:AndreaAcanfora,项目名称:Weather-Soap-c-plus-plus,代码行数:15,代码来源:soapGlobalWeatherSoapProxy.cpp
示例11: soap_imode
void BasicHttpBinding_USCOREICalculatorService::BasicHttpBinding_USCOREICalculatorService_init(soap_mode imode, soap_mode omode)
{ soap_imode(this->soap, imode);
soap_omode(this->soap, omode);
static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"tempuri", "http://tempuri.org/", NULL, NULL},
{"mssamh", "http://Microsoft.Samples.Http", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
soap_set_namespaces(this->soap, namespaces);
}
开发者ID:gauge2009,项目名称:RPC,代码行数:15,代码来源:soapBasicHttpBinding_USCOREICalculatorService.cpp
示例12: soap_imode
void calcProxy::calcProxy_init(soap_mode imode, soap_mode omode)
{ soap_imode(this, imode);
soap_omode(this, omode);
soap_endpoint = NULL;
static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"ns", "urn:calc", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
soap_set_namespaces(this, namespaces);
}
开发者ID:gauge2009,项目名称:RPC,代码行数:15,代码来源:soapcalcProxy.cpp
示例13: soap_imode
void TransService::TransService_init(soap_mode imode, soap_mode omode)
{ static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"ftp", "urn:ftp", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
soap_imode(this, imode);
soap_omode(this, omode);
if (!this->namespaces)
this->namespaces = namespaces;
};
开发者ID:vinilin,项目名称:SYTD,代码行数:15,代码来源:FtpTransService.cpp
示例14: soap_imode
void repositorySoapBindingProxy::repositorySoapBindingProxy_init(soap_mode imode, soap_mode omode)
{ soap_imode(this->soap, imode);
soap_omode(this->soap, omode);
soap_endpoint = NULL;
static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"JasperServer", "http://axis2.ws.jasperserver.jaspersoft.com", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
soap_set_namespaces(this->soap, namespaces);
}
开发者ID:BaconGo,项目名称:alepherp,代码行数:15,代码来源:JasperServerrepositorySoapBindingProxy.cpp
示例15: soap_imode
void serverService::serverService_init(soap_mode imode, soap_mode omode)
{ soap_imode(this, imode);
soap_omode(this, omode);
static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"camera", "http://tempuri.org/camera.xsd", NULL, NULL},
{"agent", "http://tempuri.org/agent.xsd", NULL, NULL},
{"server", "http://tempuri.org/server.xsd", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
this->namespaces = namespaces;
};
开发者ID:119-org,项目名称:TND,代码行数:16,代码来源:soapserverService.cpp
示例16: soap_imode
void enrimaSoap11Proxy::enrimaSoap11Proxy_init(soap_mode imode, soap_mode omode)
{ soap_imode(this, imode);
soap_omode(this, omode);
soap_endpoint = NULL;
static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"ns1", "http://ime.iiasa.ac.at/enrima/example", NULL, NULL},
{"ns2", "http://www.ime.iiasa.ac.at/enrima/model/example", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
soap_set_namespaces(this, namespaces);
}
开发者ID:h-t-ren,项目名称:enrima-ws-gsoap-client,代码行数:16,代码来源:soapenrimaSoap11Proxy.cpp
示例17: soap_imode
void CRAB_ProxySOAPProxy::CRAB_ProxySOAPProxy_init(soap_mode imode, soap_mode omode)
{ soap_imode(this, imode);
soap_omode(this, omode);
soap_endpoint = NULL;
static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"ns1", "http://www.example.org/CRAB-Proxy/", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
if (!this->namespaces)
this->namespaces = namespaces;
}
开发者ID:bbockelm,项目名称:CRAB,代码行数:16,代码来源:soapCRAB_ProxySOAPProxy.cpp
示例18: innersimpleGsoap2
inline void innersimpleGsoap2()
{
struct soap *soap = soap_new();
soap_init(soap);
soap_set_omode(soap, SOAP_XML_GRAPH);
soap_imode(soap, SOAP_XML_GRAPH);
soap_begin(soap);
_ns1__outersimpleGsoap2 input, output;
input.soap = soap;
ns1__innersimpleGsoap2 inner1;
inner1.soap = soap;
inner1.att1 = 1;
inner1.att2 = 2;
ns1__innersimpleGsoap2 inner2;
inner2.soap = soap;
inner2.att1 = 1;
inner2.att2 = 2;
input.att1 = &inner1;
input.att2 = &inner2;
boost::asio::streambuf streambuf;
std::ostream *ost = new std::ostream(&streambuf);
std::istream *ist = new std::istream(&streambuf);
input.soap->os = ost;
input.soap->is = ist;
boost::timer::auto_cpu_timer t;
for(int i=0; i < NUMBER_OF_LOOPS; ++i){
soap_write__ns1__outersimpleGsoap2(soap, &input);
//streambuf.pubseekpos(0);
//ost->rdbuf(&streambuf);
//std::cout << "Str: " << streambuf.size() << endl;
//break;
soap_read__ns1__outersimpleGsoap2(soap, &output);
}
soap_destroy(soap);
soap_end(soap);
soap_done(soap);
}
开发者ID:eProsima,项目名称:Dynamic-Fast-Buffers,代码行数:47,代码来源:main.cpp
示例19: soap_imode
void OntologyQuerySoapBindingProxy::OntologyQuerySoapBindingProxy_init(soap_mode imode, soap_mode omode)
{ soap_imode(this, imode);
soap_omode(this, omode);
soap_endpoint = NULL;
static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"ns2", "http://xml.apache.org/xml-soap", NULL, NULL},
{"ns3", "http://model.web.ook.ebi.ac.uk", NULL, NULL},
{"ns1", "http://www.ebi.ac.uk/ontology-lookup/OntologyQuery", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
soap_set_namespaces(this, namespaces);
}
开发者ID:natapol,项目名称:UniSysDBMS,代码行数:17,代码来源:soapOntologyQuerySoapBindingProxy.cpp
示例20: soap_imode
void GeoIPServiceSoap12Proxy::GeoIPServiceSoap12Proxy_init(soap_mode imode, soap_mode omode)
{ soap_imode(this, imode);
soap_omode(this, omode);
soap_endpoint = NULL;
static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://www.w3.org/2003/05/soap-envelope", "http://www.w3.org/2003/05/soap-envelope", NULL},
{"SOAP-ENC", "http://www.w3.org/2003/05/soap-encoding", "http://www.w3.org/2003/05/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"ns2", "http://www.webservicex.net/GeoIPServiceSoap", NULL, NULL},
{"ns1", "http://www.webservicex.net/", NULL, NULL},
{"ns3", "http://www.webservicex.net/GeoIPServiceSoap12", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
soap_set_namespaces(this, namespaces);
}
开发者ID:DemofiloVizuete,项目名称:gSOAP,代码行数:17,代码来源:soapGeoIPServiceSoap12Proxy.cpp
注:本文中的soap_imode函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论