Skip to content

Commit

Permalink
Added gSoap generated code for endpoint. Refs #8538.
Browse files Browse the repository at this point in the history
  • Loading branch information
jawrainey committed Apr 7, 2014
1 parent bb5a48f commit b0e3af7
Show file tree
Hide file tree
Showing 7 changed files with 6,013 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Code/Mantid/Framework/ICat/CMakeLists.txt
Expand Up @@ -13,6 +13,7 @@ set ( SRC_FILES
src/CatalogSearch.cpp
src/CatalogSearchParam.cpp
src/GSoap.cpp
src/ICatDOI/ICatDOIGSoapGenerated.cpp
src/ICat3/ICat3GSoapGenerated.cpp
src/ICat3/ICat3ErrorHandling.cpp
src/ICat3/ICat3Catalog.cpp
Expand Down Expand Up @@ -41,6 +42,9 @@ set ( INC_FILES
inc/MantidICat/GSoap/soapserializersH.h
inc/MantidICat/GSoap/soapserializersStub.h
inc/MantidICat/GSoap/stdsoap2.h
inc/MantidICat/ICatDOI/GSoapGenerated/ICatDOIH.h
inc/MantidICat/ICatDOI/GSoapGenerated/ICatDOIDOIPortBindingProxy.h
inc/MantidICat/ICatDOI/GSoapGenerated/ICatDOIStub.h
inc/MantidICat/ICat3/GSoapGenerated/ICat3H.h
inc/MantidICat/ICat3/GSoapGenerated/ICat3ICATPortBindingProxy.h
inc/MantidICat/ICat3/GSoapGenerated/ICat3Stub.h
Expand Down
@@ -0,0 +1,82 @@
/* ICatDOIDOIPortBindingProxy.h
Generated by gSOAP 2.8.15 from ICatDOI.h
Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
The generated code is released under ONE of the following licenses:
GPL or Genivia's license for commercial use.
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
*/

#ifndef ICatDOIDOIPortBindingProxy_H
#define ICatDOIDOIPortBindingProxy_H
#include "ICatDOIH.h"

namespace ICatDOI {

class SOAP_CMAC DOIPortBindingProxy : public soap
{ public:
/// Endpoint URL of service 'DOIPortBindingProxy' (change as needed)
const char *soap_endpoint;
/// Constructor
DOIPortBindingProxy();
/// Construct from another engine state
DOIPortBindingProxy(const struct soap&);
/// Constructor with endpoint URL
DOIPortBindingProxy(const char *url);
/// Constructor with engine input+output mode control
DOIPortBindingProxy(soap_mode iomode);
/// Constructor with URL and input+output mode control
DOIPortBindingProxy(const char *url, soap_mode iomode);
/// Constructor with engine input and output mode control
DOIPortBindingProxy(soap_mode imode, soap_mode omode);
/// Destructor frees deserialized data
virtual ~DOIPortBindingProxy();
/// Initializer used by constructors
virtual void DOIPortBindingProxy_init(soap_mode imode, soap_mode omode);
/// Delete all deserialized data (with soap_destroy and soap_end)
virtual void destroy();
/// Delete all deserialized data and reset to default
virtual void reset();
/// Disables and removes SOAP Header from message
virtual void soap_noheader();
/// Get SOAP Header structure (NULL when absent)
virtual const SOAP_ENV__Header *soap_header();
/// Get SOAP Fault structure (NULL when absent)
virtual const SOAP_ENV__Fault *soap_fault();
/// Get SOAP Fault string (NULL when absent)
virtual const char *soap_fault_string();
/// Get SOAP Fault detail as string (NULL when absent)
virtual const char *soap_fault_detail();
/// Close connection (normally automatic, except for send_X ops)
virtual int soap_close_socket();
/// Force close connection (can kill a thread blocked on IO)
virtual int soap_force_close_socket();
/// Print fault
virtual void soap_print_fault(FILE*);
#ifndef WITH_LEAN
/// Print fault to stream
#ifndef WITH_COMPAT
virtual void soap_stream_fault(std::ostream&);
#endif

/// Put fault into buffer
virtual char *soap_sprint_fault(char *buf, size_t len);
#endif

/// Web service operation 'registerInvestigationDOI' (returns error code or SOAP_OK)
virtual int registerInvestigationDOI(ns1__registerInvestigationDOI *ns1__registerInvestigationDOI_, ns1__registerInvestigationDOIResponse *ns1__registerInvestigationDOIResponse_) { return this->registerInvestigationDOI(NULL, NULL, ns1__registerInvestigationDOI_, ns1__registerInvestigationDOIResponse_); }
virtual int registerInvestigationDOI(const char *endpoint, const char *soap_action, ns1__registerInvestigationDOI *ns1__registerInvestigationDOI_, ns1__registerInvestigationDOIResponse *ns1__registerInvestigationDOIResponse_);

/// Web service operation 'registerDatafileDOI' (returns error code or SOAP_OK)
virtual int registerDatafileDOI(ns1__registerDatafileDOI *ns1__registerDatafileDOI_, ns1__registerDatafileDOIResponse *ns1__registerDatafileDOIResponse_) { return this->registerDatafileDOI(NULL, NULL, ns1__registerDatafileDOI_, ns1__registerDatafileDOIResponse_); }
virtual int registerDatafileDOI(const char *endpoint, const char *soap_action, ns1__registerDatafileDOI *ns1__registerDatafileDOI_, ns1__registerDatafileDOIResponse *ns1__registerDatafileDOIResponse_);

/// Web service operation 'registerDatasetDOI' (returns error code or SOAP_OK)
virtual int registerDatasetDOI(ns1__registerDatasetDOI *ns1__registerDatasetDOI_, ns1__registerDatasetDOIResponse *ns1__registerDatasetDOIResponse_) { return this->registerDatasetDOI(NULL, NULL, ns1__registerDatasetDOI_, ns1__registerDatasetDOIResponse_); }
virtual int registerDatasetDOI(const char *endpoint, const char *soap_action, ns1__registerDatasetDOI *ns1__registerDatasetDOI_, ns1__registerDatasetDOIResponse *ns1__registerDatasetDOIResponse_);
};

} // namespace ICatDOI

#endif

0 comments on commit b0e3af7

Please sign in to comment.