For a deeper look into our DataScope Select SOAP API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 0 2

Why am I getting a SecurityFaultException

Hi,

i try the sample in the "Quick Start" of the SOAP api DSS, "GetVersion" méthode work but when I try another one like "ValidateInstruments" I got the FaultException with "A security erro has occured." message.

code below:

var identifier = new InstrumentIdentifier

{

IdentifierValue = "TRI.N", IdentifierType = "RIC"

};

var validateInstrumentsRequest = new ValidateInstrumentsRequest

{

CredentialsHeader = _credentials,

request = new InstrumentValidationRequest

{

Identifiers = new[] { identifier }

}

};

var validateInstrumentsResponse = client.ValidateInstruments(validateInstrumentsRequest); _credentials = validateInstrumentsResponse.CredentialsHeader;

any ideas ?

Laurent.

dss-rest-apidatascope-selectdssapierrorc#soap-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
11.3k 25 8 13

Hi,

I think it is the user authentication issue. The GetVersion method works, because it does not require authentication. Please verify if the DSS username and password is configured correctly in the application and can be used to login to the DSS Web GUI.

Please note that DSS SOAP API is in maintenance mode. Even though SOAP API version will be supported in the future, DSS REST API is considered the strategic delivery mechanism and the new content/capabilities like C&E and Tick are built solely on REST only. If this is new code, it should really be built to use the REST API. For more information about DSS REST API, please see this tutorial

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea