locked
Can we change the Service URLs? RRS feed

  • Question

  • Hi Experts,

    I would like to know if we can change the service URLs. Please see below screenshot for the reference.

    Thank you in Advance.

    Thursday, December 6, 2012 6:31 AM

Answers

  • Hi Pavlos,

    I found the solution here. I have made some changes in Web.Config file.

    <system.serviceModel>
        <serviceHostingEnvironment aspNetCompatibilityEnabled="true">
          <baseAddressPrefixFilters>
            <add prefix="http://ftssqa.ftindia/fasttrack/" />
          </baseAddressPrefixFilters>
        </serviceHostingEnvironment>
      </system.serviceModel>

    But the problem is, only one prefix is working at a time.

    Currently, i have setup prefix "http://ftssqa.ftindia/fasttrack/" which is working and "http://ftssqa/fasttrack/" is not working and vice a versa.

    Any suggestions?

    Thursday, December 6, 2012 9:59 AM

All replies

  • Hi,

    I would recommend taking a look at this.

    Greetings,

    Pavlos


    Please mark this reply as an answer and vote it as helpful if it helps you find a resolution to your problem.
    View my latest gallery contribution here.
    Visit my blog here.

    Thursday, December 6, 2012 6:53 AM
  • Hi Pavlos,

    Thank you for the prompt response, We have done the same.

    Please see the URL information we had first.

    URL: http://ftssqa/FastTrack

    Service URL: http://ftssqa/FastTrack/XRMServices/2011/Organization.svc

    Now we have added one more domain,

    URL: http://ftssqa.ftindia/FastTrack (additionally added ".ftindia")

    Now, we can browse the CRM using both URLs, but not service. The service is accessible only from one URL.

    The overall scenario is:

    URL: http://ftssqa/FastTrack  (Working)

    URL: http://ftssqa.ftindia/FastTrack  (Working)

    Service URL: http://ftssqa/FastTrack/XRMServices/2011/Organization.svc (Working)

    Service URL: http://ftssqa.ftindia/FastTrack/XRMServices/2011/Organization.svc (Not Working)

    Any Idea?



    Thursday, December 6, 2012 7:28 AM
  • Hi Pavlos,

    I found the solution here. I have made some changes in Web.Config file.

    <system.serviceModel>
        <serviceHostingEnvironment aspNetCompatibilityEnabled="true">
          <baseAddressPrefixFilters>
            <add prefix="http://ftssqa.ftindia/fasttrack/" />
          </baseAddressPrefixFilters>
        </serviceHostingEnvironment>
      </system.serviceModel>

    But the problem is, only one prefix is working at a time.

    Currently, i have setup prefix "http://ftssqa.ftindia/fasttrack/" which is working and "http://ftssqa/fasttrack/" is not working and vice a versa.

    Any suggestions?

    Thursday, December 6, 2012 9:59 AM