这篇教程C++ soap_imode函数代码示例写得很实用,希望能帮到您。
本文整理汇总了C++中soap_imode函数的典型用法代码示例。如果您正苦于以下问题:C++ soap_imode函数的具体用法?C++ soap_imode怎么用?C++ soap_imode使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。 在下文中一共展示了soap_imode函数的29个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。 示例1: soap_imodevoid 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,
示例2: complexGsoap4inline 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,
示例3: simpleGsoap20inline 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,
示例4: innercomplexGsoap1inline 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,
示例5: soap_imodevoid 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,
示例6: soap_imodevoid 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,
示例7: soap_imodevoid 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,
示例8: soap_imodevoid 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,
示例9: soap_imodevoid 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,
示例10: soap_imodevoid 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,
示例11: soap_imodevoid 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,
示例12: soap_imodevoid 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,
示例13: soap_imodevoid 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,
示例14: soap_imodevoid 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,
示例15: soap_imodevoid 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,
示例16: soap_imodevoid 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,
示例17: soap_imodevoid 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,
示例18: innersimpleGsoap2inline 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,
示例19: soap_imodevoid 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,
示例20: soap_imodevoid 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,
示例21: soap_imodevoid WSHttpBinding_USCOREINWNMasterServerAPIService::WSHttpBinding_USCOREINWNMasterServerAPIService_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}, {"ns4", "http://schemas.datacontract.org/2004/07/NWN", NULL, NULL}, {"ns5", "http://schemas.microsoft.com/2003/10/Serialization/Arrays", NULL, NULL}, {"ns3", "http://schemas.microsoft.com/2003/10/Serialization/", NULL, NULL}, {"ns1", "http://api.mst.valhallalegends.com/NWNMasterServerAPI", NULL, NULL}, {"ns6", "http://tempuri.org/", NULL, NULL}, {NULL, NULL, NULL, NULL}}; soap_set_namespaces(this, namespaces);};
开发者ID:HellSinker,项目名称:nwncx,代码行数:18,
示例22: soap_imodevoid MemberServicesSoapProxy::MemberServicesSoapProxy_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://tempuri.org/MemberServicesSoap", NULL, NULL}, {"ns1", "http://tempuri.org/", NULL, NULL}, {"ns3", "http://tempuri.org/MemberServicesSoap12", NULL, NULL}, {NULL, NULL, NULL, NULL}}; if (!this->namespaces) this->namespaces = namespaces;}
开发者ID:xuchuansheng,项目名称:GenXSource,代码行数:18,
示例23: soap_imodevoid CustomBinding_DumpUploadService3_UploaderProxy::CustomBinding_DumpUploadService3_UploaderProxy_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}, {"xop", "http://www.w3.org/2004/08/xop/include", NULL, NULL}, {"ns5", "http://schemas.microsoft.com/2003/10/Serialization/Arrays", NULL, NULL}, {"ns3", "http://schemas.microsoft.com/2003/10/Serialization/", NULL, NULL}, {"ns4", "http://schemas.datacontract.org/2004/07/DumpUploadService3", NULL, NULL}, {"ns1", "https://www.drdump.com/services", NULL, NULL}, {NULL, NULL, NULL, NULL}}; soap_set_namespaces(this, namespaces);}
开发者ID:15375514460,项目名称:TortoiseGit,代码行数:19,
示例24: soap_imodevoid UploaderSoapProxy::UploaderSoapProxy_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}, {"xop", "http://www.w3.org/2004/08/xop/include", NULL, NULL}, {"ns2", "http://microsoft.com/wsdl/types/", NULL, NULL}, {"ns3", "https://drdump.com/UploaderSoap", NULL, NULL}, {"ns1", "https://drdump.com/", NULL, NULL}, {"ns4", "https://drdump.com/UploaderSoap12", NULL, NULL}, {NULL, NULL, NULL, NULL}}; this->namespaces = namespaces;}
开发者ID:bodyno,项目名称:TortoiseGit,代码行数:19,
示例25: soap_imodevoid dpws_discoveryService::dpws_discoveryService_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}, {"wsa", "http://schemas.xmlsoap.org/ws/2004/08/addressing", NULL, 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}, {"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", NULL, NULL}, {"wsd", "http://schemas.xmlsoap.org/ws/2005/04/discovery", NULL, NULL}, {NULL, NULL, NULL, NULL}}; this->namespaces = namespaces;};
开发者ID:119-org,项目名称:TND,代码行数:19,
示例26: soap_imodevoid wsrmService::wsrmService_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}, {"tempuri", "http://tempuri.org/", NULL, NULL}, {"mssadh", "http://Microsoft.Samples.DualHttp", 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}, {"netrm", "http://schemas.microsoft.com/ws/2006/05/rm", NULL, NULL}, {"wsrm", "http://schemas.xmlsoap.org/ws/2005/02/rm", "http://docs.oasis-open.org/ws-rx/wsrm/200702", NULL}, {NULL, NULL, NULL, NULL}}; soap_set_namespaces(this->soap, namespaces);};
开发者ID:TangCheng,项目名称:ionvif,代码行数:19,
示例27: soap_imodevoid PullPointSubscriptionBindingService::PullPointSubscriptionBindingService_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}, {"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}, {"eventws", "http://www.onvif.org/ver10/events/wsdl", NULL, NULL}, {"wsnt", "http://docs.oasis-open.org/wsn/b-2", NULL, NULL}, {NULL, NULL, NULL, NULL}}; soap_set_namespaces(this->soap, namespaces);}
开发者ID:hummatli,项目名称:onvif-qt-server-client,代码行数:20,
示例28: soap_imodevoid RemoteDiscoveryBindingProxy::RemoteDiscoveryBindingProxy_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://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}, {"netrm", "http://schemas.microsoft.com/ws/2006/05/rm", NULL, NULL}, {"wsrm", "http://docs.oasis-open.org/ws-rx/wsrm/200702", NULL, 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}, {"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/advancedsecurity/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}, {"tmd", "http://www.onvif.org/ver10/deviceIO/wsdl", NULL, NULL}, {"tptz", "http://www.onvif.org/ver20/ptz/wsdl", NULL, NULL}, {"trt", "http://www.onvif.org/ver10/media/wsdl", NULL, NULL}, {NULL, NULL, NULL, NULL}}; soap_set_namespaces(this->soap, namespaces);}
开发者ID:Sufi-Al-Hussaini,项目名称:gsoap-onvif,代码行数:41,
示例29: soap_imodevoid RepositorySoapProxy::RepositorySoapProxy_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}, {"mtrep", "http://miktex.org/2006/06/repository", NULL, NULL}, {"mtrep2", "http://miktex.org/2007/03/repository", NULL, NULL}, {"mtrep3", "http://miktex.org/2007/07/repository", NULL, NULL}, {"mtrep4", "http://miktex.org/2007/10/repository", NULL, NULL}, {"ns2", "http://miktex.org/2008/05/repository/RepositorySoap", NULL, NULL}, {"ns1", "http://miktex.org/2008/05/repository", NULL, NULL}, {"ns3", "http://miktex.org/2008/05/repository/RepositorySoap12", NULL, NULL}, {NULL, NULL, NULL, NULL} }; soap_set_namespaces(this, namespaces);}
开发者ID:bngabonziza,项目名称:miktex,代码行数:21,
注:本文中的soap_imode函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 C++ soap_init函数代码示例 C++ soap_envelope_end_out函数代码示例 |