Click here to Skip to main content
15,916,835 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there
Hello there
I am looking for a way to config the property of WSDL document output ?
The reason is I have deployed a WCF service to my iis server on port:84 and server got DOM name as http://myweb.co.uk
and I can access the service by calling http://myweb.co.uk/services which give an inter face and a link to open up the WSDL documentation.
The problem is when I click on the open WSDL document link the WSDL document
HTML
<wsdl:port name="IntegrationServiceSoap12" binding="tns:IntegrationServiceSoap12">
<soap12:address location="https://myweb.co.uk:84/Services/IntegrationService.asmx"/>
</wsdl:port>


But there is no
HTML
https://myweb.co.uk:84/Services/IntegrationService.asmx

valid url is present
What I wanted is address to location to be
HTML
<https://myweb.co.uk/Services/IntegrationService.asmx

What are the confi changes I should do to get his right
appreciate all your help
Posted
Comments
Kornfeld Eliyahu Peter 4-Feb-14 5:37am    
As you sate that WCF configured on port 84 the location "https://myweb.co.uk:84/Services/IntegrationService.asmx" is just right...
Why you should expect without the port number?
rushdy20 4-Feb-14 6:31am    
in the server only I have :84 the server name something like end-euws20.loc:84/services/intergrationService.asmx but it is not in the domain name myweb.co.uk:84 so for domain name I wanted to display as https://myweb.co.uk/services/intergrationservices.asmx
Kornfeld Eliyahu Peter 4-Feb-14 6:42am    
When there is no port assigned to the URL the default port used (80 or 443 or whatever defined as default on server). If you want to remove port from your address you must use the same default port for your WCF - so remove port declaration form WCF config...
rushdy20 4-Feb-14 7:06am    
sorry I have not got a port declaration on the wcf config but I have created a site in IIS which use the port:84 and I have deployed my service to that site. having a issue of using the default port as there are already the main web site is ruing in port :80 and the deployment team do not want to use the port 80 for any other sites.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900