Jarrod Everett
Jarrod Everett

Reputation: 801

How to tell where a Service Reference was generated from?

My Visual Studio 2010 project has a Service Reference defined. I can right click it to update the reference... but I have no idea what URL the reference was defined on, nor can I find a place to find this info to know how it is going to update.

Upvotes: 3

Views: 820

Answers (4)

Parag Meshram
Parag Meshram

Reputation: 8521

From Visual Studio follow these steps -

  1. Right click Service and on context menu select Configure Service Reference
  2. Service Reference Popup will show up.
  3. Client > Address field will have URL to service reference.

enter image description here

Upvotes: 0

Jagmag
Jagmag

Reputation: 10356

Within the Service References\yourServiceName folder, there is a file called Reference.svcmap. If you open this with a text editor, its an XML file and the following XML node should give you that information

<MetadataSources>
    <MetadataSource Address="http://something/something" 
                                 Protocol="http" SourceId="1" />
</MetadataSources>

Upvotes: 2

Adam Robinson
Adam Robinson

Reputation: 185643

When you right-click the service reference, there should be a "Configure Service Reference" option. Selecting this will show you the URL.

Upvotes: 2

awright18
awright18

Reputation: 2333

Its in the Settings file under properties folder in your project. Update service reference doesn't always work sometimes you just need to recreate the reference.

Upvotes: 0

Related Questions