We have two sites on one IIS 7.5 server. Site B needs to talk to Site A through a SOAP service (Site B used to be external hence using SOAP, but now they are on the same server).
How can I reference Site A in Site B's web config without having a roundtrip through the absolute path http://ift.tt/1Dqg84B?
Essentially I want
<endpoint address="foolocalhost/webservice/endpoint.asmx"
binding="basicHttpBinding" bindingConfiguration="WebServiceSoap"
contract="Reference.WebServiceSoap" name="WebServiceSoap" />
Rather than
<endpoint address="http://ift.tt/1Dqg84B"
binding="basicHttpBinding" bindingConfiguration="WebServiceSoap"
contract="Reference.WebServiceSoap" name="WebServiceSoap" />
Would I need to change my host file to set foolocalhost up as a binding? Or is there an easier way around it using just the IIS GUI?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire