Hello to all!
I'm trying to connect to Vault Server through SOAP.
Could you tell me what are the params such as:
- strEncryptedPassword
- strRMKey
and how can I get it? How should I encrypt the password? Through md5 using the public key or how?
Thank you!
Specified params for Login funciton
Moderator: SourceGear
-
- Posts: 6
- Joined: Thu Jan 22, 2009 3:31 am
Re: Specified params for Login funciton
I would encourage you not to go through SOAP, but to use our integration libraries instead. You can see examples of using the integration library at: http://support.sourcegear.com/viewforum.php?f=31
What are you trying to do?
What are you trying to do?
Subscribe to the Fortress/Vault blog
-
- Posts: 6
- Joined: Thu Jan 22, 2009 3:31 am
Re: Specified params for Login funciton
I'm trying to use SOAP cause I'm working with Delphi and don't know how to use your integration library with Delphi code. Maybe you have some thoughts? If no, then please hint me about these params. Thank you.jeremy_sg wrote:I would encourage you not to go through SOAP, but to use our integration libraries instead. You can see examples of using the integration library at: http://support.sourcegear.com/viewforum.php?f=31
What are you trying to do?
Re: Specified params for Login funciton
I'm not quite sure how you would do it, but this might be a good place to start:
http://stackoverflow.com/questions/2588 ... hi-program
As for the login parameters, the usual question after "how do I login directly to the web service?" is "how do I actually do stuff?"
I know that the answer to the second one is much more complicated, which is why I'm reluctant to give the answer to the first one.
What operations are you specifically needing to do? Can you just call the command line client?
http://stackoverflow.com/questions/2588 ... hi-program
As for the login parameters, the usual question after "how do I login directly to the web service?" is "how do I actually do stuff?"
I know that the answer to the second one is much more complicated, which is why I'm reluctant to give the answer to the first one.
What operations are you specifically needing to do? Can you just call the command line client?
Subscribe to the Fortress/Vault blog
-
- Posts: 6
- Joined: Thu Jan 22, 2009 3:31 am
Re: Specified params for Login funciton
Ok, I have a good questions to you.jeremy_sg wrote:I'm not quite sure how you would do it, but this might be a good place to start:
http://stackoverflow.com/questions/2588 ... hi-program
As for the login parameters, the usual question after "how do I login directly to the web service?" is "how do I actually do stuff?"
I know that the answer to the second one is much more complicated, which is why I'm reluctant to give the answer to the first one.
What operations are you specifically needing to do? Can you just call the command line client?
Do you have a Win32-version of your integration library? Cause .NET version isn't satisfy our basic requirements (using Vault in Delphi7).
Regarding my current work with SOAP. I used your WSDL(.../VaultService/VaultService.asmx?WSDL) and generated SOAP API. Here is the example of the class:
Code: Select all
Login = class(TRemotable)
private
FstrHostname: WideString;
FstrHostname_Specified: boolean;
FbUseFullFiles: Boolean;
Fusername: WideString;
Fusername_Specified: boolean;
FstrEncryptedPassword: WideString;
FstrEncryptedPassword_Specified: boolean;
FstrRMKey: WideString;
FstrRMKey_Specified: boolean;
FstrAuthToken: WideString;
FstrAuthToken_Specified: boolean;
procedure SetstrHostname(Index: Integer; const AWideString: WideString);
function strHostname_Specified(Index: Integer): boolean;
procedure Setusername(Index: Integer; const AWideString: WideString);
function username_Specified(Index: Integer): boolean;
procedure SetstrEncryptedPassword(Index: Integer; const AWideString: WideString);
function strEncryptedPassword_Specified(Index: Integer): boolean;
procedure SetstrRMKey(Index: Integer; const AWideString: WideString);
function strRMKey_Specified(Index: Integer): boolean;
procedure SetstrAuthToken(Index: Integer; const AWideString: WideString);
function strAuthToken_Specified(Index: Integer): boolean;
public
constructor Create; override;
published
property strHostname: WideString Index (IS_OPTN) read FstrHostname write SetstrHostname stored strHostname_Specified;
property bUseFullFiles: Boolean read FbUseFullFiles write FbUseFullFiles;
property username: WideString Index (IS_OPTN) read Fusername write Setusername stored username_Specified;
property strEncryptedPassword: WideString Index (IS_OPTN) read FstrEncryptedPassword write SetstrEncryptedPassword stored strEncryptedPassword_Specified;
property strRMKey: WideString Index (IS_OPTN) read FstrRMKey write SetstrRMKey stored strRMKey_Specified;
property strAuthToken: WideString Index (IS_OPTN) read FstrAuthToken write SetstrAuthToken stored strAuthToken_Specified;
end;
Re: Specified params for Login funciton
No, we're .Net only.Do you have a Win32-version of your integration library?
Most of the pain in the CLC comes from having to log in an out for every command. Perhaps you could write a long-running process that stays logged in, and communicate with it using COM.
Subscribe to the Fortress/Vault blog