COPASI API  4.16.103
Public Member Functions | Public Attributes | List of all members
MiriamWebServicesSoapBindingProxy Class Reference

#include <soapMiriamWebServicesSoapBindingProxy.h>

Inheritance diagram for MiriamWebServicesSoapBindingProxy:
Inheritance graph
[legend]
Collaboration diagram for MiriamWebServicesSoapBindingProxy:
Collaboration graph
[legend]

Public Member Functions

virtual int checkRegExp (std::string _identifier, std::string _datatype, std::string &_checkRegExpReturn)
 Web service operation 'checkRegExp' (returns error code or SOAP_OK) More...
 
virtual int getDataResources (std::string _nickname, struct ns2__getDataResourcesResponse &_param_1)
 Web service operation 'getDataResources' (returns error code or SOAP_OK) More...
 
virtual int getDataTypeDef (std::string _nickname, std::string &_getDataTypeDefReturn)
 Web service operation 'getDataTypeDef' (returns error code or SOAP_OK) More...
 
virtual int getDataTypePattern (std::string _nickname, std::string &_getDataTypePatternReturn)
 Web service operation 'getDataTypePattern' (returns error code or SOAP_OK) More...
 
virtual int getDataTypesId (struct ns2__getDataTypesIdResponse &_param_8)
 Web service operation 'getDataTypesId' (returns error code or SOAP_OK) More...
 
virtual int getDataTypesName (struct ns2__getDataTypesNameResponse &_param_7)
 Web service operation 'getDataTypesName' (returns error code or SOAP_OK) More...
 
virtual int getDataTypeSynonyms (std::string _name, struct ns2__getDataTypeSynonymsResponse &_param_5)
 Web service operation 'getDataTypeSynonyms' (returns error code or SOAP_OK) More...
 
virtual int getDataTypeURI (std::string _name, std::string &_getDataTypeURIReturn)
 Web service operation 'getDataTypeURI' (returns error code or SOAP_OK) More...
 
virtual int getDataTypeURIs (std::string _name, struct ns2__getDataTypeURIsResponse &_param_2)
 Web service operation 'getDataTypeURIs' (returns error code or SOAP_OK) More...
 
virtual int getJavaLibraryVersion (std::string &getJavaLibraryVersionReturn)
 Web service operation 'getJavaLibraryVersion' (returns error code or SOAP_OK) More...
 
virtual int getLocation (std::string _uri, std::string _resource, std::string &_getLocationReturn)
 Web service operation 'getLocation' (returns error code or SOAP_OK) More...
 
virtual int getLocations (std::string _nickname, std::string _id, struct ns2__getLocationsResponse &_param_3)
 Web service operation 'getLocations' (returns error code or SOAP_OK) More...
 
virtual int getLocations_ (std::string _nickname, std::string _id, struct ns2__getLocationsResponse_ &_param_4)
 Web service operation 'getLocations' (returns error code or SOAP_OK) More...
 
virtual int getMiriamURI (std::string _uri, std::string &_getMiriamURIReturn)
 Web service operation 'getMiriamURI' (returns error code or SOAP_OK) More...
 
virtual int getName (std::string _uri, std::string &_getNameReturn)
 Web service operation 'getName' (returns error code or SOAP_OK) More...
 
virtual int getNames (std::string _uri, struct ns2__getNamesResponse &_param_6)
 Web service operation 'getNames' (returns error code or SOAP_OK) More...
 
virtual int getOfficialDataTypeURI (std::string _uri, std::string &_getOfficialDataTypeURIReturn)
 Web service operation 'getOfficialDataTypeURI' (returns error code or SOAP_OK) More...
 
virtual int getResourceInfo (std::string _id, std::string &_getResourceInfoReturn)
 Web service operation 'getResourceInfo' (returns error code or SOAP_OK) More...
 
virtual int getResourceInstitution (std::string _id, std::string &_getResourceInstitutionReturn)
 Web service operation 'getResourceInstitution' (returns error code or SOAP_OK) More...
 
virtual int getResourceLocation (std::string _id, std::string &_getResourceLocationReturn)
 Web service operation 'getResourceLocation' (returns error code or SOAP_OK) More...
 
virtual int getServicesInfo (std::string &getServicesInfoReturn)
 Web service operation 'getServicesInfo' (returns error code or SOAP_OK) More...
 
virtual int getServicesVersion (std::string &getServicesVersionReturn)
 Web service operation 'getServicesVersion' (returns error code or SOAP_OK) More...
 
virtual int getURI (std::string _name, std::string _id, std::string &_getURIReturn)
 Web service operation 'getURI' (returns error code or SOAP_OK) More...
 
virtual int isDeprecated (std::string _uri, std::string &_isDeprecatedReturn)
 Web service operation 'isDeprecated' (returns error code or SOAP_OK) More...
 
 MiriamWebServicesSoapBindingProxy ()
 Constructor. More...
 
 MiriamWebServicesSoapBindingProxy (const struct soap &)
 Constructor with copy of another engine state. More...
 
 MiriamWebServicesSoapBindingProxy (soap_mode iomode)
 Constructor with engine input+output mode control. More...
 
 MiriamWebServicesSoapBindingProxy (soap_mode imode, soap_mode omode)
 Constructor with engine input and output mode control. More...
 
virtual void MiriamWebServicesSoapBindingProxy_init (soap_mode imode, soap_mode omode)
 Initializer used by constructor. More...
 
virtual int soap_close_socket ()
 Force close connection (normally automatic, except for send_X ops) More...
 
virtual const SOAP_ENV__Faultsoap_fault ()
 Get SOAP Fault structure (NULL when absent) More...
 
virtual const char * soap_fault_detail ()
 Get SOAP Fault detail as string (NULL when absent) More...
 
virtual const char * soap_fault_string ()
 Get SOAP Fault string (NULL when absent) More...
 
virtual void soap_noheader ()
 Disables and removes SOAP Header from message. More...
 
virtual void soap_print_fault (FILE *)
 Print fault. More...
 
virtual char * soap_sprint_fault (char *buf, size_t len)
 Put fault into buffer. More...
 
virtual void soap_stream_fault (std::ostream &)
 Print fault to stream. More...
 
virtual ~MiriamWebServicesSoapBindingProxy ()
 Destructor frees deserialized data. More...
 

Public Attributes

const char * soap_endpoint
 Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed) More...
 
- Public Attributes inherited from soap
int accept_flags
 
int accept_timeout
 
char * action
 
const char * actor
 
soap_wchar ahead
 
voidalist
 
short alloced
 
char arrayOffset [(1024)]
 
char arraySize [(1024)]
 
char arrayType [(1024)]
 
struct soap_attributeattributes
 
char * authrealm
 
int bind_flags
 
voidbio
 
struct soap_blistblist
 
short body
 
char buf [(65536)]
 
size_t bufidx
 
size_t buflen
 
const char * c14nexclude
 
const char * c14ninclude
 
voidc_locale
 
const char * cafile
 
const char * capath
 
short cdata
 
size_t chunkbuflen
 
size_t chunksize
 
struct soap_clistclist
 
int connect_flags
 
int connect_timeout
 
const char * cookie_domain
 
int cookie_max
 
const char * cookie_path
 
struct soap_cookiecookies
 
size_t count
 
const char * crlfile
 
voidctx
 
voidd_stream
 
const char * dhfile
 
struct soap_dime dime
 
const char * dime_id_format
 
struct soap_dom_elementdom
 
const char * double_format
 
void(* dummy )()
 
short encoding
 
const char * encodingStyle
 
char endpoint [(1024)]
 
int errmode
 
int errnum
 
int error
 
int(* faccept )(struct soap *, int, struct sockaddr *, int *n)
 
struct SOAP_ENV__Faultfault
 
int(* fclose )(struct soap *)
 
int(* fclosesocket )(struct soap *, int)
 
int(* fconnect )(struct soap *, const char *, const char *, int)
 
FILE * fdebug [(3)]
 
int(* fdel )(struct soap *)
 
size_t(* fdimeread )(struct soap *, void *, char *, size_t)
 
void(* fdimereadclose )(struct soap *, void *)
 
void *(* fdimereadopen )(struct soap *, void *, const char *, const char *, const char *)
 
int(* fdimewrite )(struct soap *, void *, const char *, size_t)
 
void(* fdimewriteclose )(struct soap *, void *)
 
void *(* fdimewriteopen )(struct soap *, const char *, const char *, const char *)
 
int(* fdisconnect )(struct soap *)
 
int(* fform )(struct soap *)
 
int(* fget )(struct soap *)
 
int(* fhead )(struct soap *)
 
int(* fheader )(struct soap *)
 
int(* fignore )(struct soap *, const char *)
 
const char * float_format
 
void *(* fmalloc )(struct soap *, size_t)
 
size_t(* fmimeread )(struct soap *, void *, char *, size_t)
 
void(* fmimereadclose )(struct soap *, void *)
 
void *(* fmimereadopen )(struct soap *, void *, const char *, const char *, const char *)
 
int(* fmimewrite )(struct soap *, void *, const char *, size_t)
 
void(* fmimewriteclose )(struct soap *, void *)
 
void *(* fmimewriteopen )(struct soap *, void *, const char *, const char *, const char *, enum soap_mime_encoding)
 
int(* fopen )(struct soap *, const char *, const char *, int)
 
int(* fparse )(struct soap *)
 
int(* fparsehdr )(struct soap *, const char *, const char *)
 
void *(* fplugin )(struct soap *, const char *)
 
int(* fpoll )(struct soap *)
 
int(* fpost )(struct soap *, const char *, const char *, int, const char *, const char *, size_t)
 
int(* fposthdr )(struct soap *, const char *, const char *)
 
int(* fpreparefinal )(struct soap *)
 
int(* fprepareinit )(struct soap *)
 
int(* fpreparerecv )(struct soap *, const char *, size_t)
 
int(* fpreparesend )(struct soap *, const char *, size_t)
 
int(* fput )(struct soap *)
 
size_t(* frecv )(struct soap *, char *, size_t)
 
int(* fresolve )(struct soap *, const char *, struct in_addr *inaddr)
 
int(* fresponse )(struct soap *, int, size_t)
 
int(* fsend )(struct soap *, const char *, size_t)
 
int(* fserveloop )(struct soap *)
 
void(* fseterror )(struct soap *, const char **c, const char **s)
 
int(* fshutdownsocket )(struct soap *, int, int)
 
voidfsslauth
 
voidfsslverify
 
struct SOAP_ENV__Headerheader
 
char host [(1024)]
 
char href [(1024)]
 
const char * http_content
 
const char * http_version
 
char id [(1024)]
 
int idnum
 
struct soap_ilistiht [(1999)]
 
soap_mode imode
 
unsigned long ip
 
char * ipv4_multicast_if
 
int ipv4_multicast_ttl
 
int ipv6_multicast_if
 
voidis
 
short keep_alive
 
const char * keyfile
 
char * labbuf
 
size_t labidx
 
size_t lablen
 
const char * lang
 
size_t length
 
unsigned int level
 
unsigned short linger_time
 
struct Namespacelocal_namespaces
 
const char * logfile [(3)]
 
int master
 
unsigned int max_keep_alive
 
struct soap_mlist * mht [(1024)]
 
struct soap_mime mime
 
soap_mode mode
 
char msgbuf [1024]
 
short mustUnderstand
 
const struct Namespacenamespaces
 
struct soap_nlistnlist
 
short ns
 
short null
 
soap_mode omode
 
voidos
 
short other
 
short part
 
char * passwd
 
const char * password
 
char path [(1024)]
 
struct soap_pblkpblk
 
short peeked
 
struct sockaddr_in peer
 
size_t peerlen
 
struct soap_plistpht [(1024)]
 
short pidx
 
struct soap_pluginplugins
 
int port
 
short position
 
int positions [(16)]
 
char * prolog
 
const char * proxy_from
 
const char * proxy_host
 
const char * proxy_http_version
 
const char * proxy_passwd
 
int proxy_port
 
const char * proxy_userid
 
const char * randfile
 
int recv_timeout
 
int recvfd
 
short root
 
int send_timeout
 
int sendfd
 
voidsession
 
char session_host [(1024)]
 
int session_port
 
int socket
 
int socket_flags
 
voidssl
 
unsigned short ssl_flags
 
short state
 
int status
 
char tag [(1024)]
 
short tcp_keep_alive
 
unsigned int tcp_keep_cnt
 
unsigned int tcp_keep_idle
 
unsigned int tcp_keep_intvl
 
char tmpbuf [1024]
 
char type [(1024)]
 
voiduser
 
char * userid
 
short version
 
struct soap_xlistxlist
 
char * z_buf
 
size_t z_buflen
 
int32_t z_crc
 
unsigned short z_level
 
float z_ratio_in
 
float z_ratio_out
 
short zlib_in
 
short zlib_out
 
short zlib_state
 

Detailed Description

Definition at line 25 of file soapMiriamWebServicesSoapBindingProxy.h.

Constructor & Destructor Documentation

MiriamWebServicesSoapBindingProxy::MiriamWebServicesSoapBindingProxy ( )

Constructor.

Definition at line 20 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References MiriamWebServicesSoapBindingProxy_init(), and SOAP_IO_DEFAULT.

21 {
23 }
#define SOAP_IO_DEFAULT
Definition: stdsoap2.h:1127
virtual void MiriamWebServicesSoapBindingProxy_init(soap_mode imode, soap_mode omode)
Initializer used by constructor.
MiriamWebServicesSoapBindingProxy::MiriamWebServicesSoapBindingProxy ( const struct soap soap)

Constructor with copy of another engine state.

Definition at line 25 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References soap::imode, MiriamWebServicesSoapBindingProxy_init(), soap::omode, and soap_copy_context().

26 {
27  soap_copy_context(this, &soap);
29 }
struct soap * soap_copy_context(struct soap *copy, const struct soap *soap)
Definition: stdsoap2.cpp:8277
soap_mode imode
Definition: stdsoap2.h:1602
soap_mode omode
Definition: stdsoap2.h:1603
virtual void MiriamWebServicesSoapBindingProxy_init(soap_mode imode, soap_mode omode)
Initializer used by constructor.
MiriamWebServicesSoapBindingProxy::MiriamWebServicesSoapBindingProxy ( soap_mode  iomode)

