Hi
I am trying to use SoapExtensionReflector class to remove the output message
from the wsdl:operation element from my WSDL. I need the web service's wsdl
to have just this:
<wsdl:operation name="ASyncGetData">
<wsdl:input message="tns:ASyncGetDataSoapIn" />
</wsdl:operation>
not
<wsdl:operation name="ASyncGetData">
<wsdl:input message="tns:ASyncGetDataSoapIn" />
<wsdl:output message="tns:ASyncGetDataSoapOut" />
</wsdl:operation>
I was hoping to do somethis like:
ServiceDescription description = ReflectionContext.ServiceDescription;
description.PortTypes[0].Operations[0].Messages.RemoveAt(0);
but it throws an error.
Any help please?
John Saunders [MVP] - 08 Aug 2007 17:25 GMT
> Hi
>
[quoted text clipped - 21 lines]
> but it throws an error.
> Any help please?
I presume that you can't just define your method as void?

Signature
John Saunders [MVP]