WCF wsdl wsdl:import location,soap:address location are having machine name?
.net, wcf, wsdl
Solution
I browsed net and got solution for my problem the following helped me a lot. Hope these will be help some other.
nRk For generating flat WSDL http://my-tech-talk.blogspot.com/2008/07/adding-flatwsdl-to-wcf-webservice.html http://weblogs.thinktecture.com/cweyer/2007/05/improving-wcf-interoperability-flattening-your-wsdl.html http://isinghblog.blogspot.com/2009/03/wcf-service-and-adobe-livecycle_10.html For chaning host name which will reflect in wsdl address http://forums.asp.net/p/1096811/1659596.aspx
Problem
Hi We developed web service using WCF service and hosted on Windows 2003 server machine with IIS 5.1. WCF hosted on basicHttpBinding. when try to access wsdl of service "*.svc?wsdl" it generating wrong wsdl, that wsdl cannot be used java and php clients. when I check the wsdl in ``` <wsdl:import namespace="xxxxx" location="http://machine name/xxx/xxx.svc?wsdl=wsdl0"/> <soap:address location="http://machine name/xcxx/xxx.svc" /> ``` How can i remove machine and replace it with my web site url? How can i generate full WSDL document like what ASMX web service will generate?