Constructor with engine input+output mode control.

Definition at line 31 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References MiriamWebServicesSoapBindingProxy_init().

32 {
34 }
virtual void MiriamWebServicesSoapBindingProxy_init(soap_mode imode, soap_mode omode)
Initializer used by constructor.
MiriamWebServicesSoapBindingProxy::MiriamWebServicesSoapBindingProxy ( soap_mode  imode,
soap_mode  omode 
)

Constructor with engine input and output mode control.

Definition at line 36 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References MiriamWebServicesSoapBindingProxy_init().

37 {
39 }
soap_mode imode
Definition: stdsoap2.h:1602
soap_mode omode
Definition: stdsoap2.h:1603
virtual void MiriamWebServicesSoapBindingProxy_init(soap_mode imode, soap_mode omode)
Initializer used by constructor.
MiriamWebServicesSoapBindingProxy::~MiriamWebServicesSoapBindingProxy ( )
virtual

Destructor frees deserialized data.

Definition at line 60 of file soapMiriamWebServicesSoapBindingProxy.cpp.

61 {}

Member Function Documentation

int MiriamWebServicesSoapBindingProxy::checkRegExp ( std::string  _identifier,
std::string  _datatype,
std::string &  _checkRegExpReturn 
)
virtual

Web service operation 'checkRegExp' (returns error code or SOAP_OK)

