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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 2 5

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 512.0 KiB each and 1.0 MiB total.

@laurent.vaillant

Hi,

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Hello again!

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
AHS

1 Answer

· Write an Answer
Upvotes
Accepted
11.3k 25 9 14

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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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