senzacionale
senzacionale

Reputation: 20916

web service endpoint wrong address

<services>
    <service name="WebServices.Service" behaviorConfiguration="WebServices.ServiceBehavior">
        <!-- Service Endpoints -->
        <endpoint address="http://ip/Service.svc" binding="wsHttpBinding" contract="WebServices.IService">
            <identity>
               <dns value="localhost" />
            </identity>
        </endpoint>
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
    </service>
</services>

but my endpoint is still

svcutil.exe http://server-iis/Service.svc?wsdl. How to change server-iis to my IP?

Upvotes: 0

Views: 242

Answers (1)

Renatas M.
Renatas M.

Reputation: 11820

Try solution suggested in here.

I'am not sure but I hope this suggestion helps you.

Upvotes: 1

Related Questions