Definition at line 1790 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__checkRegExpResponse::_checkRegExpReturn, ns2__checkRegExp::_datatype, ns2__checkRegExp::_identifier, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_std__string(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__checkRegExpResponse(), SOAP_IO_LENGTH, soap_put_ns2__checkRegExp(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__checkRegExp(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

1791 {
1792  struct soap *soap = this;
1793  struct ns2__checkRegExp soap_tmp_ns2__checkRegExp;
1794  struct ns2__checkRegExpResponse *soap_tmp_ns2__checkRegExpResponse;
1795  const char *soap_action = NULL;
1796 
1797  if (!soap_endpoint)
1798  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
1799 
1800  soap_action = "";
1801  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
1802  soap_tmp_ns2__checkRegExp._identifier = _identifier;
1803  soap_tmp_ns2__checkRegExp._datatype = _datatype;
1804  soap_begin(soap);
1805  soap_serializeheader(soap);
1806  soap_serialize_ns2__checkRegExp(soap, &soap_tmp_ns2__checkRegExp);
1807 
1808  if (soap_begin_count(soap))
1809  return soap->error;
1810 
1811  if (soap->mode & SOAP_IO_LENGTH)
1812  {
1813  if (soap_envelope_begin_out(soap)
1814  || soap_putheader(soap)
1815  || soap_body_begin_out(soap)
1816  || soap_put_ns2__checkRegExp(soap, &soap_tmp_ns2__checkRegExp, "ns2:checkRegExp", "")
1817  || soap_body_end_out(soap)
1818  || soap_envelope_end_out(soap))
1819  return soap->error;
1820  }
1821 
1822  if (soap_end_count(soap))
1823  return soap->error;
1824 
1825  if (soap_connect(soap, soap_endpoint, soap_action)
1826  || soap_envelope_begin_out(soap)
1827  || soap_putheader(soap)
1828  || soap_body_begin_out(soap)
1829  || soap_put_ns2__checkRegExp(soap, &soap_tmp_ns2__checkRegExp, "ns2:checkRegExp", "")
1830  || soap_body_end_out(soap)
1831  || soap_envelope_end_out(soap)
1832  || soap_end_send(soap))
1833  return soap_closesock(soap);
1834 
1835  if (!&_checkRegExpReturn)
1836  return soap_closesock(soap);
1837 
1839 
1840  if (soap_begin_recv(soap)
1841  || soap_envelope_begin_in(soap)
1842  || soap_recv_header(soap)
1843  || soap_body_begin_in(soap))
1844  return soap_closesock(soap);
1845 
1846  soap_tmp_ns2__checkRegExpResponse = soap_get_ns2__checkRegExpResponse(soap, NULL, "ns2:checkRegExpResponse", "");
1847 
1848  if (soap->error)
1849  {
1850  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
1851  return soap_recv_fault(soap);
1852 
1853  return soap_closesock(soap);
1854  }
1855 
1856  if (soap_body_end_in(soap)
1857  || soap_envelope_end_in(soap)
1858  || soap_end_recv(soap))
1859  return soap_closesock(soap);
1860 
1861  _checkRegExpReturn = soap_tmp_ns2__checkRegExpResponse->_checkRegExpReturn;
1862  return soap_closesock(soap);
1863 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int error
Definition: stdsoap2.h:1755
int soap_put_ns2__checkRegExp(struct soap *soap, const struct ns2__checkRegExp *a, const char *tag, const char *type)
Definition: soapC.cpp:2934
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
void soap_serialize_ns2__checkRegExp(struct soap *soap, const struct ns2__checkRegExp *a)
Definition: soapC.cpp:2925
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
void soap_default_std__string(struct soap *soap, std::string *p)
Definition: soapC.cpp:1710
struct ns2__checkRegExpResponse * soap_get_ns2__checkRegExpResponse(struct soap *soap, struct ns2__checkRegExpResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:3114
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
std::string _checkRegExpReturn
Definition: soapStub.h:565
int MiriamWebServicesSoapBindingProxy::getDataResources ( std::string  _nickname,
struct ns2__getDataResourcesResponse _param_1 
)
virtual

Web service operation 'getDataResources' (returns error code or SOAP_OK)

Definition at line 329 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getDataResources::_nickname, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_ns2__getDataResourcesResponse(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getDataResourcesResponse(), SOAP_IO_LENGTH, soap_put_ns2__getDataResources(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getDataResources(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

330 {
331  struct soap *soap = this;
332  struct ns2__getDataResources soap_tmp_ns2__getDataResources;
333  const char *soap_action = NULL;
334 
335  if (!soap_endpoint)
336  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
337 
338  soap_action = "";
339  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
340  soap_tmp_ns2__getDataResources._nickname = _nickname;
341  soap_begin(soap);
342  soap_serializeheader(soap);
343  soap_serialize_ns2__getDataResources(soap, &soap_tmp_ns2__getDataResources);
344 
345  if (soap_begin_count(soap))
346  return soap->error;
347 
348  if (soap->mode & SOAP_IO_LENGTH)
349  {
350  if (soap_envelope_begin_out(soap)
351  || soap_putheader(soap)
352  || soap_body_begin_out(soap)
353  || soap_put_ns2__getDataResources(soap, &soap_tmp_ns2__getDataResources, "ns2:getDataResources", "")
354  || soap_body_end_out(soap)
355  || soap_envelope_end_out(soap))
356  return soap->error;
357  }
358 
359  if (soap_end_count(soap))
360  return soap->error;
361 
362  if (soap_connect(soap, soap_endpoint, soap_action)
363  || soap_envelope_begin_out(soap)
364  || soap_putheader(soap)
365  || soap_body_begin_out(soap)
366  || soap_put_ns2__getDataResources(soap, &soap_tmp_ns2__getDataResources, "ns2:getDataResources", "")
367  || soap_body_end_out(soap)
368  || soap_envelope_end_out(soap)
369  || soap_end_send(soap))
370  return soap_closesock(soap);
371 
372  if (!&_param_1)
373  return soap_closesock(soap);
374 
376 
377  if (soap_begin_recv(soap)
378  || soap_envelope_begin_in(soap)
379  || soap_recv_header(soap)
380  || soap_body_begin_in(soap))
381  return soap_closesock(soap);
382 
383  soap_get_ns2__getDataResourcesResponse(soap, &_param_1, "ns2:getDataResourcesResponse", "");
384 
385  if (soap->error)
386  {
387  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
388  return soap_recv_fault(soap);
389 
390  return soap_closesock(soap);
391  }
392 
393  if (soap_body_end_in(soap)
394  || soap_envelope_end_in(soap)
395  || soap_end_recv(soap))
396  return soap_closesock(soap);
397 
398  return soap_closesock(soap);
399 }
void soap_default_ns2__getDataResourcesResponse(struct soap *soap, struct ns2__getDataResourcesResponse *a)
Definition: soapC.cpp:8874
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
std::string _nickname
Definition: soapStub.h:163
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
void soap_serialize_ns2__getDataResources(struct soap *soap, const struct ns2__getDataResources *a)
Definition: soapC.cpp:8732
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_put_ns2__getDataResources(struct soap *soap, const struct ns2__getDataResources *a, const char *tag, const char *type)
Definition: soapC.cpp:8739
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
struct ns2__getDataResourcesResponse * soap_get_ns2__getDataResourcesResponse(struct soap *soap, struct ns2__getDataResourcesResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:8907
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::getDataTypeDef ( std::string  _nickname,
std::string &  _getDataTypeDefReturn 
)
virtual

Web service operation 'getDataTypeDef' (returns error code or SOAP_OK)

Definition at line 766 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getDataTypeDefResponse::_getDataTypeDefReturn, ns2__getDataTypeDef::_nickname, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_std__string(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getDataTypeDefResponse(), SOAP_IO_LENGTH, soap_put_ns2__getDataTypeDef(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getDataTypeDef(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

767 {
768  struct soap *soap = this;
769  struct ns2__getDataTypeDef soap_tmp_ns2__getDataTypeDef;
770  struct ns2__getDataTypeDefResponse *soap_tmp_ns2__getDataTypeDefResponse;
771  const char *soap_action = NULL;
772 
773  if (!soap_endpoint)
774  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
775 
776  soap_action = "";
777  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
778  soap_tmp_ns2__getDataTypeDef._nickname = _nickname;
779  soap_begin(soap);
780  soap_serializeheader(soap);
781  soap_serialize_ns2__getDataTypeDef(soap, &soap_tmp_ns2__getDataTypeDef);
782 
783  if (soap_begin_count(soap))
784  return soap->error;
785 
786  if (soap->mode & SOAP_IO_LENGTH)
787  {
788  if (soap_envelope_begin_out(soap)
789  || soap_putheader(soap)
790  || soap_body_begin_out(soap)
791  || soap_put_ns2__getDataTypeDef(soap, &soap_tmp_ns2__getDataTypeDef, "ns2:getDataTypeDef", "")
792  || soap_body_end_out(soap)
793  || soap_envelope_end_out(soap))
794  return soap->error;
795  }
796 
797  if (soap_end_count(soap))
798  return soap->error;
799 
800  if (soap_connect(soap, soap_endpoint, soap_action)
801  || soap_envelope_begin_out(soap)
802  || soap_putheader(soap)
803  || soap_body_begin_out(soap)
804  || soap_put_ns2__getDataTypeDef(soap, &soap_tmp_ns2__getDataTypeDef, "ns2:getDataTypeDef", "")
805  || soap_body_end_out(soap)
806  || soap_envelope_end_out(soap)
807  || soap_end_send(soap))
808  return soap_closesock(soap);
809 
810  if (!&_getDataTypeDefReturn)
811  return soap_closesock(soap);
812 
814 
815  if (soap_begin_recv(soap)
816  || soap_envelope_begin_in(soap)
817  || soap_recv_header(soap)
818  || soap_body_begin_in(soap))
819  return soap_closesock(soap);
820 
821  soap_tmp_ns2__getDataTypeDefResponse = soap_get_ns2__getDataTypeDefResponse(soap, NULL, "ns2:getDataTypeDefResponse", "");
822 
823  if (soap->error)
824  {
825  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
826  return soap_recv_fault(soap);
827 
828  return soap_closesock(soap);
829  }
830 
831  if (soap_body_end_in(soap)
832  || soap_envelope_end_in(soap)
833  || soap_end_recv(soap))
834  return soap_closesock(soap);
835 
836  _getDataTypeDefReturn = soap_tmp_ns2__getDataTypeDefResponse->_getDataTypeDefReturn;
837  return soap_closesock(soap);
838 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
struct ns2__getDataTypeDefResponse * soap_get_ns2__getDataTypeDefResponse(struct soap *soap, struct ns2__getDataTypeDefResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:7202
void soap_serialize_ns2__getDataTypeDef(struct soap *soap, const struct ns2__getDataTypeDef *a)
Definition: soapC.cpp:7026
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
std::string _getDataTypeDefReturn
Definition: soapStub.h:279
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
int soap_put_ns2__getDataTypeDef(struct soap *soap, const struct ns2__getDataTypeDef *a, const char *tag, const char *type)
Definition: soapC.cpp:7033
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
void soap_default_std__string(struct soap *soap, std::string *p)
Definition: soapC.cpp:1710
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::getDataTypePattern ( std::string  _nickname,
std::string &  _getDataTypePatternReturn 
)
virtual

Web service operation 'getDataTypePattern' (returns error code or SOAP_OK)

Definition at line 1208 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getDataTypePatternResponse::_getDataTypePatternReturn, ns2__getDataTypePattern::_nickname, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_std__string(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getDataTypePatternResponse(), SOAP_IO_LENGTH, soap_put_ns2__getDataTypePattern(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getDataTypePattern(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

Referenced by CMIRIAMResources::updateMIRIAMResources().

1209 {
1210  struct soap *soap = this;
1211  struct ns2__getDataTypePattern soap_tmp_ns2__getDataTypePattern;
1212  struct ns2__getDataTypePatternResponse *soap_tmp_ns2__getDataTypePatternResponse;
1213  const char *soap_action = NULL;
1214 
1215  if (!soap_endpoint)
1216  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
1217 
1218  soap_action = "";
1219  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
1220  soap_tmp_ns2__getDataTypePattern._nickname = _nickname;
1221  soap_begin(soap);
1222  soap_serializeheader(soap);
1223  soap_serialize_ns2__getDataTypePattern(soap, &soap_tmp_ns2__getDataTypePattern);
1224 
1225  if (soap_begin_count(soap))
1226  return soap->error;
1227 
1228  if (soap->mode & SOAP_IO_LENGTH)
1229  {
1230  if (soap_envelope_begin_out(soap)
1231  || soap_putheader(soap)
1232  || soap_body_begin_out(soap)
1233  || soap_put_ns2__getDataTypePattern(soap, &soap_tmp_ns2__getDataTypePattern, "ns2:getDataTypePattern", "")
1234  || soap_body_end_out(soap)
1235  || soap_envelope_end_out(soap))
1236  return soap->error;
1237  }
1238 
1239  if (soap_end_count(soap))
1240  return soap->error;
1241 
1242  if (soap_connect(soap, soap_endpoint, soap_action)
1243  || soap_envelope_begin_out(soap)
1244  || soap_putheader(soap)
1245  || soap_body_begin_out(soap)
1246  || soap_put_ns2__getDataTypePattern(soap, &soap_tmp_ns2__getDataTypePattern, "ns2:getDataTypePattern", "")
1247  || soap_body_end_out(soap)
1248  || soap_envelope_end_out(soap)
1249  || soap_end_send(soap))
1250  return soap_closesock(soap);
1251 
1253  return soap_closesock(soap);
1254 
1256 
1257  if (soap_begin_recv(soap)
1258  || soap_envelope_begin_in(soap)
1259  || soap_recv_header(soap)
1260  || soap_body_begin_in(soap))
1261  return soap_closesock(soap);
1262 
1263  soap_tmp_ns2__getDataTypePatternResponse = soap_get_ns2__getDataTypePatternResponse(soap, NULL, "ns2:getDataTypePatternResponse", "");
1264 
1265  if (soap->error)
1266  {
1267  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
1268  return soap_recv_fault(soap);
1269 
1270  return soap_closesock(soap);
1271  }
1272 
1273  if (soap_body_end_in(soap)
1274  || soap_envelope_end_in(soap)
1275  || soap_end_recv(soap))
1276  return soap_closesock(soap);
1277 
1278  _getDataTypePatternReturn = soap_tmp_ns2__getDataTypePatternResponse->_getDataTypePatternReturn;
1279  return soap_closesock(soap);
1280 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
void soap_default_std__string(struct soap *soap, std::string *p)
Definition: soapC.cpp:1710
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_put_ns2__getDataTypePattern(struct soap *soap, const struct ns2__getDataTypePattern *a, const char *tag, const char *type)
Definition: soapC.cpp:5243
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
std::string _getDataTypePatternReturn
Definition: soapStub.h:401
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
void soap_serialize_ns2__getDataTypePattern(struct soap *soap, const struct ns2__getDataTypePattern *a)
Definition: soapC.cpp:5236
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
struct ns2__getDataTypePatternResponse * soap_get_ns2__getDataTypePatternResponse(struct soap *soap, struct ns2__getDataTypePatternResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:5412
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::getDataTypesId ( struct ns2__getDataTypesIdResponse _param_8)
virtual

Web service operation 'getDataTypesId' (returns error code or SOAP_OK)

Definition at line 1719 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_ns2__getDataTypesIdResponse(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getDataTypesIdResponse(), SOAP_IO_LENGTH, soap_put_ns2__getDataTypesId(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getDataTypesId(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

1720 {
1721  struct soap *soap = this;
1722  struct ns2__getDataTypesId soap_tmp_ns2__getDataTypesId;
1723  const char *soap_action = NULL;
1724 
1725  if (!soap_endpoint)
1726  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
1727 
1728  soap_action = "";
1729  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
1730  soap_begin(soap);
1731  soap_serializeheader(soap);
1732  soap_serialize_ns2__getDataTypesId(soap, &soap_tmp_ns2__getDataTypesId);
1733 
1734  if (soap_begin_count(soap))
1735  return soap->error;
1736 
1737  if (soap->mode & SOAP_IO_LENGTH)
1738  {
1739  if (soap_envelope_begin_out(soap)
1740  || soap_putheader(soap)
1741  || soap_body_begin_out(soap)
1742  || soap_put_ns2__getDataTypesId(soap, &soap_tmp_ns2__getDataTypesId, "ns2:getDataTypesId", "")
1743  || soap_body_end_out(soap)
1744  || soap_envelope_end_out(soap))
1745  return soap->error;
1746  }
1747 
1748  if (soap_end_count(soap))
1749  return soap->error;
1750 
1751  if (soap_connect(soap, soap_endpoint, soap_action)
1752  || soap_envelope_begin_out(soap)
1753  || soap_putheader(soap)
1754  || soap_body_begin_out(soap)
1755  || soap_put_ns2__getDataTypesId(soap, &soap_tmp_ns2__getDataTypesId, "ns2:getDataTypesId", "")
1756  || soap_body_end_out(soap)
1757  || soap_envelope_end_out(soap)
1758  || soap_end_send(soap))
1759  return soap_closesock(soap);
1760 
1761  if (!&_param_8)
1762  return soap_closesock(soap);
1763 
1765 
1766  if (soap_begin_recv(soap)
1767  || soap_envelope_begin_in(soap)
1768  || soap_recv_header(soap)
1769  || soap_body_begin_in(soap))
1770  return soap_closesock(soap);
1771 
1772  soap_get_ns2__getDataTypesIdResponse(soap, &_param_8, "ns2:getDataTypesIdResponse", "");
1773 
1774  if (soap->error)
1775  {
1776  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
1777  return soap_recv_fault(soap);
1778 
1779  return soap_closesock(soap);
1780  }
1781 
1782  if (soap_body_end_in(soap)
1783  || soap_envelope_end_in(soap)
1784  || soap_end_recv(soap))
1785  return soap_closesock(soap);
1786 
1787  return soap_closesock(soap);
1788 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
struct ns2__getDataTypesIdResponse * soap_get_ns2__getDataTypesIdResponse(struct soap *soap, struct ns2__getDataTypesIdResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:3388
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
int soap_put_ns2__getDataTypesId(struct soap *soap, const struct ns2__getDataTypesId *a, const char *tag, const char *type)
Definition: soapC.cpp:3238
void soap_serialize_ns2__getDataTypesId(struct soap *soap, const struct ns2__getDataTypesId *a)
Definition: soapC.cpp:3233
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
void soap_default_ns2__getDataTypesIdResponse(struct soap *soap, struct ns2__getDataTypesIdResponse *a)
Definition: soapC.cpp:3355
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::getDataTypesName ( struct ns2__getDataTypesNameResponse _param_7)
virtual

Web service operation 'getDataTypesName' (returns error code or SOAP_OK)

Definition at line 1648 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_ns2__getDataTypesNameResponse(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getDataTypesNameResponse(), SOAP_IO_LENGTH, soap_put_ns2__getDataTypesName(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getDataTypesName(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

Referenced by CMIRIAMResources::updateMIRIAMResources().

1649 {
1650  struct soap *soap = this;
1651  struct ns2__getDataTypesName soap_tmp_ns2__getDataTypesName;
1652  const char *soap_action = NULL;
1653 
1654  if (!soap_endpoint)
1655  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
1656 
1657  soap_action = "";
1658  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
1659  soap_begin(soap);
1660  soap_serializeheader(soap);
1661  soap_serialize_ns2__getDataTypesName(soap, &soap_tmp_ns2__getDataTypesName);
1662 
1663  if (soap_begin_count(soap))
1664  return soap->error;
1665 
1666  if (soap->mode & SOAP_IO_LENGTH)
1667  {
1668  if (soap_envelope_begin_out(soap)
1669  || soap_putheader(soap)
1670  || soap_body_begin_out(soap)
1671  || soap_put_ns2__getDataTypesName(soap, &soap_tmp_ns2__getDataTypesName, "ns2:getDataTypesName", "")
1672  || soap_body_end_out(soap)
1673  || soap_envelope_end_out(soap))
1674  return soap->error;
1675  }
1676 
1677  if (soap_end_count(soap))
1678  return soap->error;
1679 
1680  if (soap_connect(soap, soap_endpoint, soap_action)
1681  || soap_envelope_begin_out(soap)
1682  || soap_putheader(soap)
1683  || soap_body_begin_out(soap)
1684  || soap_put_ns2__getDataTypesName(soap, &soap_tmp_ns2__getDataTypesName, "ns2:getDataTypesName", "")
1685  || soap_body_end_out(soap)
1686  || soap_envelope_end_out(soap)
1687  || soap_end_send(soap))
1688  return soap_closesock(soap);
1689 
1690  if (!&_param_7)
1691  return soap_closesock(soap);
1692 
1694 
1695  if (soap_begin_recv(soap)
1696  || soap_envelope_begin_in(soap)
1697  || soap_recv_header(soap)
1698  || soap_body_begin_in(soap))
1699  return soap_closesock(soap);
1700 
1701  soap_get_ns2__getDataTypesNameResponse(soap, &_param_7, "ns2:getDataTypesNameResponse", "");
1702 
1703  if (soap->error)
1704  {
1705  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
1706  return soap_recv_fault(soap);
1707 
1708  return soap_closesock(soap);
1709  }
1710 
1711  if (soap_body_end_in(soap)
1712  || soap_envelope_end_in(soap)
1713  || soap_end_recv(soap))
1714  return soap_closesock(soap);
1715 
1716  return soap_closesock(soap);
1717 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int soap_put_ns2__getDataTypesName(struct soap *soap, const struct ns2__getDataTypesName *a, const char *tag, const char *type)
Definition: soapC.cpp:3506
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
struct ns2__getDataTypesNameResponse * soap_get_ns2__getDataTypesNameResponse(struct soap *soap, struct ns2__getDataTypesNameResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:3656
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
void soap_default_ns2__getDataTypesNameResponse(struct soap *soap, struct ns2__getDataTypesNameResponse *a)
Definition: soapC.cpp:3623
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
void soap_serialize_ns2__getDataTypesName(struct soap *soap, const struct ns2__getDataTypesName *a)
Definition: soapC.cpp:3501
int MiriamWebServicesSoapBindingProxy::getDataTypeSynonyms ( std::string  _name,
struct ns2__getDataTypeSynonymsResponse _param_5 
)
virtual

Web service operation 'getDataTypeSynonyms' (returns error code or SOAP_OK)

Definition at line 1504 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getDataTypeSynonyms::_name, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_ns2__getDataTypeSynonymsResponse(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getDataTypeSynonymsResponse(), SOAP_IO_LENGTH, soap_put_ns2__getDataTypeSynonyms(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getDataTypeSynonyms(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

1505 {
1506  struct soap *soap = this;
1507  struct ns2__getDataTypeSynonyms soap_tmp_ns2__getDataTypeSynonyms;
1508  const char *soap_action = NULL;
1509 
1510  if (!soap_endpoint)
1511  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
1512 
1513  soap_action = "";
1514  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
1515  soap_tmp_ns2__getDataTypeSynonyms._name = _name;
1516  soap_begin(soap);
1517  soap_serializeheader(soap);
1518  soap_serialize_ns2__getDataTypeSynonyms(soap, &soap_tmp_ns2__getDataTypeSynonyms);
1519 
1520  if (soap_begin_count(soap))
1521  return soap->error;
1522 
1523  if (soap->mode & SOAP_IO_LENGTH)
1524  {
1525  if (soap_envelope_begin_out(soap)
1526  || soap_putheader(soap)
1527  || soap_body_begin_out(soap)
1528  || soap_put_ns2__getDataTypeSynonyms(soap, &soap_tmp_ns2__getDataTypeSynonyms, "ns2:getDataTypeSynonyms", "")
1529  || soap_body_end_out(soap)
1530  || soap_envelope_end_out(soap))
1531  return soap->error;
1532  }
1533 
1534  if (soap_end_count(soap))
1535  return soap->error;
1536 
1537  if (soap_connect(soap, soap_endpoint, soap_action)
1538  || soap_envelope_begin_out(soap)
1539  || soap_putheader(soap)
1540  || soap_body_begin_out(soap)
1541  || soap_put_ns2__getDataTypeSynonyms(soap, &soap_tmp_ns2__getDataTypeSynonyms, "ns2:getDataTypeSynonyms", "")
1542  || soap_body_end_out(soap)
1543  || soap_envelope_end_out(soap)
1544  || soap_end_send(soap))
1545  return soap_closesock(soap);
1546 
1547  if (!&_param_5)
1548  return soap_closesock(soap);
1549 
1551 
1552  if (soap_begin_recv(soap)
1553  || soap_envelope_begin_in(soap)
1554  || soap_recv_header(soap)
1555  || soap_body_begin_in(soap))
1556  return soap_closesock(soap);
1557 
1558  soap_get_ns2__getDataTypeSynonymsResponse(soap, &_param_5, "ns2:getDataTypeSynonymsResponse", "");
1559 
1560  if (soap->error)
1561  {
1562  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
1563  return soap_recv_fault(soap);
1564 
1565  return soap_closesock(soap);
1566  }
1567 
1568  if (soap_body_end_in(soap)
1569  || soap_envelope_end_in(soap)
1570  || soap_end_recv(soap))
1571  return soap_closesock(soap);
1572 
1573  return soap_closesock(soap);
1574 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
void soap_serialize_ns2__getDataTypeSynonyms(struct soap *soap, const struct ns2__getDataTypeSynonyms *a)
Definition: soapC.cpp:4059
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
void soap_default_ns2__getDataTypeSynonymsResponse(struct soap *soap, struct ns2__getDataTypeSynonymsResponse *a)
Definition: soapC.cpp:4201
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
int soap_put_ns2__getDataTypeSynonyms(struct soap *soap, const struct ns2__getDataTypeSynonyms *a, const char *tag, const char *type)
Definition: soapC.cpp:4066
struct ns2__getDataTypeSynonymsResponse * soap_get_ns2__getDataTypeSynonymsResponse(struct soap *soap, struct ns2__getDataTypeSynonymsResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:4234
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::getDataTypeURI ( std::string  _name,
std::string &  _getDataTypeURIReturn 
)
virtual

Web service operation 'getDataTypeURI' (returns error code or SOAP_OK)

Definition at line 620 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getDataTypeURIResponse::_getDataTypeURIReturn, ns2__getDataTypeURI::_name, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_std__string(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getDataTypeURIResponse(), SOAP_IO_LENGTH, soap_put_ns2__getDataTypeURI(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getDataTypeURI(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

Referenced by CMIRIAMResources::updateMIRIAMResources().

621 {
622  struct soap *soap = this;
623  struct ns2__getDataTypeURI soap_tmp_ns2__getDataTypeURI;
624  struct ns2__getDataTypeURIResponse *soap_tmp_ns2__getDataTypeURIResponse;
625  const char *soap_action = NULL;
626 
627  if (!soap_endpoint)
628  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
629 
630  soap_action = "";
631  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
632  soap_tmp_ns2__getDataTypeURI._name = _name;
633  soap_begin(soap);
634  soap_serializeheader(soap);
635  soap_serialize_ns2__getDataTypeURI(soap, &soap_tmp_ns2__getDataTypeURI);
636 
637  if (soap_begin_count(soap))
638  return soap->error;
639 
640  if (soap->mode & SOAP_IO_LENGTH)
641  {
642  if (soap_envelope_begin_out(soap)
643  || soap_putheader(soap)
644  || soap_body_begin_out(soap)
645  || soap_put_ns2__getDataTypeURI(soap, &soap_tmp_ns2__getDataTypeURI, "ns2:getDataTypeURI", "")
646  || soap_body_end_out(soap)
647  || soap_envelope_end_out(soap))
648  return soap->error;
649  }
650 
651  if (soap_end_count(soap))
652  return soap->error;
653 
654  if (soap_connect(soap, soap_endpoint, soap_action)
655  || soap_envelope_begin_out(soap)
656  || soap_putheader(soap)
657  || soap_body_begin_out(soap)
658  || soap_put_ns2__getDataTypeURI(soap, &soap_tmp_ns2__getDataTypeURI, "ns2:getDataTypeURI", "")
659  || soap_body_end_out(soap)
660  || soap_envelope_end_out(soap)
661  || soap_end_send(soap))
662  return soap_closesock(soap);
663 
664  if (!&_getDataTypeURIReturn)
665  return soap_closesock(soap);
666 
668 
669  if (soap_begin_recv(soap)
670  || soap_envelope_begin_in(soap)
671  || soap_recv_header(soap)
672  || soap_body_begin_in(soap))
673  return soap_closesock(soap);
674 
675  soap_tmp_ns2__getDataTypeURIResponse = soap_get_ns2__getDataTypeURIResponse(soap, NULL, "ns2:getDataTypeURIResponse", "");
676 
677  if (soap->error)
678  {
679  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
680  return soap_recv_fault(soap);
681 
682  return soap_closesock(soap);
683  }
684 
685  if (soap_body_end_in(soap)
686  || soap_envelope_end_in(soap)
687  || soap_end_recv(soap))
688  return soap_closesock(soap);
689 
690  _getDataTypeURIReturn = soap_tmp_ns2__getDataTypeURIResponse->_getDataTypeURIReturn;
691  return soap_closesock(soap);
692 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
struct ns2__getDataTypeURIResponse * soap_get_ns2__getDataTypeURIResponse(struct soap *soap, struct ns2__getDataTypeURIResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:7787
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
std::string _getDataTypeURIReturn
Definition: soapStub.h:239
void soap_default_std__string(struct soap *soap, std::string *p)
Definition: soapC.cpp:1710
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
void soap_serialize_ns2__getDataTypeURI(struct soap *soap, const struct ns2__getDataTypeURI *a)
Definition: soapC.cpp:7611
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_put_ns2__getDataTypeURI(struct soap *soap, const struct ns2__getDataTypeURI *a, const char *tag, const char *type)
Definition: soapC.cpp:7618
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::getDataTypeURIs ( std::string  _name,
struct ns2__getDataTypeURIsResponse _param_2 
)
virtual

Web service operation 'getDataTypeURIs' (returns error code or SOAP_OK)

Definition at line 694 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getDataTypeURIs::_name, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_ns2__getDataTypeURIsResponse(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getDataTypeURIsResponse(), SOAP_IO_LENGTH, soap_put_ns2__getDataTypeURIs(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getDataTypeURIs(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

Referenced by CMIRIAMResources::updateMIRIAMResources().

695 {
696  struct soap *soap = this;
697  struct ns2__getDataTypeURIs soap_tmp_ns2__getDataTypeURIs;
698  const char *soap_action = NULL;
699 
700  if (!soap_endpoint)
701  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
702 
703  soap_action = "";
704  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
705  soap_tmp_ns2__getDataTypeURIs._name = _name;
706  soap_begin(soap);
707  soap_serializeheader(soap);
708  soap_serialize_ns2__getDataTypeURIs(soap, &soap_tmp_ns2__getDataTypeURIs);
709 
710  if (soap_begin_count(soap))
711  return soap->error;
712 
713  if (soap->mode & SOAP_IO_LENGTH)
714  {
715  if (soap_envelope_begin_out(soap)
716  || soap_putheader(soap)
717  || soap_body_begin_out(soap)
718  || soap_put_ns2__getDataTypeURIs(soap, &soap_tmp_ns2__getDataTypeURIs, "ns2:getDataTypeURIs", "")
719  || soap_body_end_out(soap)
720  || soap_envelope_end_out(soap))
721  return soap->error;
722  }
723 
724  if (soap_end_count(soap))
725  return soap->error;
726 
727  if (soap_connect(soap, soap_endpoint, soap_action)
728  || soap_envelope_begin_out(soap)
729  || soap_putheader(soap)
730  || soap_body_begin_out(soap)
731  || soap_put_ns2__getDataTypeURIs(soap, &soap_tmp_ns2__getDataTypeURIs, "ns2:getDataTypeURIs", "")
732  || soap_body_end_out(soap)
733  || soap_envelope_end_out(soap)
734  || soap_end_send(soap))
735  return soap_closesock(soap);
736 
737  if (!&_param_2)
738  return soap_closesock(soap);
739 
741 
742  if (soap_begin_recv(soap)
743  || soap_envelope_begin_in(soap)
744  || soap_recv_header(soap)
745  || soap_body_begin_in(soap))
746  return soap_closesock(soap);
747 
748  soap_get_ns2__getDataTypeURIsResponse(soap, &_param_2, "ns2:getDataTypeURIsResponse", "");
749 
750  if (soap->error)
751  {
752  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
753  return soap_recv_fault(soap);
754 
755  return soap_closesock(soap);
756  }
757 
758  if (soap_body_end_in(soap)
759  || soap_envelope_end_in(soap)
760  || soap_end_recv(soap))
761  return soap_closesock(soap);
762 
763  return soap_closesock(soap);
764 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
void soap_default_ns2__getDataTypeURIsResponse(struct soap *soap, struct ns2__getDataTypeURIsResponse *a)
Definition: soapC.cpp:7464
int soap_put_ns2__getDataTypeURIs(struct soap *soap, const struct ns2__getDataTypeURIs *a, const char *tag, const char *type)
Definition: soapC.cpp:7329
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
void soap_serialize_ns2__getDataTypeURIs(struct soap *soap, const struct ns2__getDataTypeURIs *a)
Definition: soapC.cpp:7322
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
std::string _name
Definition: soapStub.h:269
struct ns2__getDataTypeURIsResponse * soap_get_ns2__getDataTypeURIsResponse(struct soap *soap, struct ns2__getDataTypeURIsResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:7497
int MiriamWebServicesSoapBindingProxy::getJavaLibraryVersion ( std::string &  getJavaLibraryVersionReturn)
virtual

Web service operation 'getJavaLibraryVersion' (returns error code or SOAP_OK)

Definition at line 547 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References soap::encodingStyle, soap::error, ns2__getJavaLibraryVersionResponse::getJavaLibraryVersionReturn, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_std__string(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getJavaLibraryVersionResponse(), SOAP_IO_LENGTH, soap_put_ns2__getJavaLibraryVersion(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getJavaLibraryVersion(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

548 {
549  struct soap *soap = this;
550  struct ns2__getJavaLibraryVersion soap_tmp_ns2__getJavaLibraryVersion;
551  struct ns2__getJavaLibraryVersionResponse *soap_tmp_ns2__getJavaLibraryVersionResponse;
552  const char *soap_action = NULL;
553 
554  if (!soap_endpoint)
555  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
556 
557  soap_action = "";
558  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
559  soap_begin(soap);
560  soap_serializeheader(soap);
561  soap_serialize_ns2__getJavaLibraryVersion(soap, &soap_tmp_ns2__getJavaLibraryVersion);
562 
563  if (soap_begin_count(soap))
564  return soap->error;
565 
566  if (soap->mode & SOAP_IO_LENGTH)
567  {
568  if (soap_envelope_begin_out(soap)
569  || soap_putheader(soap)
570  || soap_body_begin_out(soap)
571  || soap_put_ns2__getJavaLibraryVersion(soap, &soap_tmp_ns2__getJavaLibraryVersion, "ns2:getJavaLibraryVersion", "")
572  || soap_body_end_out(soap)
573  || soap_envelope_end_out(soap))
574  return soap->error;
575  }
576 
577  if (soap_end_count(soap))
578  return soap->error;
579 
580  if (soap_connect(soap, soap_endpoint, soap_action)
581  || soap_envelope_begin_out(soap)
582  || soap_putheader(soap)
583  || soap_body_begin_out(soap)
584  || soap_put_ns2__getJavaLibraryVersion(soap, &soap_tmp_ns2__getJavaLibraryVersion, "ns2:getJavaLibraryVersion", "")
585  || soap_body_end_out(soap)
586  || soap_envelope_end_out(soap)
587  || soap_end_send(soap))
588  return soap_closesock(soap);
589 
591  return soap_closesock(soap);
592 
594 
595  if (soap_begin_recv(soap)
596  || soap_envelope_begin_in(soap)
597  || soap_recv_header(soap)
598  || soap_body_begin_in(soap))
599  return soap_closesock(soap);
600 
601  soap_tmp_ns2__getJavaLibraryVersionResponse = soap_get_ns2__getJavaLibraryVersionResponse(soap, NULL, "ns2:getJavaLibraryVersionResponse", "");
602 
603  if (soap->error)
604  {
605  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
606  return soap_recv_fault(soap);
607 
608  return soap_closesock(soap);
609  }
610 
611  if (soap_body_end_in(soap)
612  || soap_envelope_end_in(soap)
613  || soap_end_recv(soap))
614  return soap_closesock(soap);
615 
616  getJavaLibraryVersionReturn = soap_tmp_ns2__getJavaLibraryVersionResponse->getJavaLibraryVersionReturn;
617  return soap_closesock(soap);
618 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int soap_put_ns2__getJavaLibraryVersion(struct soap *soap, const struct ns2__getJavaLibraryVersion *a, const char *tag, const char *type)
Definition: soapC.cpp:7911
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
void soap_serialize_ns2__getJavaLibraryVersion(struct soap *soap, const struct ns2__getJavaLibraryVersion *a)
Definition: soapC.cpp:7906
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
void soap_default_std__string(struct soap *soap, std::string *p)
Definition: soapC.cpp:1710
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
struct ns2__getJavaLibraryVersionResponse * soap_get_ns2__getJavaLibraryVersionResponse(struct soap *soap, struct ns2__getJavaLibraryVersionResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:8062
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::getLocation ( std::string  _uri,
std::string  _resource,
std::string &  _getLocationReturn 
)
virtual

Web service operation 'getLocation' (returns error code or SOAP_OK)

Definition at line 179 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getLocationResponse::_getLocationReturn, ns2__getLocation::_resource, ns2__getLocation::_uri, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_std__string(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getLocationResponse(), SOAP_IO_LENGTH, soap_put_ns2__getLocation(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getLocation(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

180 {
181  struct soap *soap = this;
182  struct ns2__getLocation soap_tmp_ns2__getLocation;
183  struct ns2__getLocationResponse *soap_tmp_ns2__getLocationResponse;
184  const char *soap_action = NULL;
185 
186  if (!soap_endpoint)
187  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
188 
189  soap_action = "";
190  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
191  soap_tmp_ns2__getLocation._uri = _uri;
192  soap_tmp_ns2__getLocation._resource = _resource;
193  soap_begin(soap);
194  soap_serializeheader(soap);
195  soap_serialize_ns2__getLocation(soap, &soap_tmp_ns2__getLocation);
196 
197  if (soap_begin_count(soap))
198  return soap->error;
199 
200  if (soap->mode & SOAP_IO_LENGTH)
201  {
202  if (soap_envelope_begin_out(soap)
203  || soap_putheader(soap)
204  || soap_body_begin_out(soap)
205  || soap_put_ns2__getLocation(soap, &soap_tmp_ns2__getLocation, "ns2:getLocation", "")
206  || soap_body_end_out(soap)
207  || soap_envelope_end_out(soap))
208  return soap->error;
209  }
210 
211  if (soap_end_count(soap))
212  return soap->error;
213 
214  if (soap_connect(soap, soap_endpoint, soap_action)
215  || soap_envelope_begin_out(soap)
216  || soap_putheader(soap)
217  || soap_body_begin_out(soap)
218  || soap_put_ns2__getLocation(soap, &soap_tmp_ns2__getLocation, "ns2:getLocation", "")
219  || soap_body_end_out(soap)
220  || soap_envelope_end_out(soap)
221  || soap_end_send(soap))
222  return soap_closesock(soap);
223 
224  if (!&_getLocationReturn)
225  return soap_closesock(soap);
226 
228 
229  if (soap_begin_recv(soap)
230  || soap_envelope_begin_in(soap)
231  || soap_recv_header(soap)
232  || soap_body_begin_in(soap))
233  return soap_closesock(soap);
234 
235  soap_tmp_ns2__getLocationResponse = soap_get_ns2__getLocationResponse(soap, NULL, "ns2:getLocationResponse", "");
236 
237  if (soap->error)
238  {
239  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
240  return soap_recv_fault(soap);
241 
242  return soap_closesock(soap);
243  }
244 
245  if (soap_body_end_in(soap)
246  || soap_envelope_end_in(soap)
247  || soap_end_recv(soap))
248  return soap_closesock(soap);
249 
250  _getLocationReturn = soap_tmp_ns2__getLocationResponse->_getLocationReturn;
251  return soap_closesock(soap);
252 }
struct ns2__getLocationResponse * soap_get_ns2__getLocationResponse(struct soap *soap, struct ns2__getLocationResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:9521
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
std::string _getLocationReturn
Definition: soapStub.h:111
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
void soap_default_std__string(struct soap *soap, std::string *p)
Definition: soapC.cpp:1710
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_put_ns2__getLocation(struct soap *soap, const struct ns2__getLocation *a, const char *tag, const char *type)
Definition: soapC.cpp:9341
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
void soap_serialize_ns2__getLocation(struct soap *soap, const struct ns2__getLocation *a)
Definition: soapC.cpp:9332
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::getLocations ( std::string  _nickname,
std::string  _id,
struct ns2__getLocationsResponse _param_3 
)
virtual

Web service operation 'getLocations' (returns error code or SOAP_OK)

Definition at line 840 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getLocations::_id, ns2__getLocations::_nickname, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_ns2__getLocationsResponse(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getLocationsResponse(), SOAP_IO_LENGTH, soap_put_ns2__getLocations(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getLocations(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

841 {
842  struct soap *soap = this;
843  struct ns2__getLocations soap_tmp_ns2__getLocations;
844  const char *soap_action = NULL;
845 
846  if (!soap_endpoint)
847  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
848 
849  soap_action = "";
850  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
851  soap_tmp_ns2__getLocations._nickname = _nickname;
852  soap_tmp_ns2__getLocations._id = _id;
853  soap_begin(soap);
854  soap_serializeheader(soap);
855  soap_serialize_ns2__getLocations(soap, &soap_tmp_ns2__getLocations);
856 
857  if (soap_begin_count(soap))
858  return soap->error;
859 
860  if (soap->mode & SOAP_IO_LENGTH)
861  {
862  if (soap_envelope_begin_out(soap)
863  || soap_putheader(soap)
864  || soap_body_begin_out(soap)
865  || soap_put_ns2__getLocations(soap, &soap_tmp_ns2__getLocations, "ns2:getLocations", "")
866  || soap_body_end_out(soap)
867  || soap_envelope_end_out(soap))
868  return soap->error;
869  }
870 
871  if (soap_end_count(soap))
872  return soap->error;
873 
874  if (soap_connect(soap, soap_endpoint, soap_action)
875  || soap_envelope_begin_out(soap)
876  || soap_putheader(soap)
877  || soap_body_begin_out(soap)
878  || soap_put_ns2__getLocations(soap, &soap_tmp_ns2__getLocations, "ns2:getLocations", "")
879  || soap_body_end_out(soap)
880  || soap_envelope_end_out(soap)
881  || soap_end_send(soap))
882  return soap_closesock(soap);
883 
884  if (!&_param_3)
885  return soap_closesock(soap);
886 
888 
889  if (soap_begin_recv(soap)
890  || soap_envelope_begin_in(soap)
891  || soap_recv_header(soap)
892  || soap_body_begin_in(soap))
893  return soap_closesock(soap);
894 
895  soap_get_ns2__getLocationsResponse(soap, &_param_3, "ns2:getLocationsResponse", "");
896 
897  if (soap->error)
898  {
899  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
900  return soap_recv_fault(soap);
901 
902  return soap_closesock(soap);
903  }
904 
905  if (soap_body_end_in(soap)
906  || soap_envelope_end_in(soap)
907  || soap_end_recv(soap))
908  return soap_closesock(soap);
909 
910  return soap_closesock(soap);
911 }
int soap_put_ns2__getLocations(struct soap *soap, const struct ns2__getLocations *a, const char *tag, const char *type)
Definition: soapC.cpp:6733
void soap_default_ns2__getLocationsResponse(struct soap *soap, struct ns2__getLocationsResponse *a)
Definition: soapC.cpp:6879
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
std::string _id
Definition: soapStub.h:310
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
struct ns2__getLocationsResponse * soap_get_ns2__getLocationsResponse(struct soap *soap, struct ns2__getLocationsResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:6912
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
void soap_serialize_ns2__getLocations(struct soap *soap, const struct ns2__getLocations *a)
Definition: soapC.cpp:6724
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
std::string _nickname
Definition: soapStub.h:309
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::getLocations_ ( std::string  _nickname,
std::string  _id,
struct ns2__getLocationsResponse_ _param_4 
)
virtual

Web service operation 'getLocations' (returns error code or SOAP_OK)

Definition at line 913 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getLocations_::_id, ns2__getLocations_::_nickname, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_ns2__getLocationsResponse_(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getLocationsResponse_(), SOAP_IO_LENGTH, soap_put_ns2__getLocations_(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getLocations_(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

914 {
915  struct soap *soap = this;
916  struct ns2__getLocations_ soap_tmp_ns2__getLocations_;
917  const char *soap_action = NULL;
918 
919  if (!soap_endpoint)
920  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
921 
922  soap_action = "";
923  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
924  soap_tmp_ns2__getLocations_._nickname = _nickname;
925  soap_tmp_ns2__getLocations_._id = _id;
926  soap_begin(soap);
927  soap_serializeheader(soap);
928  soap_serialize_ns2__getLocations_(soap, &soap_tmp_ns2__getLocations_);
929 
930  if (soap_begin_count(soap))
931  return soap->error;
932 
933  if (soap->mode & SOAP_IO_LENGTH)
934  {
935  if (soap_envelope_begin_out(soap)
936  || soap_putheader(soap)
937  || soap_body_begin_out(soap)
938  || soap_put_ns2__getLocations_(soap, &soap_tmp_ns2__getLocations_, "ns2:getLocations", "")
939  || soap_body_end_out(soap)
940  || soap_envelope_end_out(soap))
941  return soap->error;
942  }
943 
944  if (soap_end_count(soap))
945  return soap->error;
946 
947  if (soap_connect(soap, soap_endpoint, soap_action)
948  || soap_envelope_begin_out(soap)
949  || soap_putheader(soap)
950  || soap_body_begin_out(soap)
951  || soap_put_ns2__getLocations_(soap, &soap_tmp_ns2__getLocations_, "ns2:getLocations", "")
952  || soap_body_end_out(soap)
953  || soap_envelope_end_out(soap)
954  || soap_end_send(soap))
955  return soap_closesock(soap);
956 
957  if (!&_param_4)
958  return soap_closesock(soap);
959 
961 
962  if (soap_begin_recv(soap)
963  || soap_envelope_begin_in(soap)
964  || soap_recv_header(soap)
965  || soap_body_begin_in(soap))
966  return soap_closesock(soap);
967 
968  soap_get_ns2__getLocationsResponse_(soap, &_param_4, "ns2:getLocationsResponse", "");
969 
970  if (soap->error)
971  {
972  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
973  return soap_recv_fault(soap);
974 
975  return soap_closesock(soap);
976  }
977 
978  if (soap_body_end_in(soap)
979  || soap_envelope_end_in(soap)
980  || soap_end_recv(soap))
981  return soap_closesock(soap);
982 
983  return soap_closesock(soap);
984 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
std::string _nickname
Definition: soapStub.h:330
struct ns2__getLocationsResponse_ * soap_get_ns2__getLocationsResponse_(struct soap *soap, struct ns2__getLocationsResponse_ *p, const char *tag, const char *type)
Definition: soapC.cpp:6609
std::string _id
Definition: soapStub.h:331
int error
Definition: stdsoap2.h:1755
void soap_default_ns2__getLocationsResponse_(struct soap *soap, struct ns2__getLocationsResponse_ *a)
Definition: soapC.cpp:6576
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_put_ns2__getLocations_(struct soap *soap, const struct ns2__getLocations_ *a, const char *tag, const char *type)
Definition: soapC.cpp:6430
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serialize_ns2__getLocations_(struct soap *soap, const struct ns2__getLocations_ *a)
Definition: soapC.cpp:6421
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::getMiriamURI ( std::string  _uri,
std::string &  _getMiriamURIReturn 
)
virtual

Web service operation 'getMiriamURI' (returns error code or SOAP_OK)

Definition at line 1134 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getMiriamURIResponse::_getMiriamURIReturn, ns2__getMiriamURI::_uri, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_std__string(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getMiriamURIResponse(), SOAP_IO_LENGTH, soap_put_ns2__getMiriamURI(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getMiriamURI(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

1135 {
1136  struct soap *soap = this;
1137  struct ns2__getMiriamURI soap_tmp_ns2__getMiriamURI;
1138  struct ns2__getMiriamURIResponse *soap_tmp_ns2__getMiriamURIResponse;
1139  const char *soap_action = NULL;
1140 
1141  if (!soap_endpoint)
1142  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
1143 
1144  soap_action = "";
1145  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
1146  soap_tmp_ns2__getMiriamURI._uri = _uri;
1147  soap_begin(soap);
1148  soap_serializeheader(soap);
1149  soap_serialize_ns2__getMiriamURI(soap, &soap_tmp_ns2__getMiriamURI);
1150 
1151  if (soap_begin_count(soap))
1152  return soap->error;
1153 
1154  if (soap->mode & SOAP_IO_LENGTH)
1155  {
1156  if (soap_envelope_begin_out(soap)
1157  || soap_putheader(soap)
1158  || soap_body_begin_out(soap)
1159  || soap_put_ns2__getMiriamURI(soap, &soap_tmp_ns2__getMiriamURI, "ns2:getMiriamURI", "")
1160  || soap_body_end_out(soap)
1161  || soap_envelope_end_out(soap))
1162  return soap->error;
1163  }
1164 
1165  if (soap_end_count(soap))
1166  return soap->error;
1167 
1168  if (soap_connect(soap, soap_endpoint, soap_action)
1169  || soap_envelope_begin_out(soap)
1170  || soap_putheader(soap)
1171  || soap_body_begin_out(soap)
1172  || soap_put_ns2__getMiriamURI(soap, &soap_tmp_ns2__getMiriamURI, "ns2:getMiriamURI", "")
1173  || soap_body_end_out(soap)
1174  || soap_envelope_end_out(soap)
1175  || soap_end_send(soap))
1176  return soap_closesock(soap);
1177 
1178  if (!&_getMiriamURIReturn)
1179  return soap_closesock(soap);
1180 
1182 
1183  if (soap_begin_recv(soap)
1184  || soap_envelope_begin_in(soap)
1185  || soap_recv_header(soap)
1186  || soap_body_begin_in(soap))
1187  return soap_closesock(soap);
1188 
1189  soap_tmp_ns2__getMiriamURIResponse = soap_get_ns2__getMiriamURIResponse(soap, NULL, "ns2:getMiriamURIResponse", "");
1190 
1191  if (soap->error)
1192  {
1193  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
1194  return soap_recv_fault(soap);
1195 
1196  return soap_closesock(soap);
1197  }
1198 
1199  if (soap_body_end_in(soap)
1200  || soap_envelope_end_in(soap)
1201  || soap_end_recv(soap))
1202  return soap_closesock(soap);
1203 
1204  _getMiriamURIReturn = soap_tmp_ns2__getMiriamURIResponse->_getMiriamURIReturn;
1205  return soap_closesock(soap);
1206 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int soap_put_ns2__getMiriamURI(struct soap *soap, const struct ns2__getMiriamURI *a, const char *tag, const char *type)
Definition: soapC.cpp:5539
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
void soap_default_std__string(struct soap *soap, std::string *p)
Definition: soapC.cpp:1710
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
struct ns2__getMiriamURIResponse * soap_get_ns2__getMiriamURIResponse(struct soap *soap, struct ns2__getMiriamURIResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:5708
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
std::string _getMiriamURIReturn
Definition: soapStub.h:381
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
void soap_serialize_ns2__getMiriamURI(struct soap *soap, const struct ns2__getMiriamURI *a)
Definition: soapC.cpp:5532
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::getName ( std::string  _uri,
std::string &  _getNameReturn 
)
virtual

Web service operation 'getName' (returns error code or SOAP_OK)

Definition at line 105 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getNameResponse::_getNameReturn, ns2__getName::_uri, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_std__string(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getNameResponse(), SOAP_IO_LENGTH, soap_put_ns2__getName(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getName(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

106 {
107  struct soap *soap = this;
108  struct ns2__getName soap_tmp_ns2__getName;
109  struct ns2__getNameResponse *soap_tmp_ns2__getNameResponse;
110  const char *soap_action = NULL;
111 
112  if (!soap_endpoint)
113  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
114 
115  soap_action = "";
116  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
117  soap_tmp_ns2__getName._uri = _uri;
118  soap_begin(soap);
119  soap_serializeheader(soap);
120  soap_serialize_ns2__getName(soap, &soap_tmp_ns2__getName);
121 
122  if (soap_begin_count(soap))
123  return soap->error;
124 
125  if (soap->mode & SOAP_IO_LENGTH)
126  {
127  if (soap_envelope_begin_out(soap)
128  || soap_putheader(soap)
129  || soap_body_begin_out(soap)
130  || soap_put_ns2__getName(soap, &soap_tmp_ns2__getName, "ns2:getName", "")
131  || soap_body_end_out(soap)
132  || soap_envelope_end_out(soap))
133  return soap->error;
134  }
135 
136  if (soap_end_count(soap))
137  return soap->error;
138 
139  if (soap_connect(soap, soap_endpoint, soap_action)
140  || soap_envelope_begin_out(soap)
141  || soap_putheader(soap)
142  || soap_body_begin_out(soap)
143  || soap_put_ns2__getName(soap, &soap_tmp_ns2__getName, "ns2:getName", "")
144  || soap_body_end_out(soap)
145  || soap_envelope_end_out(soap)
146  || soap_end_send(soap))
147  return soap_closesock(soap);
148 
149  if (!&_getNameReturn)
150  return soap_closesock(soap);
151 
153 
154  if (soap_begin_recv(soap)
155  || soap_envelope_begin_in(soap)
156  || soap_recv_header(soap)
157  || soap_body_begin_in(soap))
158  return soap_closesock(soap);
159 
160  soap_tmp_ns2__getNameResponse = soap_get_ns2__getNameResponse(soap, NULL, "ns2:getNameResponse", "");
161 
162  if (soap->error)
163  {
164  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
165  return soap_recv_fault(soap);
166 
167  return soap_closesock(soap);
168  }
169 
170  if (soap_body_end_in(soap)
171  || soap_envelope_end_in(soap)
172  || soap_end_recv(soap))
173  return soap_closesock(soap);
174 
175  _getNameReturn = soap_tmp_ns2__getNameResponse->_getNameReturn;
176  return soap_closesock(soap);
177 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int error
Definition: stdsoap2.h:1755
std::string _getNameReturn
Definition: soapStub.h:91
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
void soap_serialize_ns2__getName(struct soap *soap, const struct ns2__getName *a)
Definition: soapC.cpp:9641
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
void soap_default_std__string(struct soap *soap, std::string *p)
Definition: soapC.cpp:1710
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_put_ns2__getName(struct soap *soap, const struct ns2__getName *a, const char *tag, const char *type)
Definition: soapC.cpp:9648
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
struct ns2__getNameResponse * soap_get_ns2__getNameResponse(struct soap *soap, struct ns2__getNameResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:9817
int MiriamWebServicesSoapBindingProxy::getNames ( std::string  _uri,
struct ns2__getNamesResponse _param_6 
)
virtual

Web service operation 'getNames' (returns error code or SOAP_OK)

Definition at line 1576 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getNames::_uri, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_ns2__getNamesResponse(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getNamesResponse(), SOAP_IO_LENGTH, soap_put_ns2__getNames(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getNames(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

1577 {
1578  struct soap *soap = this;
1579  struct ns2__getNames soap_tmp_ns2__getNames;
1580  const char *soap_action = NULL;
1581 
1582  if (!soap_endpoint)
1583  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
1584 
1585  soap_action = "";
1586  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
1587  soap_tmp_ns2__getNames._uri = _uri;
1588  soap_begin(soap);
1589  soap_serializeheader(soap);
1590  soap_serialize_ns2__getNames(soap, &soap_tmp_ns2__getNames);
1591 
1592  if (soap_begin_count(soap))
1593  return soap->error;
1594 
1595  if (soap->mode & SOAP_IO_LENGTH)
1596  {
1597  if (soap_envelope_begin_out(soap)
1598  || soap_putheader(soap)
1599  || soap_body_begin_out(soap)
1600  || soap_put_ns2__getNames(soap, &soap_tmp_ns2__getNames, "ns2:getNames", "")
1601  || soap_body_end_out(soap)
1602  || soap_envelope_end_out(soap))
1603  return soap->error;
1604  }
1605 
1606  if (soap_end_count(soap))
1607  return soap->error;
1608 
1609  if (soap_connect(soap, soap_endpoint, soap_action)
1610  || soap_envelope_begin_out(soap)
1611  || soap_putheader(soap)
1612  || soap_body_begin_out(soap)
1613  || soap_put_ns2__getNames(soap, &soap_tmp_ns2__getNames, "ns2:getNames", "")
1614  || soap_body_end_out(soap)
1615  || soap_envelope_end_out(soap)
1616  || soap_end_send(soap))
1617  return soap_closesock(soap);
1618 
1619  if (!&_param_6)
1620  return soap_closesock(soap);
1621 
1622  soap_default_ns2__getNamesResponse(soap, &_param_6);
1623 
1624  if (soap_begin_recv(soap)
1625  || soap_envelope_begin_in(soap)
1626  || soap_recv_header(soap)
1627  || soap_body_begin_in(soap))
1628  return soap_closesock(soap);
1629 
1630  soap_get_ns2__getNamesResponse(soap, &_param_6, "ns2:getNamesResponse", "");
1631 
1632  if (soap->error)
1633  {
1634  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
1635  return soap_recv_fault(soap);
1636 
1637  return soap_closesock(soap);
1638  }
1639 
1640  if (soap_body_end_in(soap)
1641  || soap_envelope_end_in(soap)
1642  || soap_end_recv(soap))
1643  return soap_closesock(soap);
1644 
1645  return soap_closesock(soap);
1646 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
void soap_default_ns2__getNamesResponse(struct soap *soap, struct ns2__getNamesResponse *a)
Definition: soapC.cpp:3912
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
struct ns2__getNamesResponse * soap_get_ns2__getNamesResponse(struct soap *soap, struct ns2__getNamesResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:3945
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
std::string _uri
Definition: soapStub.h:511
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
void soap_serialize_ns2__getNames(struct soap *soap, const struct ns2__getNames *a)
Definition: soapC.cpp:3770
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
int soap_put_ns2__getNames(struct soap *soap, const struct ns2__getNames *a, const char *tag, const char *type)
Definition: soapC.cpp:3777
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::getOfficialDataTypeURI ( std::string  _uri,
std::string &  _getOfficialDataTypeURIReturn 
)
virtual

Web service operation 'getOfficialDataTypeURI' (returns error code or SOAP_OK)

Definition at line 1060 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getOfficialDataTypeURIResponse::_getOfficialDataTypeURIReturn, ns2__getOfficialDataTypeURI::_uri, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_std__string(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getOfficialDataTypeURIResponse(), SOAP_IO_LENGTH, soap_put_ns2__getOfficialDataTypeURI(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getOfficialDataTypeURI(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

1061 {
1062  struct soap *soap = this;
1063  struct ns2__getOfficialDataTypeURI soap_tmp_ns2__getOfficialDataTypeURI;
1064  struct ns2__getOfficialDataTypeURIResponse *soap_tmp_ns2__getOfficialDataTypeURIResponse;
1065  const char *soap_action = NULL;
1066 
1067  if (!soap_endpoint)
1068  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
1069 
1070  soap_action = "";
1071  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
1072  soap_tmp_ns2__getOfficialDataTypeURI._uri = _uri;
1073  soap_begin(soap);
1074  soap_serializeheader(soap);
1075  soap_serialize_ns2__getOfficialDataTypeURI(soap, &soap_tmp_ns2__getOfficialDataTypeURI);
1076 
1077  if (soap_begin_count(soap))
1078  return soap->error;
1079 
1080  if (soap->mode & SOAP_IO_LENGTH)
1081  {
1082  if (soap_envelope_begin_out(soap)
1083  || soap_putheader(soap)
1084  || soap_body_begin_out(soap)
1085  || soap_put_ns2__getOfficialDataTypeURI(soap, &soap_tmp_ns2__getOfficialDataTypeURI, "ns2:getOfficialDataTypeURI", "")
1086  || soap_body_end_out(soap)
1087  || soap_envelope_end_out(soap))
1088  return soap->error;
1089  }
1090 
1091  if (soap_end_count(soap))
1092  return soap->error;
1093 
1094  if (soap_connect(soap, soap_endpoint, soap_action)
1095  || soap_envelope_begin_out(soap)
1096  || soap_putheader(soap)
1097  || soap_body_begin_out(soap)
1098  || soap_put_ns2__getOfficialDataTypeURI(soap, &soap_tmp_ns2__getOfficialDataTypeURI, "ns2:getOfficialDataTypeURI", "")
1099  || soap_body_end_out(soap)
1100  || soap_envelope_end_out(soap)
1101  || soap_end_send(soap))
1102  return soap_closesock(soap);
1103 
1105  return soap_closesock(soap);
1106 
1108 
1109  if (soap_begin_recv(soap)
1110  || soap_envelope_begin_in(soap)
1111  || soap_recv_header(soap)
1112  || soap_body_begin_in(soap))
1113  return soap_closesock(soap);
1114 
1115  soap_tmp_ns2__getOfficialDataTypeURIResponse = soap_get_ns2__getOfficialDataTypeURIResponse(soap, NULL, "ns2:getOfficialDataTypeURIResponse", "");
1116 
1117  if (soap->error)
1118  {
1119  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
1120  return soap_recv_fault(soap);
1121 
1122  return soap_closesock(soap);
1123  }
1124 
1125  if (soap_body_end_in(soap)
1126  || soap_envelope_end_in(soap)
1127  || soap_end_recv(soap))
1128  return soap_closesock(soap);
1129 
1130  _getOfficialDataTypeURIReturn = soap_tmp_ns2__getOfficialDataTypeURIResponse->_getOfficialDataTypeURIReturn;
1131  return soap_closesock(soap);
1132 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
void soap_default_std__string(struct soap *soap, std::string *p)
Definition: soapC.cpp:1710
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
int soap_put_ns2__getOfficialDataTypeURI(struct soap *soap, const struct ns2__getOfficialDataTypeURI *a, const char *tag, const char *type)
Definition: soapC.cpp:5835
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
void soap_serialize_ns2__getOfficialDataTypeURI(struct soap *soap, const struct ns2__getOfficialDataTypeURI *a)
Definition: soapC.cpp:5828
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
struct ns2__getOfficialDataTypeURIResponse * soap_get_ns2__getOfficialDataTypeURIResponse(struct soap *soap, struct ns2__getOfficialDataTypeURIResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:6004
int MiriamWebServicesSoapBindingProxy::getResourceInfo ( std::string  _id,
std::string &  _getResourceInfoReturn 
)
virtual

Web service operation 'getResourceInfo' (returns error code or SOAP_OK)

Definition at line 1282 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getResourceInfoResponse::_getResourceInfoReturn, ns2__getResourceInfo::_id, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_std__string(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getResourceInfoResponse(), SOAP_IO_LENGTH, soap_put_ns2__getResourceInfo(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getResourceInfo(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

1283 {
1284  struct soap *soap = this;
1285  struct ns2__getResourceInfo soap_tmp_ns2__getResourceInfo;
1286  struct ns2__getResourceInfoResponse *soap_tmp_ns2__getResourceInfoResponse;
1287  const char *soap_action = NULL;
1288 
1289  if (!soap_endpoint)
1290  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
1291 
1292  soap_action = "";
1293  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
1294  soap_tmp_ns2__getResourceInfo._id = _id;
1295  soap_begin(soap);
1296  soap_serializeheader(soap);
1297  soap_serialize_ns2__getResourceInfo(soap, &soap_tmp_ns2__getResourceInfo);
1298 
1299  if (soap_begin_count(soap))
1300  return soap->error;
1301 
1302  if (soap->mode & SOAP_IO_LENGTH)
1303  {
1304  if (soap_envelope_begin_out(soap)
1305  || soap_putheader(soap)
1306  || soap_body_begin_out(soap)
1307  || soap_put_ns2__getResourceInfo(soap, &soap_tmp_ns2__getResourceInfo, "ns2:getResourceInfo", "")
1308  || soap_body_end_out(soap)
1309  || soap_envelope_end_out(soap))
1310  return soap->error;
1311  }
1312 
1313  if (soap_end_count(soap))
1314  return soap->error;
1315 
1316  if (soap_connect(soap, soap_endpoint, soap_action)
1317  || soap_envelope_begin_out(soap)
1318  || soap_putheader(soap)
1319  || soap_body_begin_out(soap)
1320  || soap_put_ns2__getResourceInfo(soap, &soap_tmp_ns2__getResourceInfo, "ns2:getResourceInfo", "")
1321  || soap_body_end_out(soap)
1322  || soap_envelope_end_out(soap)
1323  || soap_end_send(soap))
1324  return soap_closesock(soap);
1325 
1326  if (!&_getResourceInfoReturn)
1327  return soap_closesock(soap);
1328 
1330 
1331  if (soap_begin_recv(soap)
1332  || soap_envelope_begin_in(soap)
1333  || soap_recv_header(soap)
1334  || soap_body_begin_in(soap))
1335  return soap_closesock(soap);
1336 
1337  soap_tmp_ns2__getResourceInfoResponse = soap_get_ns2__getResourceInfoResponse(soap, NULL, "ns2:getResourceInfoResponse", "");
1338 
1339  if (soap->error)
1340  {
1341  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
1342  return soap_recv_fault(soap);
1343 
1344  return soap_closesock(soap);
1345  }
1346 
1347  if (soap_body_end_in(soap)
1348  || soap_envelope_end_in(soap)
1349  || soap_end_recv(soap))
1350  return soap_closesock(soap);
1351 
1352  _getResourceInfoReturn = soap_tmp_ns2__getResourceInfoResponse->_getResourceInfoReturn;
1353  return soap_closesock(soap);
1354 }
int soap_put_ns2__getResourceInfo(struct soap *soap, const struct ns2__getResourceInfo *a, const char *tag, const char *type)
Definition: soapC.cpp:4947
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
void soap_serialize_ns2__getResourceInfo(struct soap *soap, const struct ns2__getResourceInfo *a)
Definition: soapC.cpp:4940
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
void soap_default_std__string(struct soap *soap, std::string *p)
Definition: soapC.cpp:1710
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
std::string _getResourceInfoReturn
Definition: soapStub.h:421
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
struct ns2__getResourceInfoResponse * soap_get_ns2__getResourceInfoResponse(struct soap *soap, struct ns2__getResourceInfoResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:5116
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::getResourceInstitution ( std::string  _id,
std::string &  _getResourceInstitutionReturn 
)
virtual

Web service operation 'getResourceInstitution' (returns error code or SOAP_OK)

Definition at line 1356 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getResourceInstitutionResponse::_getResourceInstitutionReturn, ns2__getResourceInstitution::_id, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_std__string(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getResourceInstitutionResponse(), SOAP_IO_LENGTH, soap_put_ns2__getResourceInstitution(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getResourceInstitution(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

1357 {
1358  struct soap *soap = this;
1359  struct ns2__getResourceInstitution soap_tmp_ns2__getResourceInstitution;
1360  struct ns2__getResourceInstitutionResponse *soap_tmp_ns2__getResourceInstitutionResponse;
1361  const char *soap_action = NULL;
1362 
1363  if (!soap_endpoint)
1364  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
1365 
1366  soap_action = "";
1367  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
1368  soap_tmp_ns2__getResourceInstitution._id = _id;
1369  soap_begin(soap);
1370  soap_serializeheader(soap);
1371  soap_serialize_ns2__getResourceInstitution(soap, &soap_tmp_ns2__getResourceInstitution);
1372 
1373  if (soap_begin_count(soap))
1374  return soap->error;
1375 
1376  if (soap->mode & SOAP_IO_LENGTH)
1377  {
1378  if (soap_envelope_begin_out(soap)
1379  || soap_putheader(soap)
1380  || soap_body_begin_out(soap)
1381  || soap_put_ns2__getResourceInstitution(soap, &soap_tmp_ns2__getResourceInstitution, "ns2:getResourceInstitution", "")
1382  || soap_body_end_out(soap)
1383  || soap_envelope_end_out(soap))
1384  return soap->error;
1385  }
1386 
1387  if (soap_end_count(soap))
1388  return soap->error;
1389 
1390  if (soap_connect(soap, soap_endpoint, soap_action)
1391  || soap_envelope_begin_out(soap)
1392  || soap_putheader(soap)
1393  || soap_body_begin_out(soap)
1394  || soap_put_ns2__getResourceInstitution(soap, &soap_tmp_ns2__getResourceInstitution, "ns2:getResourceInstitution", "")
1395  || soap_body_end_out(soap)
1396  || soap_envelope_end_out(soap)
1397  || soap_end_send(soap))
1398  return soap_closesock(soap);
1399 
1401  return soap_closesock(soap);
1402 
1404 
1405  if (soap_begin_recv(soap)
1406  || soap_envelope_begin_in(soap)
1407  || soap_recv_header(soap)
1408  || soap_body_begin_in(soap))
1409  return soap_closesock(soap);
1410 
1411  soap_tmp_ns2__getResourceInstitutionResponse = soap_get_ns2__getResourceInstitutionResponse(soap, NULL, "ns2:getResourceInstitutionResponse", "");
1412 
1413  if (soap->error)
1414  {
1415  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
1416  return soap_recv_fault(soap);
1417 
1418  return soap_closesock(soap);
1419  }
1420 
1421  if (soap_body_end_in(soap)
1422  || soap_envelope_end_in(soap)
1423  || soap_end_recv(soap))
1424  return soap_closesock(soap);
1425 
1426  _getResourceInstitutionReturn = soap_tmp_ns2__getResourceInstitutionResponse->_getResourceInstitutionReturn;
1427  return soap_closesock(soap);
1428 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
struct ns2__getResourceInstitutionResponse * soap_get_ns2__getResourceInstitutionResponse(struct soap *soap, struct ns2__getResourceInstitutionResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:4820
int soap_put_ns2__getResourceInstitution(struct soap *soap, const struct ns2__getResourceInstitution *a, const char *tag, const char *type)
Definition: soapC.cpp:4651
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_serialize_ns2__getResourceInstitution(struct soap *soap, const struct ns2__getResourceInstitution *a)
Definition: soapC.cpp:4644
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
void soap_default_std__string(struct soap *soap, std::string *p)
Definition: soapC.cpp:1710
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::getResourceLocation ( std::string  _id,
std::string &  _getResourceLocationReturn 
)
virtual

Web service operation 'getResourceLocation' (returns error code or SOAP_OK)

Definition at line 1430 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getResourceLocationResponse::_getResourceLocationReturn, ns2__getResourceLocation::_id, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_std__string(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getResourceLocationResponse(), SOAP_IO_LENGTH, soap_put_ns2__getResourceLocation(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getResourceLocation(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

1431 {
1432  struct soap *soap = this;
1433  struct ns2__getResourceLocation soap_tmp_ns2__getResourceLocation;
1434  struct ns2__getResourceLocationResponse *soap_tmp_ns2__getResourceLocationResponse;
1435  const char *soap_action = NULL;
1436 
1437  if (!soap_endpoint)
1438  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
1439 
1440  soap_action = "";
1441  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
1442  soap_tmp_ns2__getResourceLocation._id = _id;
1443  soap_begin(soap);
1444  soap_serializeheader(soap);
1445  soap_serialize_ns2__getResourceLocation(soap, &soap_tmp_ns2__getResourceLocation);
1446 
1447  if (soap_begin_count(soap))
1448  return soap->error;
1449 
1450  if (soap->mode & SOAP_IO_LENGTH)
1451  {
1452  if (soap_envelope_begin_out(soap)
1453  || soap_putheader(soap)
1454  || soap_body_begin_out(soap)
1455  || soap_put_ns2__getResourceLocation(soap, &soap_tmp_ns2__getResourceLocation, "ns2:getResourceLocation", "")
1456  || soap_body_end_out(soap)
1457  || soap_envelope_end_out(soap))
1458  return soap->error;
1459  }
1460 
1461  if (soap_end_count(soap))
1462  return soap->error;
1463 
1464  if (soap_connect(soap, soap_endpoint, soap_action)
1465  || soap_envelope_begin_out(soap)
1466  || soap_putheader(soap)
1467  || soap_body_begin_out(soap)
1468  || soap_put_ns2__getResourceLocation(soap, &soap_tmp_ns2__getResourceLocation, "ns2:getResourceLocation", "")
1469  || soap_body_end_out(soap)
1470  || soap_envelope_end_out(soap)
1471  || soap_end_send(soap))
1472  return soap_closesock(soap);
1473 
1475  return soap_closesock(soap);
1476 
1478 
1479  if (soap_begin_recv(soap)
1480  || soap_envelope_begin_in(soap)
1481  || soap_recv_header(soap)
1482  || soap_body_begin_in(soap))
1483  return soap_closesock(soap);
1484 
1485  soap_tmp_ns2__getResourceLocationResponse = soap_get_ns2__getResourceLocationResponse(soap, NULL, "ns2:getResourceLocationResponse", "");
1486 
1487  if (soap->error)
1488  {
1489  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
1490  return soap_recv_fault(soap);
1491 
1492  return soap_closesock(soap);
1493  }
1494 
1495  if (soap_body_end_in(soap)
1496  || soap_envelope_end_in(soap)
1497  || soap_end_recv(soap))
1498  return soap_closesock(soap);
1499 
1500  _getResourceLocationReturn = soap_tmp_ns2__getResourceLocationResponse->_getResourceLocationReturn;
1501  return soap_closesock(soap);
1502 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
void soap_serialize_ns2__getResourceLocation(struct soap *soap, const struct ns2__getResourceLocation *a)
Definition: soapC.cpp:4348
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
std::string _getResourceLocationReturn
Definition: soapStub.h:461
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
struct ns2__getResourceLocationResponse * soap_get_ns2__getResourceLocationResponse(struct soap *soap, struct ns2__getResourceLocationResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:4524
void soap_default_std__string(struct soap *soap, std::string *p)
Definition: soapC.cpp:1710
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_put_ns2__getResourceLocation(struct soap *soap, const struct ns2__getResourceLocation *a, const char *tag, const char *type)
Definition: soapC.cpp:4355
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::getServicesInfo ( std::string &  getServicesInfoReturn)
virtual

Web service operation 'getServicesInfo' (returns error code or SOAP_OK)

Definition at line 401 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References soap::encodingStyle, soap::error, ns2__getServicesInfoResponse::getServicesInfoReturn, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_std__string(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getServicesInfoResponse(), SOAP_IO_LENGTH, soap_put_ns2__getServicesInfo(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getServicesInfo(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

402 {
403  struct soap *soap = this;
404  struct ns2__getServicesInfo soap_tmp_ns2__getServicesInfo;
405  struct ns2__getServicesInfoResponse *soap_tmp_ns2__getServicesInfoResponse;
406  const char *soap_action = NULL;
407 
408  if (!soap_endpoint)
409  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
410 
411  soap_action = "";
412  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
413  soap_begin(soap);
414  soap_serializeheader(soap);
415  soap_serialize_ns2__getServicesInfo(soap, &soap_tmp_ns2__getServicesInfo);
416 
417  if (soap_begin_count(soap))
418  return soap->error;
419 
420  if (soap->mode & SOAP_IO_LENGTH)
421  {
422  if (soap_envelope_begin_out(soap)
423  || soap_putheader(soap)
424  || soap_body_begin_out(soap)
425  || soap_put_ns2__getServicesInfo(soap, &soap_tmp_ns2__getServicesInfo, "ns2:getServicesInfo", "")
426  || soap_body_end_out(soap)
427  || soap_envelope_end_out(soap))
428  return soap->error;
429  }
430 
431  if (soap_end_count(soap))
432  return soap->error;
433 
434  if (soap_connect(soap, soap_endpoint, soap_action)
435  || soap_envelope_begin_out(soap)
436  || soap_putheader(soap)
437  || soap_body_begin_out(soap)
438  || soap_put_ns2__getServicesInfo(soap, &soap_tmp_ns2__getServicesInfo, "ns2:getServicesInfo", "")
439  || soap_body_end_out(soap)
440  || soap_envelope_end_out(soap)
441  || soap_end_send(soap))
442  return soap_closesock(soap);
443 
444  if (!&getServicesInfoReturn)
445  return soap_closesock(soap);
446 
448 
449  if (soap_begin_recv(soap)
450  || soap_envelope_begin_in(soap)
451  || soap_recv_header(soap)
452  || soap_body_begin_in(soap))
453  return soap_closesock(soap);
454 
455  soap_tmp_ns2__getServicesInfoResponse = soap_get_ns2__getServicesInfoResponse(soap, NULL, "ns2:getServicesInfoResponse", "");
456 
457  if (soap->error)
458  {
459  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
460  return soap_recv_fault(soap);
461 
462  return soap_closesock(soap);
463  }
464 
465  if (soap_body_end_in(soap)
466  || soap_envelope_end_in(soap)
467  || soap_end_recv(soap))
468  return soap_closesock(soap);
469 
470  getServicesInfoReturn = soap_tmp_ns2__getServicesInfoResponse->getServicesInfoReturn;
471  return soap_closesock(soap);
472 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
void soap_serialize_ns2__getServicesInfo(struct soap *soap, const struct ns2__getServicesInfo *a)
Definition: soapC.cpp:8456
std::string getServicesInfoReturn
Definition: soapStub.h:173
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
void soap_default_std__string(struct soap *soap, std::string *p)
Definition: soapC.cpp:1710
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_put_ns2__getServicesInfo(struct soap *soap, const struct ns2__getServicesInfo *a, const char *tag, const char *type)
Definition: soapC.cpp:8461
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
struct ns2__getServicesInfoResponse * soap_get_ns2__getServicesInfoResponse(struct soap *soap, struct ns2__getServicesInfoResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:8612
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::getServicesVersion ( std::string &  getServicesVersionReturn)
virtual

Web service operation 'getServicesVersion' (returns error code or SOAP_OK)

Definition at line 474 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References soap::encodingStyle, soap::error, ns2__getServicesVersionResponse::getServicesVersionReturn, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_std__string(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getServicesVersionResponse(), SOAP_IO_LENGTH, soap_put_ns2__getServicesVersion(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getServicesVersion(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

475 {
476  struct soap *soap = this;
477  struct ns2__getServicesVersion soap_tmp_ns2__getServicesVersion;
478  struct ns2__getServicesVersionResponse *soap_tmp_ns2__getServicesVersionResponse;
479  const char *soap_action = NULL;
480 
481  if (!soap_endpoint)
482  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
483 
484  soap_action = "";
485  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
486  soap_begin(soap);
487  soap_serializeheader(soap);
488  soap_serialize_ns2__getServicesVersion(soap, &soap_tmp_ns2__getServicesVersion);
489 
490  if (soap_begin_count(soap))
491  return soap->error;
492 
493  if (soap->mode & SOAP_IO_LENGTH)
494  {
495  if (soap_envelope_begin_out(soap)
496  || soap_putheader(soap)
497  || soap_body_begin_out(soap)
498  || soap_put_ns2__getServicesVersion(soap, &soap_tmp_ns2__getServicesVersion, "ns2:getServicesVersion", "")
499  || soap_body_end_out(soap)
500  || soap_envelope_end_out(soap))
501  return soap->error;
502  }
503 
504  if (soap_end_count(soap))
505  return soap->error;
506 
507  if (soap_connect(soap, soap_endpoint, soap_action)
508  || soap_envelope_begin_out(soap)
509  || soap_putheader(soap)
510  || soap_body_begin_out(soap)
511  || soap_put_ns2__getServicesVersion(soap, &soap_tmp_ns2__getServicesVersion, "ns2:getServicesVersion", "")
512  || soap_body_end_out(soap)
513  || soap_envelope_end_out(soap)
514  || soap_end_send(soap))
515  return soap_closesock(soap);
516 
518  return soap_closesock(soap);
519 
521 
522  if (soap_begin_recv(soap)
523  || soap_envelope_begin_in(soap)
524  || soap_recv_header(soap)
525  || soap_body_begin_in(soap))
526  return soap_closesock(soap);
527 
528  soap_tmp_ns2__getServicesVersionResponse = soap_get_ns2__getServicesVersionResponse(soap, NULL, "ns2:getServicesVersionResponse", "");
529 
530  if (soap->error)
531  {
532  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
533  return soap_recv_fault(soap);
534 
535  return soap_closesock(soap);
536  }
537 
538  if (soap_body_end_in(soap)
539  || soap_envelope_end_in(soap)
540  || soap_end_recv(soap))
541  return soap_closesock(soap);
542 
543  getServicesVersionReturn = soap_tmp_ns2__getServicesVersionResponse->getServicesVersionReturn;
544  return soap_closesock(soap);
545 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
std::string getServicesVersionReturn
Definition: soapStub.h:195
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
void soap_default_std__string(struct soap *soap, std::string *p)
Definition: soapC.cpp:1710
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_put_ns2__getServicesVersion(struct soap *soap, const struct ns2__getServicesVersion *a, const char *tag, const char *type)
Definition: soapC.cpp:8186
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
struct ns2__getServicesVersionResponse * soap_get_ns2__getServicesVersionResponse(struct soap *soap, struct ns2__getServicesVersionResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:8337
void soap_serialize_ns2__getServicesVersion(struct soap *soap, const struct ns2__getServicesVersion *a)
Definition: soapC.cpp:8181
int MiriamWebServicesSoapBindingProxy::getURI ( std::string  _name,
std::string  _id,
std::string &  _getURIReturn 
)
virtual

Web service operation 'getURI' (returns error code or SOAP_OK)

Definition at line 254 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__getURIResponse::_getURIReturn, ns2__getURI::_id, ns2__getURI::_name, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_std__string(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__getURIResponse(), SOAP_IO_LENGTH, soap_put_ns2__getURI(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__getURI(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

255 {
256  struct soap *soap = this;
257  struct ns2__getURI soap_tmp_ns2__getURI;
258  struct ns2__getURIResponse *soap_tmp_ns2__getURIResponse;
259  const char *soap_action = NULL;
260 
261  if (!soap_endpoint)
262  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
263 
264  soap_action = "";
265  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
266  soap_tmp_ns2__getURI._name = _name;
267  soap_tmp_ns2__getURI._id = _id;
268  soap_begin(soap);
269  soap_serializeheader(soap);
270  soap_serialize_ns2__getURI(soap, &soap_tmp_ns2__getURI);
271 
272  if (soap_begin_count(soap))
273  return soap->error;
274 
275  if (soap->mode & SOAP_IO_LENGTH)
276  {
277  if (soap_envelope_begin_out(soap)
278  || soap_putheader(soap)
279  || soap_body_begin_out(soap)
280  || soap_put_ns2__getURI(soap, &soap_tmp_ns2__getURI, "ns2:getURI", "")
281  || soap_body_end_out(soap)
282  || soap_envelope_end_out(soap))
283  return soap->error;
284  }
285 
286  if (soap_end_count(soap))
287  return soap->error;
288 
289  if (soap_connect(soap, soap_endpoint, soap_action)
290  || soap_envelope_begin_out(soap)
291  || soap_putheader(soap)
292  || soap_body_begin_out(soap)
293  || soap_put_ns2__getURI(soap, &soap_tmp_ns2__getURI, "ns2:getURI", "")
294  || soap_body_end_out(soap)
295  || soap_envelope_end_out(soap)
296  || soap_end_send(soap))
297  return soap_closesock(soap);
298 
299  if (!&_getURIReturn)
300  return soap_closesock(soap);
301 
303 
304  if (soap_begin_recv(soap)
305  || soap_envelope_begin_in(soap)
306  || soap_recv_header(soap)
307  || soap_body_begin_in(soap))
308  return soap_closesock(soap);
309 
310  soap_tmp_ns2__getURIResponse = soap_get_ns2__getURIResponse(soap, NULL, "ns2:getURIResponse", "");
311 
312  if (soap->error)
313  {
314  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
315  return soap_recv_fault(soap);
316 
317  return soap_closesock(soap);
318  }
319 
320  if (soap_body_end_in(soap)
321  || soap_envelope_end_in(soap)
322  || soap_end_recv(soap))
323  return soap_closesock(soap);
324 
325  _getURIReturn = soap_tmp_ns2__getURIResponse->_getURIReturn;
326  return soap_closesock(soap);
327 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
std::string _getURIReturn
Definition: soapStub.h:132
int error
Definition: stdsoap2.h:1755
int soap_put_ns2__getURI(struct soap *soap, const struct ns2__getURI *a, const char *tag, const char *type)
Definition: soapC.cpp:9031
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
struct ns2__getURIResponse * soap_get_ns2__getURIResponse(struct soap *soap, struct ns2__getURIResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:9211
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
void soap_default_std__string(struct soap *soap, std::string *p)
Definition: soapC.cpp:1710
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
void soap_serialize_ns2__getURI(struct soap *soap, const struct ns2__getURI *a)
Definition: soapC.cpp:9022
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
int MiriamWebServicesSoapBindingProxy::isDeprecated ( std::string  _uri,
std::string &  _isDeprecatedReturn 
)
virtual

Web service operation 'isDeprecated' (returns error code or SOAP_OK)

Definition at line 986 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References ns2__isDeprecatedResponse::_isDeprecatedReturn, ns2__isDeprecated::_uri, soap::encodingStyle, soap::error, soap::level, soap::mode, soap_begin(), soap_begin_count(), soap_begin_recv(), soap_body_begin_in(), soap_body_begin_out(), soap_body_end_in(), soap_body_end_out(), soap_closesock(), soap_connect(), soap_default_std__string(), soap_end_count(), soap_end_recv(), soap_end_send(), soap_endpoint, soap_envelope_begin_in(), soap_envelope_begin_out(), soap_envelope_end_in(), soap_envelope_end_out(), soap_get_ns2__isDeprecatedResponse(), SOAP_IO_LENGTH, soap_put_ns2__isDeprecated(), soap_putheader(), soap_recv_fault(), soap_recv_header(), soap_serialize_ns2__isDeprecated(), soap_serializeheader(), and SOAP_TAG_MISMATCH.

987 {
988  struct soap *soap = this;
989  struct ns2__isDeprecated soap_tmp_ns2__isDeprecated;
990  struct ns2__isDeprecatedResponse *soap_tmp_ns2__isDeprecatedResponse;
991  const char *soap_action = NULL;
992 
993  if (!soap_endpoint)
994  soap_endpoint = "http://www.ebi.ac.uk/miriamws/main/MiriamWebServices";
995 
996  soap_action = "";
997  soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
998  soap_tmp_ns2__isDeprecated._uri = _uri;
999  soap_begin(soap);
1000  soap_serializeheader(soap);
1001  soap_serialize_ns2__isDeprecated(soap, &soap_tmp_ns2__isDeprecated);
1002 
1003  if (soap_begin_count(soap))
1004  return soap->error;
1005 
1006  if (soap->mode & SOAP_IO_LENGTH)
1007  {
1008  if (soap_envelope_begin_out(soap)
1009  || soap_putheader(soap)
1010  || soap_body_begin_out(soap)
1011  || soap_put_ns2__isDeprecated(soap, &soap_tmp_ns2__isDeprecated, "ns2:isDeprecated", "")
1012  || soap_body_end_out(soap)
1013  || soap_envelope_end_out(soap))
1014  return soap->error;
1015  }
1016 
1017  if (soap_end_count(soap))
1018  return soap->error;
1019 
1020  if (soap_connect(soap, soap_endpoint, soap_action)
1021  || soap_envelope_begin_out(soap)
1022  || soap_putheader(soap)
1023  || soap_body_begin_out(soap)
1024  || soap_put_ns2__isDeprecated(soap, &soap_tmp_ns2__isDeprecated, "ns2:isDeprecated", "")
1025  || soap_body_end_out(soap)
1026  || soap_envelope_end_out(soap)
1027  || soap_end_send(soap))
1028  return soap_closesock(soap);
1029 
1030  if (!&_isDeprecatedReturn)
1031  return soap_closesock(soap);
1032 
1034 
1035  if (soap_begin_recv(soap)
1036  || soap_envelope_begin_in(soap)
1037  || soap_recv_header(soap)
1038  || soap_body_begin_in(soap))
1039  return soap_closesock(soap);
1040 
1041  soap_tmp_ns2__isDeprecatedResponse = soap_get_ns2__isDeprecatedResponse(soap, NULL, "ns2:isDeprecatedResponse", "");
1042 
1043  if (soap->error)
1044  {
1045  if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
1046  return soap_recv_fault(soap);
1047 
1048  return soap_closesock(soap);
1049  }
1050 
1051  if (soap_body_end_in(soap)
1052  || soap_envelope_end_in(soap)
1053  || soap_end_recv(soap))
1054  return soap_closesock(soap);
1055 
1056  _isDeprecatedReturn = soap_tmp_ns2__isDeprecatedResponse->_isDeprecatedReturn;
1057  return soap_closesock(soap);
1058 }
int soap_body_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17644
int error
Definition: stdsoap2.h:1755
int soap_begin_recv(struct soap *soap)
Definition: stdsoap2.cpp:16617
void soap_serialize_ns2__isDeprecated(struct soap *soap, const struct ns2__isDeprecated *a)
Definition: soapC.cpp:6124
soap_mode mode
Definition: stdsoap2.h:1601
int soap_end_recv(struct soap *soap)
Definition: stdsoap2.cpp:7925
int soap_envelope_begin_out(struct soap *soap)
Definition: stdsoap2.cpp:17406
int soap_putheader(struct soap *soap)
Definition: soapC.cpp:33
unsigned int level
Definition: stdsoap2.h:1704
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
int soap_connect(struct soap *soap, const char *endpoint, const char *action)
Definition: stdsoap2.cpp:17832
std::string _isDeprecatedReturn
Definition: soapStub.h:341
int soap_envelope_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17632
struct ns2__isDeprecatedResponse * soap_get_ns2__isDeprecatedResponse(struct soap *soap, struct ns2__isDeprecatedResponse *p, const char *tag, const char *type)
Definition: soapC.cpp:6300
int soap_body_end_in(struct soap *soap)
Definition: stdsoap2.cpp:17704
int soap_put_ns2__isDeprecated(struct soap *soap, const struct ns2__isDeprecated *a, const char *tag, const char *type)
Definition: soapC.cpp:6131
#define SOAP_IO_LENGTH
Definition: stdsoap2.h:1094
void soap_begin(struct soap *soap)
Definition: stdsoap2.cpp:8685
void soap_default_std__string(struct soap *soap, std::string *p)
Definition: soapC.cpp:1710
int soap_body_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17670
int soap_begin_count(struct soap *soap)
Definition: stdsoap2.cpp:6421
int soap_envelope_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17576
int soap_recv_fault(struct soap *soap)
Definition: stdsoap2.cpp:19038
#define SOAP_TAG_MISMATCH
Definition: stdsoap2.h:998
int soap_end_send(struct soap *soap)
Definition: stdsoap2.cpp:7748
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
void soap_serializeheader(struct soap *soap)
Definition: soapC.cpp:27
int soap_end_count(struct soap *soap)
Definition: stdsoap2.cpp:6503
int soap_recv_header(struct soap *soap)
Definition: stdsoap2.cpp:17719
int soap_body_begin_in(struct soap *soap)
Definition: stdsoap2.cpp:17685
int soap_envelope_end_out(struct soap *soap)
Definition: stdsoap2.cpp:17456
const char * encodingStyle
Definition: stdsoap2.h:1609
void MiriamWebServicesSoapBindingProxy::MiriamWebServicesSoapBindingProxy_init ( soap_mode  imode,
soap_mode  omode 
)
virtual

Initializer used by constructor.

Definition at line 41 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References soap::namespaces, soap_endpoint, soap_imode, and soap_omode.

Referenced by MiriamWebServicesSoapBindingProxy().

42 {
43  soap_imode(this, imode);
44  soap_omode(this, omode);
45  soap_endpoint = NULL;
46  static const struct Namespace namespaces[] =
47  {
48  {"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
49  {"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
50  {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
51  {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
52  {"ns2", "http://ws.miriam.ebi.ac.uk", NULL, NULL},
53  {NULL, NULL, NULL, NULL}
54  };
55 
56  if (!this->namespaces)
57  this->namespaces = namespaces;
58 }
#define soap_imode(soap, n)
Definition: stdsoap2.h:1902
soap_mode imode
Definition: stdsoap2.h:1602
const struct Namespace * namespaces
Definition: stdsoap2.h:1621
const char * soap_endpoint
Endpoint URL of service 'MiriamWebServicesSoapBindingProxy' (change as needed)
soap_mode omode
Definition: stdsoap2.h:1603
#define soap_omode(soap, n)
Definition: stdsoap2.h:1905
int MiriamWebServicesSoapBindingProxy::soap_close_socket ( )
virtual

Force close connection (normally automatic, except for send_X ops)

Definition at line 83 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References soap_closesock().

84 {
85  return soap_closesock(this);
86 }
int soap_closesock(struct soap *soap)
Definition: stdsoap2.cpp:6121
const SOAP_ENV__Fault * MiriamWebServicesSoapBindingProxy::soap_fault ( )
virtual

Get SOAP Fault structure (NULL when absent)

Definition at line 68 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References soap::fault.

69 {
70  return this->fault;
71 }
struct SOAP_ENV__Fault * fault
Definition: stdsoap2.h:1632
const char * MiriamWebServicesSoapBindingProxy::soap_fault_detail ( )
virtual

Get SOAP Fault detail as string (NULL when absent)

Definition at line 78 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References soap_faultdetail().

Referenced by CMIRIAMResources::updateMIRIAMResources().

79 {
80  return *soap_faultdetail(this);
81 }
const char ** soap_faultdetail(struct soap *soap)
Definition: soapC.cpp:149
const char * MiriamWebServicesSoapBindingProxy::soap_fault_string ( )
virtual

Get SOAP Fault string (NULL when absent)

Definition at line 73 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References soap_faultstring().

Referenced by CMIRIAMResources::updateMIRIAMResources().

74 {
75  return *soap_faultstring(this);
76 }
const char ** soap_faultstring(struct soap *soap)
Definition: soapC.cpp:139
void MiriamWebServicesSoapBindingProxy::soap_noheader ( )
virtual

Disables and removes SOAP Header from message.

Definition at line 63 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References soap::header.

64 {
65  header = NULL;
66 }
struct SOAP_ENV__Header * header
Definition: stdsoap2.h:1631
void MiriamWebServicesSoapBindingProxy::soap_print_fault ( FILE *  fd)
virtual

Print fault.

Definition at line 88 of file soapMiriamWebServicesSoapBindingProxy.cpp.

89 {
90  ::soap_print_fault(this, fd);
91 }
char * MiriamWebServicesSoapBindingProxy::soap_sprint_fault ( char *  buf,
size_t  len 
)
virtual

Put fault into buffer.

Definition at line 99 of file soapMiriamWebServicesSoapBindingProxy.cpp.

References soap_sprint_fault().

100 {
101  return ::soap_sprint_fault(this, buf, len);
102 }
char * soap_sprint_fault(struct soap *soap, char *buf, size_t len)
Definition: stdsoap2.cpp:19366
char buf[(65536)]
Definition: stdsoap2.h:1710
void MiriamWebServicesSoapBindingProxy::soap_stream_fault ( std::ostream &  os)
virtual

Print fault to stream.

Definition at line 94 of file soapMiriamWebServicesSoapBindingProxy.cpp.

95 {
96  ::soap_stream_fault(this, os);
97 }
virtual void soap_stream_fault(std::ostream &)
Print fault to stream.
void * os
Definition: stdsoap2.h:1689

Member Data Documentation

const char* MiriamWebServicesSoapBindingProxy::soap_endpoint

The documentation for this class was generated from the following files: