SoapException status code 1025

If you are having a problem using Vault, post a message here.
Post Reply
rodneywoodruff
Posts: 2
Joined: Mon Mar 05, 2012 12:20 pm

SoapException status code 1025

Post by rodneywoodruff » Mon Mar 05, 2012 12:29 pm

Hello,

I am trying to use the ServerOperations.Login() method but get the following stacktrace. Can you tell me what status code 1025 is?

Client Version: 2.0.2.18753 -- yes it is very old :)

Thanks for your help.

Unhandled Exception: System.Exception: The server returned an unknown status code (1025). ---> System.Web.Services.Protocols.SoapException: 1025 : FailVaultClientCantConnectToFortress
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at VaultClientNetLib.ClientService.VaultService.ValidateServiceVersions(Int32[] clientSupportedVersions)
at VaultClientNetLib.VaultConnection.Login(String strURLBase, String strUserLogin, String strPassword)
at VaultClientOperationsLib.ClientInstance.Login(String urlbase, String username, String password)
at VaultClientIntegrationLib.ServerOperations.Login(AccessLevelType altCommand, Boolean bAllowAuto, Boolean bSaveSession)
--- End of inner exception stack trace ---
at VaultClientIntegrationLib.ServerOperations.Login(AccessLevelType altCommand, Boolean bAllowAuto, Boolean bSaveSession)
at VaultClientIntegrationLib.ServerOperations.Login()

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: SoapException status code 1025

Post by lbauer » Mon Mar 05, 2012 1:56 pm

FailVaultClientCantConnectToFortress
It looks like you're trying to use a Vault Client API to connect to Fortress (VaultPro).
Linda Bauer
SourceGear
Technical Support Manager

rodneywoodruff
Posts: 2
Joined: Mon Mar 05, 2012 12:20 pm

Re: SoapException status code 1025

Post by rodneywoodruff » Mon Mar 05, 2012 4:00 pm

Thank you. You are absolutely correct. Would you be able to point me in the right direction for determining how I can connect to Fortress programmatically? I don't need explicit examples; just maybe the dll and classes at which I should look.

Best,

-- Rodney

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: SoapException status code 1025

Post by lbauer » Tue Mar 06, 2012 1:47 pm

We have API examples here:

http://support.sourcegear.com/viewtopic.php?f=31&t=8020

Also, the Development Tips forum may be helpful:
http://support.sourcegear.com/viewforum.php?f=39

If you're using Fortress 2.x, then you can use this Client API:

http://download-us.sourcegear.com/Fortr ... _18753.zip

This download contains the code for the Command Line Client, which you can use for reference.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply