Page 1 of 1

RESTService Name property already exists

Posted: Thu May 31, 2012 9:58 pm
by Claudio

Hi,
I think I have found a bug.
I placed a RESTService in my project and in the Properties Pane on the right I wrote its name.
Now, If I go on the Project view on the left, under the "Services" voice I see "RESTService" instead of the service's name.
So I clicked on "Edit Service" link in the Properties Pane on the right and the "Rest Service Properties" window appears.
Again the Name property is set to "RESTService" instead of the name I wrote in the other form (the Properties Pane on the right of the design window).
If I change the name and write the right one, the editor says me that a service with that name already exists, but is always the same service.


RESTService Name property already exists

Posted: Thu May 31, 2012 10:25 pm
by maxkatz

There is a difference between service and service instance. Service is what you see under Project/Services. Service instance is what you have on the actual page. The names need to be different.


RESTService Name property already exists

Posted: Thu May 31, 2012 10:42 pm
by Claudio

Ok, thanks!
Maybe it would be better to change the property label name to avoid confusion.


RESTService Name property already exists

Posted: Fri Jun 01, 2012 3:16 am
by maxkatz

Can you post a screen shot where you would like to see the label changed?


RESTService Name property already exists

Posted: Fri Jun 01, 2012 9:05 am
by Claudio

Sure!
:)
Here are two screenshots.
It seems that in the two screens the meaning of the "Name" properties is the same,
But If I understood they are differents

Image

Image


RESTService Name property already exists

Posted: Fri Jun 01, 2012 10:22 am
by Maryna Brodina

Hello, Claudio! Yes, they are different.


RESTService Name property already exists

Posted: Fri Jun 01, 2012 4:41 pm
by maxkatz

Would it help if we changed Name to Instance Name in the first screen shot?