webconfig not auto populating on consuming WCF [closed] - wcf

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 4 years ago.
Improve this question
I'm sorry if it's basic question, but I'm newbie and my company assigned me task to consume WCF service form one of our client. The client have provided me with their hosted WCF service URL. Everything was wonderful, Microsoft have done wonderful job of keeping things simple, i was confident that i can achieve it. But when i try to add service reference in my project, my web config file is not populated, and I'm not able to get endpoint binding and other information which I believe supposed to be populated automatically.
The screenshot of my referenced WEBServcie-----
This is how im calling service in code-------
my complete webconfig,u can see it's not auto populated by end points/binding information
-------and Finaly the exception I get

if you have multiple solutions in you project and if you are adding the service reference in other than your start up project. Please check that particular project App.config file.
If you already verified in that way, even though it is not adding means it might be issue with service creation.

Thanks all for help, apparently I was missing complete information from the client, make sure you get all the headers you need to add in httprequest. THe client forgot to provide me with applicationid which one suppose to add in request header.

Related

Trying to hide API Key using another JS file, but it prevents API from working properly [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 months ago.
Improve this question
when I had API key info on the main script, fetching API data was working properly. But when I try to hide API key using config.js file. It stops working. Does anyone know what is the problem? (*red highlighted boxes on the images are only difference after hiding API key)
The most appropriate approach is using the .env file or environment variable to hide your API key.
For more details -
How to use .env file

Create Azure Data factory Linked service to SQL Managed Instance [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 months ago.
Improve this question
I want to store data in a SQL managed instance database using azure data factory
in this case, I have to create a linked service to this database
but I get an error and I don't know how to go through
enter image description here
Based on the error message it seems that you are leveraging Private end point
So you need to leverage Fully qualified domain name as the public endpoint shown in networking page and not the host name

Initializing the APIs Explorer [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I am an IT also G suite Administrator.
When I use API explorer : https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/update
I got this error :
Error initializing the APIs Explorer
Cannot find specified method in converted discovery doc.
I check this page : https://developers.google.com/discovery/v1/reference/apis
But I still don't understand.
This seems to be a bug:
Try this API functionality is currently not working for some of the methods of Admin SDK, including the ones from Directory API and Reports API.
Instead of displaying the usual Try this API sidebar:
The message you mentioned is getting displayed:
Because of this, you cannot currently try these methods in the reference docs.
Issue Tracker:
This problem has already been reported before in Issue Tracker, and it has been forwarded internally by Google:
Error initializing the APIs Explorer
Anyone affected by this, please consider clicking the star on the top-left of the referenced issue in order to receive updates and to help prioritizing this.

Documentation on how to use REST WebAPI like a boss [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I've exposed a few methods and, while crystal clear on how they're supposed to be used, I'm sure that with time, the memory will fade and I'll be standing there like an idiot wonder why on Earth I haven't provided any help.
When we use WCF, there's the WSDL file. But I'm not aware of any corresponding functionality for WebAPI. Usually I add a Ping so that I can type in the URL window of my browser .../Service.svc/Ping, just to see that I a date back.
What would be an intuitive and (hopefully fairly) canonical approach? I'm thinking .../Help. Is there a better way?
Just pushing out help will only produce a huge string (XML or JSON formatted), which isn't very like-a-boss'y. Anonymous types can't be well handled without serialization. pushing out object typed entity breaks the connection.
I wish to have a built-in documentation on how to use the calls. The names themselves, of course, but also what values are treated (I had a case where the .../Donkey?scope={scope} pattern could be null or all and we though it was any, which took a while to figure out.)
You might checkout Swashbuckle which would allow you to generate Swagger documentation for your ASP.NET Web API controllers.
Anonymous types can't be well handled without serialization. pushing
out object typed entity breaks the connection
Are you really exposing anything like the above mentioned in your Web API contracts. I hope you don't.

FIWARE Lab Store widget list errors and publishing [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 4 years ago.
Improve this question
lately the FIWARE Lab store doesn't seem to work for me. The first page with Top Rated and Latest offerings loads ok, but after clicking on widgets/mashups tab, it produces an error window:
get() returned more than one Purchase -- it returned 2! Lookup parameters
were {'customer': <django.utils.functional.SimpleLazyObject object at
0x7fd9e41a3750>, 'organization_owned': False, 'offering': <Offering: EntityService>}
Also, when trying to publish a widget, after choosing to upload to the FIWARE Lab Store, the POST request to https://mashup.lab.fiware.org/api/markets/publish fails with code 502 and the following response:
{"description": "Something went wrong (see details for more info)",
"details": {"FIWARE Lab": "Unexpected response from Store"}}
I know that some software components have been updated lately so I understand that this might be a transitional bug. Thanks for your help if you can fix it.
As you pointed, that was a temporal problem. You should be able to use the Store portal again.
Anyway, StackOverflow is for asking questions related to programming (visit the help center for more info), so it's better to use the contact info published on the FIWARE catalogue or the fiware-lab-help#lists.fiware.org for this kind of questions/support.