Hello Duffman,
Welcome to the MSDN newsgroup.
From your description, you're using the SoapExtensionRe flector derived
class to customize the ASP.NET webservice's autogenerated WSDL document.
You've been able to change the soapbinding's service address from "http://"
to "https://", however, that didn't work for http protocol specific
bindings (GET or POST), correct?
Based on my research, behavior you met is due to the design of the
SoapExtensionxx x components, they're used to customize Soap protocol
specific service description elements. So in the SoapExtensionRe flector's
override methods, the "ServiceDescrip tion" instance we get doesn't contains
any non-SOAP protocol related elements (such as httpGET or httpPOST...). We
can verify this by flushout all the serviceDescript ion content in the
method:
=============== =============== ==============
public class HttpsReflector : SoapExtensionRe flector
{
public override void ReflectMethod()
{
StreamWriter sw = new StreamWriter("d :\\temp\\log_rm .txt",
false, Encoding.UTF8);
ServiceDescript ion description =
ReflectionConte xt.ServiceDescr iption;
sw.WriteLine("* *************** *************** **");
XmlTextWriter xtw = new XmlTextWriter(s w);
description.Wri te(xtw);
sw.Close();
}
=============== =============== ===
This makes the existing ServiceDescript ion extension components unable to
customize the "http" binding's WSDL elements.
BTW, as for httpGET or httpPOST, they're non-WSDL standard binding
protocols, just for simple test through webbrowser. And generally
client-side proxy generation tool (like the wsdl.exe in .net framework ...)
won't take care of it. Therefore, if you do not use this protocol in your
client-server application, we can hidden its service description through
the <protocols> setting , like:
<webServices>
<protocols >
<remove name="HttpGet"/>
</protocols>
In addition, another optional currently available is completely replace the
WSDL document page with our own custom page through the
"wsdlHelpGenera tor" element , like:
<system.web>
<webServices>
<wsdlHelpGenera tor href="docs/MyServiceHelpPa ge.aspx"/>
</webServices>
Thanks & Regards,
Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)