Sreedhar Balerao
Sreedhar Balerao

Reputation: 11

Azure ServiceFabric Stateful Service, not accessible after configuration in portal

http://domain.eastus2.cloudapp.azure.com:19080/MyCalculatorApplication/AgeCalculatorService/api/values throws exception as {"Error":{"Code":"E_INVALIDARG","Message":"Invalid argument"}}

Upvotes: 0

Views: 505

Answers (2)

Yoni
Yoni

Reputation: 11

When you are trying to use the naming service of service fabric, first you should resolve the endpoint using this url:

http://domain.eastus2.cloudapp.azure.com:19080/Services/MyCalculatorApplication/AgeCalculatorService/$/ResolvePartition?api-version=3.0&PartitionKeyType=1&timeout=60

Then you can use one of the endpoints

Upvotes: 1

d1mitar
d1mitar

Reputation: 226

I'm not sure that this is the correct endpoint. Your url should be something like this: http://domain.eastus2.cloudapp.azure.com:SERVICEPORT/api/values

Upvotes: 0

Related Questions