Skip to content

Commit

Permalink
Added soapEndPoint methods to session. Refs #8581.
Browse files Browse the repository at this point in the history
- Removed a "zero width space" from soapendpoint in `Facilities.xml`.
  • Loading branch information
jawrainey committed Dec 10, 2013
1 parent 5551c1b commit 1d0dfef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Code/Mantid/Framework/ICat/inc/MantidICat/Session.h
Expand Up @@ -45,6 +45,10 @@ namespace Mantid
const std::string & getUserName() const { return m_userName; }
///set username
void setUserName(const std::string& userName) { m_userName=userName; }
/// Get the soap end-point.
const std::string & getSoapEndPoint() const { return m_soapEndPoint; }
/// Set the soap end-point.
void setSoapEndPoint(const std::string& soapEndPoint) { m_soapEndPoint = soapEndPoint; }

private:
/// used to create singleton
Expand All @@ -61,6 +65,8 @@ namespace Mantid
std::string m_sessionId;
/// user name
std::string m_userName;
/// Cache soap end-point
std::string m_soapEndPoint;
};

#ifdef _WIN32
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/instrument/Facilities.xml
Expand Up @@ -7,7 +7,7 @@
</archive>

<catalog name="ICat4Catalog">
<soapendpoint url="https://icatisis.esc.rl.ac.uk/ICATService/ICAT"></soapendpoint>
<soapendpoint url="https://icatisis.esc.rl.ac.uk/ICATService/ICAT"></soapendpoint>
<externaldownload url="https://isisicatds.stfc.ac.uk/idsbeta/"></externaldownload>
<filelocation>
<prefix regex="\\\\isis\\inst\$\\Instruments\$"></prefix>
Expand Down

0 comments on commit 1d0dfef

Please sign in to comment.